{"id":6768,"date":"2026-09-04T18:49:16","date_gmt":"2026-09-04T10:49:16","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72095"},"modified":"2026-09-04T18:49:16","modified_gmt":"2026-09-04T10:49:16","slug":"cve-2026-72095","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72095","title":{"rendered":"CVE-2026-72095 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ndma-fence: Make dma_f"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>dma-fence: Make dma_fence_dedup_array() robust against 0-count input<\/p>\n<p>dma_fence_dedup_array() returns 1 when called with num_fences == 0:<br \/>\nthe for-loop body never executes, j stays at 0, and the final<br \/>\n`return ++j` yields 1. This contradicts both the kernel-doc (&#8220;Return:<br \/>\nNumber of unique fences remaining in the array&#8221;) and the natural<br \/>\nexpectation that 0 input gives 0 output.<\/p>\n<p>The caller __dma_fence_unwrap_merge() bails out via the<br \/>\n`if (count == 0 || count == 1)` fast path and so is save.<\/p>\n<p>But amdgpu_userq_wait_*() could reach the dedup call with a zero local<br \/>\ncount and dereference an uninitialized fence slot in the array.<\/p>\n<p>Make the contract match the documentation by returning 0 early. This<br \/>\nalso skips an unnecessary sort() call on an empty array.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>dma-fence: Make dma_fence_dedup_array() robust against 0-count input<\/p>\n<p>dma_fence_dedup_array() returns 1 when called with num_fences<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-6768","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6768","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=6768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}