CVE-2026-98126CWE-770denial-of-service

CVE-2026-98126

Medium · published September 25, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
5.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00168 · 5.8th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2026-09-25T15:17Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.1, < 6.6.1606.6.160
linux/linux_kernel≥ 6.7, < 6.12.1116.12.111
linux/linux_kernel≥ 6.13, < 6.18.536.18.53
linux/linux_kernel≥ 6.19, < 7.2.77.2.7
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 27 SEP 03:28Z
    EPSS moved — → 0%
    epss
  • 25 SEP 10:36Z
    smb/client: validate new EOF for zero range
    cvelistv5