{"id":29278,"date":"2026-09-25T20:32:19","date_gmt":"2026-09-25T12:32:19","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98124"},"modified":"2026-09-25T20:32:19","modified_gmt":"2026-09-25T12:32:19","slug":"cve-2026-98124","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98124","title":{"rendered":"CVE-2026-98124 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nsmb\/client: invalidat"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb\/client: invalidate fscache for fallocate range operations<\/p>\n<p>smb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and<br \/>\nsmb3_collapse_range() modify file contents through server-side range<br \/>\noperations. These operations discard the affected page cache, but leave<br \/>\nthe FS-Cache cookie valid, so a later read may return data cached before<br \/>\nthe range operation.<\/p>\n<p>Fix this by invalidating FS-Cache after outstanding I\/O has completed<br \/>\nand before modifying the file on the server.<\/p>\n<p>Run the following as root on a CIFS mount with fsc enabled and an active<br \/>\nCacheFiles backend:<\/p>\n<p>        bash -c &#8216;<br \/>\n                MNT=\/mnt\/cifs<br \/>\n                FILE=&#8221;$MNT\/repro&#8221;<\/p>\n<p>                # Generate four 1 MiB random blocks: [A][B][C][D].<br \/>\n                dd if=\/dev\/urandom of=\/tmp\/src bs=1M count=4 status=none<\/p>\n<p>                # Expected contents after zeroing B: [A][zero][C][D].<br \/>\n                cp \/tmp\/src \/tmp\/expected<br \/>\n                dd if=\/dev\/zero of=\/tmp\/expected bs=1M seek=1 count=1<br \/>\n                        conv=notrunc status=none<br \/>\n                cp \/tmp\/src &#8220;$FILE&#8221;<\/p>\n<p>                # Populate FS-Cache, then discard the page cache.<br \/>\n                sync<br \/>\n                echo 1 &gt; \/proc\/sys\/vm\/drop_caches<br \/>\n                cat &#8220;$FILE&#8221; &gt; \/dev\/null<br \/>\n                sync<br \/>\n                echo 1 &gt; \/proc\/sys\/vm\/drop_caches<\/p>\n<p>                fallocate &#8211;zero-range -o 1M -l 1M &#8220;$FILE&#8221;<\/p>\n<p>                if cmp -s \/tmp\/expected &#8220;$FILE&#8221;; then<br \/>\n                        echo &#8220;readback: OK&#8221;<br \/>\n                else<br \/>\n                        echo &#8220;readback: STALE DATA&#8221;<br \/>\n                fi<br \/>\n        &#8216;<\/p>\n<p>Before this change, the readback differs from \/tmp\/expected:<\/p>\n<p>        readback: STALE DATA<\/p>\n<p>After this change, it matches:<\/p>\n<p>        readback: OK<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb\/client: invalidate fscache for fallocate range operations<\/p>\n<p>smb3_zero_range(), smb3_punch_hole(), smb3_insert_range(), and<br \/>\nsmb3_<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29278","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29278","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=29278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}