{"id":33413,"date":"2026-10-06T20:31:57","date_gmt":"2026-10-06T12:31:57","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98344"},"modified":"2026-10-06T20:31:57","modified_gmt":"2026-10-06T12:31:57","slug":"cve-2026-98344","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98344","title":{"rendered":"CVE-2026-98344 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: Fix device"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>dmaengine: Fix device kref underflow in dma_chan_put()<\/p>\n<p>dma_chan_get() takes chan-&gt;device-&gt;ref only on the slow path:<\/p>\n<p>\t\/* no kref on fast path *\/<br \/>\n\tif (chan-&gt;client_count) {<br \/>\n\t\t__module_get(owner);<br \/>\n\t\tchan-&gt;client_count++;<br \/>\n\t\treturn 0;<br \/>\n\t}<br \/>\n\tif (!try_module_get(owner))<br \/>\n\t\treturn -ENODEV;<br \/>\n\tif (!dma_device_get(chan-&gt;device)) { \/\/ calls kref_get_unless_zero()<\/p>\n<p>dma_chan_put() drops the ref unconditionally, so every fast-path<br \/>\nget\/put pair drops one extra device reference.<\/p>\n<p>The bug fires when two conditions hold together: a non-private<br \/>\nprovider has a persistent client holding chan-&gt;client_count &gt; 0<br \/>\nand another client cycles dmaengine_get()\/dmaengine_put().<br \/>\nWhen the kref hits zero, the subsequent dma_find_channel() returns<br \/>\nNULL even though the provider module is still loaded.<\/p>\n<p>Fix this by dropping device-&gt;ref only on the last put, matching the<br \/>\nsingle slow-path get.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>dmaengine: Fix device kref underflow in dma_chan_put()<\/p>\n<p>dma_chan_get() takes chan-&gt;device-&gt;ref only on the slow path:<\/p>\n<p>\t\/* no kref <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33413","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}