{"id":33311,"date":"2026-10-06T20:31:44","date_gmt":"2026-10-06T12:31:44","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98242"},"modified":"2026-10-06T20:31:44","modified_gmt":"2026-10-06T12:31:44","slug":"cve-2026-98242","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98242","title":{"rendered":"CVE-2026-98242 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ndma-buf: Fix silent o"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>dma-buf: Fix silent overflow for phys vec to sgt<\/p>\n<p>In case MMIO size is bigger than 4G and peer2peer DMA goes<br \/>\nthrough host bridge, we trigger a code path that assigns the<br \/>\ntotal linked IOVA (which is greater than 4G) to mapped_len.<\/p>\n<p>Previously, `mapped_len` was declared as 32-bit `unsigned int`.<br \/>\nWhen accumulating `size_t` lengths, this leads to a silent wrap-around.<br \/>\nThis truncation causes truncated lengths to be passed to functions<br \/>\nlike `fill_sg_entry()`.<\/p>\n<p>Fix this by changing `mapped_len` to `size_t` (64-bit). While<br \/>\nat it, fix similar potential overflow issues in `calc_sg_nents`<br \/>\nby using `check_add_overflow()` for `nents` and using<br \/>\n`unsigned int` for the loop iterator in `fill_sg_entry` to match.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>dma-buf: Fix silent overflow for phys vec to sgt<\/p>\n<p>In case MMIO size is bigger than 4G and peer2peer DMA goes<br \/>\nthrough host bridge, w<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33311","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33311","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=33311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}