5.5
MEDIUM CVSS 3.1
CVE-2026-98126
smb/client: validate new EOF for zero range
Description

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.

INFO

Published Date :

Sept. 25, 2026, 11:17 a.m.

Last Modified :

Oct. 22, 2026, 4:02 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-98126 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Apply kernel updates to validate file size limits during zero-range fallocate operations.
  • Update the Linux kernel to the latest stable version.
  • Verify file size limits are enforced after updating.
  • Ensure applications do not bypass file size limits.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-98126 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-98126 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-98126 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Oct. 22, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-770
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.2.7 *cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.53 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.111 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.1 up to (excluding) 6.6.160
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/06a4f9049cb6dc319bceec2dc813ba89add8b828 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/3673f057b64abfa957e8ae84448db69369a5091a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/5fbd8848f2e25c8163896ec52863df2305a3bb63 Types: Patch
    Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/06a4f9049cb6dc319bceec2dc813ba89add8b828 Types: Permissions Required nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/06a4f9049cb6dc319bceec2dc813ba89add8b828 Types: Patch, Permissions Required
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/88972e35750792e717af287dc71f42a03b5cbce4 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f320ca20c273a26cd779bdb2b2e4b076a95c76f6 Types: Patch
    Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/3673f057b64abfa957e8ae84448db69369a5091a Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/3673f057b64abfa957e8ae84448db69369a5091a Types: Broken Link, Patch
    Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/88972e35750792e717af287dc71f42a03b5cbce4 Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/88972e35750792e717af287dc71f42a03b5cbce4 Types: Broken Link, Patch
    Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/f320ca20c273a26cd779bdb2b2e4b076a95c76f6 Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/f320ca20c273a26cd779bdb2b2e4b076a95c76f6 Types: Broken Link, Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 21, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98126.json">CVE-2026-98126</a>
    Added Reference https://git.kernel.org/stable/c/5fbd8848f2e25c8163896ec52863df2305a3bb63
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 19, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98126.json">CVE-2026-98126</a>
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 25, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98126.json">CVE-2026-98126</a>
    Added Reference https://git.kernel.org/stable/c/06a4f9049cb6dc319bceec2dc813ba89add8b828
    Added Reference https://git.kernel.org/stable/c/3673f057b64abfa957e8ae84448db69369a5091a
    Added Reference https://git.kernel.org/stable/c/88972e35750792e717af287dc71f42a03b5cbce4
    Added Reference https://git.kernel.org/stable/c/f320ca20c273a26cd779bdb2b2e4b076a95c76f6
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.