{"id":5352,"date":"2026-09-04T18:47:46","date_gmt":"2026-09-04T10:47:46","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68145"},"modified":"2026-09-04T18:47:46","modified_gmt":"2026-09-04T10:47:46","slug":"cve-2026-68145","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68145","title":{"rendered":"CVE-2026-68145 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\niomap: fix out-of-bou"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iomap: fix out-of-bounds bitmap_set() with zero-length range<\/p>\n<p>ifs_set_range_dirty() and ifs_set_range_uptodate() compute last_blk<br \/>\nas (off + len &#8211; 1) &gt;&gt; i_blkbits.  When off is 0 and len is 0, the<br \/>\nunsigned subtraction underflows to SIZE_MAX, producing a huge<br \/>\nlast_blk and nr_blks value that causes bitmap_set() to write far<br \/>\nbeyond the ifs-&gt;state allocation.<\/p>\n<p>Regarding ifs_set_range_uptodate(), it is temporarily safe because len<br \/>\ncannot be passed in as 0. However, for ifs_set_range_dirty() this is<br \/>\nreachable from __iomap_write_end(): when copy_folio_from_iter_atomic()<br \/>\nreturns 0 (e.g. user buffer fault) and the folio is already uptodate,<br \/>\nthe guard at the top of __iomap_write_end() does not trigger because<br \/>\n!folio_test_uptodate() is false, and iomap_set_range_dirty() is called<br \/>\nwith copied == 0.<\/p>\n<p>Add a !len guard to both functions before the computation, so that a<br \/>\nzero-length range is a no-op.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iomap: fix out-of-bounds bitmap_set() with zero-length range<\/p>\n<p>ifs_set_range_dirty() and ifs_set_range_uptodate() compute last_blk<br \/>\na<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-5352","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/5352","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=5352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}