VDB

CVE-2026-98126

CVE-2026-98126 PUBLISHED

smb/client: validate new EOF for zero range

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: smb/client: validate new EOF for zero range When FALLOC_FL_ZERO_RANGE is used without FALLOC_FL_KEEP_SIZE, smb3_zero_range() may extend EOF without checking RLIMIT_FSIZE, allowing the file to grow beyond the caller's file-size limit. Fix this by calling inode_newsize_ok() before sending the zero-range request when the operation would extend EOF. Reproducer, using a file on a CIFS mount: bash -c ' FILE=/mnt/cifs/repro trap "" SIGXFSZ ulimit -f 3072 truncate -s 2M "$FILE" fallocate --zero-range -o 0 -l 4M "$FILE" echo "fallocate rc=$?" stat -c "file size=%s" "$FILE" ' Before this change, the operation succeeds despite the 3 MiB limit: fallocate rc=0 file size=4194304 After this change, fallocate fails and leaves the file at 2 MiB.

EPSS 0.12% · 2.0th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-headersAmazon Linux1:6.18.54-121.166.amzn2023

Risk scores

EPSS Score
0.12%
2.0th percentile

Affected products

VendorProductVersions
LinuxLinux72c419d9b073628d3b5b0b2fc787b724f1a8c726, 72c419d9b073628d3b5b0b2fc787b724f1a8c726, 72c419d9b073628d3b5b0b2fc787b724f1a8c726
LinuxLinux5.1, 0, 6.6.160
amazon:2023python3-perf6.180
amazon:2023kernel6.18-headers0
linuxlinux_kernel5.1, 5.1, 5.1
amazon:2023kernel6.18-modules-extra0
amazon:2023microvm-kernel6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel6.12-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.180
amazon:2023perf6.120
amazon:2023bpftool6.180
amazon:2023kernel6.12-headers0

…and 7 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (6 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98126
vulnetix vdb fixes CVE-2026-98126

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98126/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›