{"id":21562,"date":"2026-09-12T04:31:21","date_gmt":"2026-09-11T20:31:21","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89640"},"modified":"2026-09-12T04:31:21","modified_gmt":"2026-09-11T20:31:21","slug":"cve-2026-89640","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89640","title":{"rendered":"CVE-2026-89640 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: fix loff_t unde"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>cifs: fix loff_t underflow in cifs_remap_file_range() when len == 0<\/p>\n<p>With len == 0 (clone to EOF), the effective length is computed as:<\/p>\n<p>    len = src_inode-&gt;i_size &#8211; off;<\/p>\n<p>If off &gt; i_size, this is a negative loff_t, corrupting the ByteCount<br \/>\nin the FSCTL_DUPLICATE_EXTENTS_TO_FILE request and inverting the range<br \/>\nin filemap_write_and_wait_range().  The existing off &gt;= i_size check<br \/>\nfires only after the ioctl has already been sent.<\/p>\n<p>Snapshot i_size_read() once for both the bounds check and the length<br \/>\ncalculation, eliminating the TOCTOU and 32-bit torn-read risk.  Reject<br \/>\noff &gt; src_size with -EINVAL.  Treat off == src_size as a no-op,<br \/>\nconsistent with __generic_remap_file_range_prep().<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>cifs: fix loff_t underflow in cifs_remap_file_range() when len == 0<\/p>\n<p>With len == 0 (clone to EOF), the effective length is computed<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21562","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21562","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=21562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}