Skip to main content

Linux Kernel CVE-2026-98127

| EUVDEUVD-2026-86958 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-09-25 Linux GHSA-5w48-8xg9-2grf
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local access to host with CIFS mount
  2. Exploit
    Call fallocate insert range on mounted file
  3. Execution
    Unchecked EOF bypasses RLIMIT_FSIZE/s_maxbytes
  4. Impact
    Invalid oversized file state, availability impact

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires: (1) a mounted CIFS/SMB share using the in-kernel cifs client, and (2) a local user with write access to a file on that mount able to call fallocate(2) with FALLOC_FL_INSERT_RANGE. Limiting factors: exploitation is local only (AV:L) and needs an existing low-privileged local account (PR:L, per the CVSS vector - authenticated local user), with no remote vector and no network-facing trigger. The flaw is only reachable where CIFS mounts are actually used and insert-range fallocate is permitted; impact is bounded to availability/invalid file state (C:N/I:N), not code execution. No special non-default configuration beyond the presence of a writable CIFS mount is described.

Impact

This is a genuinely moderate-severity, low-urgency issue, and the signals are internally consistent rather than conflicting. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5) describes a local, low-complexity flaw requiring an existing low-privileged local account, with impact limited to availability (no confidentiality or integrity loss). EPSS is very low at 0.18% (6th percentile), and the vulnerability is NOT in CISA KEV, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today decision label is 'this_month' - a routine patch cadence, not act_now/emergency. The classification CWE-190 (integer overflow) matches the description: smb3_insert_range() fails to validate the new EOF (i_size + len), letting FALLOC_FL_INSERT_RANGE bypass RLIMIT_FSIZE, exceed s_maxbytes, or produce a size outside the loff_t range. Net: a legitimate correctness/robustness fix worth applying in the normal cycle, not a priority emergency. One caveat: the 'Buffer Overflow' tag is inconsistent with the actual mechanism (an unchecked size/overflow on file EOF, not a memory buffer overrun) - see data_quality_flags.

Exploit ScenarioDerived

A local, low-privileged user on a host with a mounted CIFS/SMB share invokes fallocate with FALLOC_FL_INSERT_RANGE (fallocate -i) on a file on that mount. Because the new EOF is not validated, the operation grows the file past RLIMIT_FSIZE, past the filesystem's s_maxbytes, or to a size outside loff_t, bypassing limits that a normal write would enforce. No public exploit code is identified; the description includes a vendor reproducer script demonstrating the limit bypass, but it is a proof of the bug, not a weaponized exploit, and impact is confined to availability/file-state integrity.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 22, 2026

The in-kernel CIFS/SMB client in the Linux kernel fails to validate the resulting file size when a local user invokes fallocate(2) with FALLOC_FL_INSERT_RANGE on a file residing on a mounted SMB share, allowing the insert to grow the file past RLIMIT_FSIZE, past s_maxbytes, or outside the loff_t range. The result is a file whose size violates the limits the kernel enforces for ordinary writes, producing an inconsistent on-disk/in-core state that can be leveraged for denial of service; there is no confidentiality or integrity impact (C:N/I:N/A:H) and the vector is strictly local (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/A:H). Exploitation requires an authenticated local user with write access to a file on a CIFS mount and the ability to issue insert-range fallocate, and no public exploit has been identified at time of analysis; EPSS is 0.18% (6th percentile) and the vulnerability is not in CISA KEV. Vendor-released patches exist in 6.12.111, 6.18.53, 7.2.7 and 7.3-rc2, and the priority signal is this_month.

RemediationAI

Vendor-released patch: update to Linux 6.12.111, 6.18.53, 7.2.7 or 7.3-rc2 (or later) respectively for the affected stable branches, which incorporate commits 7c2c69045aa76ccaa7f16f1478eb312130ce4951, bc7602b9082ef195d913c4c16fa9853dd262333e, f8cbfe3a3fcee7d991fd223f660f3e5df13221cf and 1519dc88c87f5346dae0464d7d6da1b6bf1f6e8e (the corrected code adds check_add_overflow() and inode_newsize_ok() validation in smb3_insert_range()); the patch references are at https://git.kernel.org/stable/c/7c2c69045aa76ccaa7f16f1478eb312130ce4951, https://git.kernel.org/stable/c/bc7602b9082ef195d913c4c16fa9853dd262333e, https://git.kernel.org/stable/c/f8cbfe3a3fcee7d991fd223f660f3e5df13221cf, https://git.kernel.org/stable/c/1519dc88c87f5346dae0464d7d6da1b6bf1f6e8e and https://git.kernel.org/stable/c/b7f2e33d9f5db7b8e6e5e0a5a93d0c5e31870356, and the NVD entry is at https://nvd.nist.gov/vuln/detail/CVE-2026-98127. The supplied sources do not describe a configuration-level workaround, so applying the kernel update is the complete fix; where patching must be staged, exposure is limited to hosts that actually mount SMB/CIFS shares and to local accounts that can issue insert-range fallocate on files there, and reducing that local write access narrows the reachable surface without removing the underlying defect.

