{"id":25505,"date":"2026-09-18T04:31:29","date_gmt":"2026-09-17T20:31:29","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90096"},"modified":"2026-09-18T04:31:29","modified_gmt":"2026-09-17T20:31:29","slug":"cve-2026-90096","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90096","title":{"rendered":"CVE-2026-90096 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: invalidate the"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fuse: invalidate the correct range after O_APPEND direct write<\/p>\n<p>fuse_direct_write_iter() captures pos before generic_write_checks(),<br \/>\nwhich moves ki_pos to EOF for O_APPEND writes:<\/p>\n<p>  fuse_direct_write_iter()<br \/>\n  {<br \/>\n      pos = iocb-&gt;ki_pos;           \/* 0 (user-supplied)       *\/<br \/>\n      generic_write_checks();       \/* ki_pos -&gt; EOF           *\/<br \/>\n      fuse_direct_io();             \/* writes at EOF, correct  *\/<br \/>\n      invalidate(pos, pos + res);   \/* [0, res) &#8212; wrong       *\/<br \/>\n  }<\/p>\n<p>The post-write invalidation targets a stale range instead of the<br \/>\nactual written range at EOF.<\/p>\n<p>This can cause data inconsistency when the file size is not<br \/>\npage-aligned.  The tail page straddling EOF has a valid portion<br \/>\nbefore EOF that concurrent readers can fault back in during the<br \/>\nDIO write window:<\/p>\n<p>  Tail page (file size X not page-aligned):<\/p>\n<p>    page_start         X (EOF)   page_end<br \/>\n    |&#8212; valid data &#8212;-|&#8211; stale &#8211;|<\/p>\n<p>  CPU0 (O_APPEND DIO writer)    CPU1 (buffered reader)<br \/>\n  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n  invalidate [X, X+len)<br \/>\n    tail page evicted<br \/>\n  FUSE_WRITE in flight &#8230;<br \/>\n                                read [page_start, X)<br \/>\n                                  tail page re-faulted<br \/>\n                                  [X, page_end) = stale<br \/>\n  FUSE_WRITE completes<br \/>\n  i_size = X + len<br \/>\n  invalidate [0, len)  ki_pos after generic_write_checks(),<br \/>\nas generic_file_direct_write() does.<\/p>\n<p>Also fix a typo in the comment (&#8220;may have&#8221; -&gt; &#8220;may have competed&#8221;).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fuse: invalidate the correct range after O_APPEND direct write<\/p>\n<p>fuse_direct_write_iter() captures pos before generic_write_checks()<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-25505","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/25505","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=25505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}