{"id":7005,"date":"2026-09-04T18:49:23","date_gmt":"2026-09-04T10:49:23","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72367"},"modified":"2026-09-04T18:49:23","modified_gmt":"2026-09-04T10:49:23","slug":"cve-2026-72367","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72367","title":{"rendered":"CVE-2026-72367 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\niomap: guard io_size"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iomap: guard io_size EOF trim against concurrent truncate underflow<\/p>\n<p>iomap: fix zero padding data issue in concurrent append writes<br \/>\nchanged ioend accounting so that io_size tracks only valid data<br \/>\nwithin EOF.  This trims io_size when a writeback range extends<br \/>\npast end_pos:<\/p>\n<p>    ioend-&gt;io_size += map_len;<br \/>\n    if (ioend-&gt;io_offset + ioend-&gt;io_size &gt; end_pos)<br \/>\n        ioend-&gt;io_size = end_pos &#8211; ioend-&gt;io_offset;<\/p>\n<p>However, if end_pos ends up below ioend-&gt;io_offset, the subtraction<br \/>\nbecomes negative and is stored in size_t io_size, causing an unsigned<br \/>\nwrap to a huge value.  This can happen when writeback continues past<br \/>\nbyte-level EOF up to a block-aligned range, or when a concurrent<br \/>\ntruncate shrinks the file after end_pos was sampled in<br \/>\niomap_writeback_handle_eof().<\/p>\n<p>A wrapped io_size can mislead append detection and corrupt<br \/>\ncompletion-time size handling, since filesystem end_io paths consume<br \/>\nio_size for decisions such as on-disk EOF updates and unwritten\/COW<br \/>\ncompletion ranges.<\/p>\n<p>Fix this by clamping io_size to zero when EOF has moved to or before<br \/>\nthe ioend start offset.  This preserves the original intent of trimming<br \/>\nio_size to valid in-EOF data while avoiding the underflow.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iomap: guard io_size EOF trim against concurrent truncate underflow<\/p>\n<p>iomap: fix zero padding data issue in concurrent append writes<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-7005","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/7005","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=7005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}