{"id":29280,"date":"2026-09-25T20:32:19","date_gmt":"2026-09-25T12:32:19","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98126"},"modified":"2026-09-25T20:32:19","modified_gmt":"2026-09-25T12:32:19","slug":"cve-2026-98126","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98126","title":{"rendered":"CVE-2026-98126 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nsmb\/client: validate"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb\/client: validate new EOF for zero range<\/p>\n<p>When FALLOC_FL_ZERO_RANGE is used without FALLOC_FL_KEEP_SIZE,<br \/>\nsmb3_zero_range() may extend EOF without checking RLIMIT_FSIZE, allowing<br \/>\nthe file to grow beyond the caller&#8217;s file-size limit.<\/p>\n<p>Fix this by calling inode_newsize_ok() before sending the zero-range<br \/>\nrequest when the operation would extend EOF.<\/p>\n<p>Reproducer, using a file on a CIFS mount:<\/p>\n<p>\tbash -c &#8216;<br \/>\n\t        FILE=\/mnt\/cifs\/repro<\/p>\n<p>\t        trap &#8220;&#8221; SIGXFSZ<br \/>\n\t        ulimit -f 3072<\/p>\n<p>\t        truncate -s 2M &#8220;$FILE&#8221;<br \/>\n\t        fallocate &#8211;zero-range -o 0 -l 4M &#8220;$FILE&#8221;<br \/>\n\t        echo &#8220;fallocate rc=$?&#8221;<br \/>\n\t        stat -c &#8220;file size=%s&#8221; &#8220;$FILE&#8221;<br \/>\n\t&#8216;<\/p>\n<p>Before this change, the operation succeeds despite the 3 MiB limit:<\/p>\n<p>\tfallocate rc=0<br \/>\n\tfile size=4194304<\/p>\n<p>After this change, fallocate fails and leaves the file at 2 MiB.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb\/client: validate new EOF for zero range<\/p>\n<p>When FALLOC_FL_ZERO_RANGE is used without FALLOC_FL_KEEP_SIZE,<br \/>\nsmb3_zero_range() may e<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29280","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29280","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=29280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}