Affected VersionsENISA

Linux patch: 7.2.7
Linux 5.13
Linux patch: 0
Linux patch: 7.3-rc2
Linux patch: 6.12.111
Linux 7fe6fe95b936084dce6eedcc2cccadf96eafae73 <7c2c69045aa76ccaa7f16f1478eb312130ce4951
Linux patch: 6.18.53
Linux 7fe6fe95b936084dce6eedcc2cccadf96eafae73 <1519dc88c87f5346dae0464d7d6da1b6bf1f6e8e
Linux 7fe6fe95b936084dce6eedcc2cccadf96eafae73 <f8cbfe3a3fcee7d991fd223f660f3e5df13221cf
Linux 7fe6fe95b936084dce6eedcc2cccadf96eafae73 <bc7602b9082ef195d913c4c16fa9853dd262333e

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is an integer-overflow class defect (CWE-190) in smb3_insert_range(), the SMB/CIFS client implementation of the FALLOC_FL_INSERT_RANGE operation. The handler computed the prospective end-of-file as i_size + len without checking whether that addition could wrap, so the new size was never validated against RLIMIT_FSIZE, the filesystem's s_maxbytes ceiling, or the signed loff_t range before the file was modified. The upstream fix replaces the unchecked arithmetic with check_add_overflow() and then routes the candidate size through inode_newsize_ok() before any change is committed, so a failing insert leaves the file untouched - matching the reproducer in the advisory, where an insert of 2 MiB into a 2 MiB file under a 3 MiB RLIMIT_FSIZE previously produced a 4 MiB file and now fails with EFBIG at 2 MiB. The defect is reachable only through the in-kernel cifs client on a mounted SMB share with a writable file; the trigger requires a local process calling fallocate(2) with FALLOC_FL_INSERT_RANGE, and the sources do not describe any remote or network-facing trigger path. Because the impact is confined to file-size bookkeeping and limit enforcement, the assessed consequence is availability only (C:N/I:N/A:H).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local user on a CIFS mount (AV:L, PR:L) triggers an unchecked size via a simple fallocate call (AC:L, UI:N); impact is availability/invalid file state only, so C:N/I:N/A:H, scope unchanged.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 LOW

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Oct 22, 2026 - 16:07 NVD
5.5 (MEDIUM)
Patch available
Sep 25, 2026 - 12:02 EUVD
CVE Published
Sep 25, 2026 - 10:36 nvd
MEDIUM 5.5
CVE Published
Sep 25, 2026 - 10:36 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

smb/client: validate new EOF for insert range

smb3_insert_range() does not check if the new file size (i_size + len) is valid. This allows FALLOC_FL_INSERT_RANGE to bypass RLIMIT_FSIZE, exceed s_maxbytes, or produce a size outside the loff_t range.

Use check_add_overflow() to calculate the new EOF. Validate it with inode_newsize_ok() before modifying the file.

Reproducer, using a file on a CIFS mount:

bash -c ' FILE=/mnt/cifs/repro

trap "" SIGXFSZ ulimit -f 3072

RLIMIT_FSIZE = 3 MiB

A regular write is stopped at 3 MiB.

dd if=/dev/zero of="$FILE" bs=1M count=4 status=none stat -c "size after write: %s" "$FILE"

Insert 2 MiB into a 2 MiB file.

truncate -s 2M "$FILE" fallocate -i -o 0 -l 2M "$FILE" stat -c "size after insert: %s" "$FILE" '

Before this change, the regular write stops at the 3 MiB limit, but insert range grows the file to 4 MiB:

dd: error writing '/mnt/cifs/repro': File too large size after write: 3145728 size after insert: 4194304

After this change, insert range also fails at the limit and leaves the 2 MiB file unchanged:

dd: error writing '/mnt/cifs/repro': File too large size after write: 3145728 fallocate: fallocate failed: File too large size after insert: 2097152

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel runs almost everywhere; CIFS/SMB client module widely available
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy