{"id":28609,"date":"2026-09-25T04:31:28","date_gmt":"2026-09-24T20:31:28","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-93794"},"modified":"2026-09-25T04:31:28","modified_gmt":"2026-09-24T20:31:28","slug":"cve-2026-93794","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-93794","title":{"rendered":"CVE-2026-93794 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nsmb\/client: flush dir"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb\/client: flush dirty data before punching a hole<\/p>\n<p>Punching a hole after a large buffered write may leave the range<br \/>\nreported as data. Reproduce it with:<\/p>\n<p>  xfs_io -f<br \/>\n    -c &#8220;pwrite -b 3m -S 0x61 0 3m&#8221;<br \/>\n    -c &#8220;fpunch 1m 1m&#8221;<br \/>\n    -c &#8220;seek -h 0&#8221;<br \/>\n    -c &#8220;seek -d 1m&#8221;<br \/>\n    \/mnt\/test\/repro<\/p>\n<p>Punching 1 MiB at offset 1 MiB should produce:<\/p>\n<p>  0          1 MiB       2 MiB       3 MiB<br \/>\n  |  DATA    |   HOLE    |   DATA    | EOF<\/p>\n<p>Instead, the entire file is reported as data. SEEK_HOLE(0) returns EOF,<br \/>\nand SEEK_DATA(1M) returns 1M.<\/p>\n<p>This happens because a dirty folio spanning the punched range can be<br \/>\nwritten back after the punch and refill the hole.<\/p>\n<p>Fix this by flushing and waiting for dirty data in the punched range<br \/>\nbefore invalidating the page cache and issuing FSCTL_SET_ZERO_DATA.<\/p>\n<p>The xfstests generic\/539 pass against Samba\/ksmbd with this change.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb\/client: flush dirty data before punching a hole<\/p>\n<p>Punching a hole after a large buffered write may leave the range<br \/>\nreported as d<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-28609","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/28609","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=28609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}