☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Linux Kernel logo [ WEBSITE ] [ VENDOR STATS ]
SOON 🐛 CWE-20
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2026-98127

CVE-2026-98127 Vulnerability in Linux
📅 PUBLISHED: 2026-09-25 00:00 UTC 🔄 UPDATED: 2026-10-03 04:52 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: LIKELY — 2 independent sources confirm fix ⏳ CVSS score pending NVD analysis
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.18%
👁️
0.18% probability
4.4× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1222
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Global License: Open Source
Patch available — upgrade to latest release
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-98127 is an improper input validation flaw in the Linux kernel SMB/CIFS client function smb3_insert_range(). The function fails to validate the resulting file size when handling the FALLOC_FL_INSERT_RANGE operation, allowing the operation to bypass RLIMIT_FSIZE limits, exceed s_maxbytes, or produce a file size outside the valid loff_t range. Systems that mount remote CIFS/SMB shares and permit unprivileged local users to invoke fallocate insert-range operations against files on those mounts are affected; impact is integrity and availability degradation via resourcesize-limit bypass, not code execution or data confidentiality loss.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Technical Analysis

The vulnerability resides in the Linux kernel SMB client's handling of the FALLOC_FL_INSERT_RANGE fallocate operation, implemented in the smb3_insert_range() function. When a process invokes fallocate with the insert-range flag against a file residing on a CIFS/SMB mount, the kernel computes the new end-of-file (EOF) as the sum of the current inode size (i_size) and the requested insertion length (len).

The defect is that smb3_insert_range() does not validate this newly calculated EOF before committing the size change. Three distinct boundary conditions are left unchecked:

  1. RLIMIT_FSIZE bypass — The per-process file-size resource limit is not enforced for this code path. A regular write operation stops at the limit, but an insert-range operation can grow the file beyond it.
  2. s_maxbytes overflow — The filesystem-level maximum file size is not respected, permitting a file larger than the backing store supports.
  3. loff_t range violation — The arithmetic i_size + len can overflow the signed 64-bit loff_t type, producing a size value outside the representable range.

The upstream resolution changes the computation to use check_add_overflow() to detect integer wraparound during the EOF calculation, then validates the resulting size with inode_newsize_ok() before the file is modified. If validation fails, the operation is rejected and the original file is left unchanged.

The supplied reproducer demonstrates the RLIMIT_FSIZE bypass concretely. With RLIMIT_FSIZE set to 3 MiB (via ulimit -f 3072) and SIGXFSZ trapped, a normal dd write is correctly stopped at 3145728 bytes. However, inserting 2 MiB into a 2 MiB file grows it to 4194304 bytes (4 MiB), exceeding the limit. After the fix, the same insert range fails with "File too large" and the file remains at 2097152 bytes.

The attack surface is the SMB/CIFS client filesystem interface. Any local process with write access to a file on a CIFS mount can issue the FALLOC_FL_INSERT_RANGE operation through the fallocate syscall. The flaw is a client-side kernel validation gap; the remote SMB server is not the enforcement point for the local resource limit.

Exploitation Scenarios

No public proof-of-concept exploit code is available. The attack chain is inferred from the vulnerability class (improper input validation / resource-limit bypass) and the behavior documented in the NVD description.

  1. Reconnaissance / target identification — An attacker obtains a foothold as an unprivileged local user on a Linux host that has one or more CIFS/SMB shares mounted (e.g., entries under a mount point such as /mnt/cifs). The attacker identifies a file or directory on the CIFS mount to which their user account has write access.

  2. Triggering the specific flaw class — The attacker invokes the fallocate utility (or the corresponding fallocate(2) syscall) with the insert-range option against a file on the CIFS mount. The NVD description provides a concrete form of this action: fallocate -i -o 0 -l 2M "$FILE". Because smb3_insert_range() does not validate the new EOF, the size modification proceeds even when it violates RLIMIT_FSIZE, s_maxbytes, or the loff_t range.

  3. Payload / execution method at the vulnerability-class level — The flaw is a local resource-limit enforcement bypass rather than a memory-corruption or code-execution primitive. The "payload" is the crafted fallocate insert-range request with a length chosen to push i_size + len past the enforcement boundary the attacker wishes to circumvent (the RLIMIT_FSIZE value, the filesystem s_maxbytes, or the loff_t boundary).

  4. Post-exploitation impact — By bypassing RLIMIT_FSIZE, a process constrained by a file-size quota can write more data to the CIFS mount than policy permits, potentially consuming server-side storage, defeating capacity controls, or interfering with other workloads sharing the share. Exceeding s_maxbytes or wrapping the loff_t calculation may produce inconsistent size metadata that could affect subsequent file operations on the mount. The demonstrated outcome is an integrity/size-accounting violation on the affected file.

The NVD description does not document privilege escalation, remote code execution, or data exfiltration resulting from this issue, and no such claims should be inferred.

Impact Assessment

This is a local, low-complexity validation defect with a narrow impact profile. Under CVSS v3.1 the vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L reflects that exploitation requires local access (AV:L) with low privileges (PR:L), needs no user interaction, and affects only the same security scope.

  • Confidentiality: None — The flaw does not expose file contents or credentials.
  • Integrity: None to Low — The file-size accounting on the affected mount can be driven out of policy, though the demonstrated effect is a size/limit bypass rather than arbitrary content tampering.
  • Availability: Low — Unchecked growth can consume storage on the CIFS server and violate s_maxbytes/loff_t invariants, potentially causing unpredictable behavior for other consumers of the mount.

Blast radius: Limited to Linux hosts with mounted CIFS/SMB shares where untrusted or resource-limited local users can execute fallocate insert-range operations. Multi-tenant or shared-storage environments using CIFS mounts with per-user RLIMIT_FSIZE policies face the highest exposure, since the limit is the control being bypassed. There is no evidence of wormable, remote, or unauthenticated exploitation. No CVSS base score was assigned by the source; the vector above is a reasoned estimate from the described behavior and should not be treated as an authoritative score.

Detection Guidance

Sigma Rule

title: Potential CVE-2026-98127 CIFS Insert-Range RLIMIT_FSIZE Bypass
id: 7f3a1c9e-2b4d-4e8a-9c1f-0a6d5e2b7c31
status: experimental
description: Detects execution of fallocate with insert-range flag against files on CIFS/SMB mount points, which may indicate abuse of the unvalidated EOF in smb3_insert_range (CVE-2026-98127).
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-98127
author: valtersit.com
date: 2026/01/01
logsource:
  category: process_creation
  product: linux
detection:
  selection_tool:
    Image|endswith:
      - '/fallocate'
  selection_insert:
    CommandLine|contains:
      - ' -i'
      - '--insert-range'
  selection_cifs:
    CommandLine|contains:
      - '/mnt/cifs'
      - '/mnt/smb'
      - 'cifs'
  condition: selection_tool and selection_insert
fields:
  - CommandLine
  - User
  - ParentImage
falsepositives:
  - Legitimate administration scripting insert-range operations on CIFS mounts
level: medium
tags:
  - attack.t1222
  - cve.2026.98127

YARA Rule

rule CVE_2026_98127_CIFS_Insert_Range_Limit_Bypass
{
    meta:
        description = "Detects references to the CIFS insert-range limit bypass (smb3_insert_range / FALLOC_FL_INSERT_RANGE) in scripts, binaries, or logs"
        author = "valtersit.com"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2026-98127"
        date = "2026-01-01"

    strings:
        $s1 = "fallocate -i" ascii wide nocase
        $s2 = "FALLOC_FL_INSERT_RANGE" ascii wide
        $s3 = "smb3_insert_range" ascii wide
        $s4 = "inode_newsize_ok" ascii wide
        $s5 = "check_add_overflow" ascii wide

    condition:
        uint32(0) == 0x464C457F or any of ($s1, $s2, $s3, $s4, $s5)
}

Suricata IDS Rule

alert smb any any -> any 445 (msg:"CVE-2026-98127 Possible SMB/CIFS Large Insert-Range Size Manipulation"; flow:to_server,established; dce_iface:; content:"|FF|SMB"; depth:8; classtype:attempted-admin; reference:cve,2026-98127; reference:url,nvd.nist.gov/vuln/detail/CVE-2026-98127; sid:202698127; rev:1; metadata:created_at 2026_01_01, updated_at 2026_01_01, affected_product Linux_Kernel_SMB_Client, tags CVE_2026_98127;)

Elastic Detection

process where event.type == "start" and
  process.name in ("fallocate", "dd", "truncate") and
  process.args : ("-i", "--insert-range") and
  process.args : ("/mnt/cifs*", "/mnt/smb*")

Splunk SPL Query

index=linux sourcetype=linux_audit OR sourcetype=syslog
("FALLOC_FL_INSERT_RANGE" OR "smb3_insert_range" OR "fallocate -i")
| stats count min(_time) as first_seen max(_time) as last_seen
        values(host) as hosts values(user) as users by command, process
| where count > 0
| convert ctime(first_seen) ctime(last_seen)

Wazuh OSSEC Rule

<group name="linux,cifs,vulnerability,">
  <rule id="100981" level="10">
    <if_sid>80700</if_sid>
    <decoded_as>auditd</decoded_as>
    <field name="audit.key">fallocate_insert_range</field>
    <description>CVE-2026-98127: possible fallocate insert-range on CIFS mount attempting RLIMIT_FSIZE bypass</description>
    <mitre>
      <id>T1222</id>
    </mitre>
    <group>cve_2026_98127,</group>
  </rule>
</group>

Mitigation & Patch Guidance

Patch confidence: 0/4 (UNPATCHED — no patch evidence from any tracked source). No vendor-fixed version, workaround, or backport reference is currently available in the tracked data.

  1. Immediate mitigations

    • Restrict write access to files on CIFS/SMB mounts to trusted local users and groups; the flaw requires local write permission plus the ability to invoke fallocate with insert-range.
    • Apply supplementary filesystem quotas on the SMB server side so that client-side RLIMIT_FSIZE bypass does not translate into unbounded server storage consumption.
    • Where operationally feasible, monitor for fallocate -i invocation against CIFS mount points (see Detection Guidance) and investigate unexpected file-size growth beyond configured limits.
    • Consider restricting use of the FALLOC_FL_INSERT_RANGE operation on CIFS mounts via policy or application allow-listing until an upstream fix is available.
  2. Patch / upgrade steps

    • No patch reference is currently available. When the upstream Linux kernel fix is published, it will use check_add_overflow() to compute the new EOF and validate it with inode_newsize_ok() before modifying the file. Track the Linux kernel stable and longterm release channels and the upstream SMB client subsystem commits for the fix.
    • Once a fixed kernel is released, schedule upgrades for hosts mounting CIFS/SMB shares, prioritizing multi-tenant and shared-storage environments.
  3. Long-term hardening

    • Keep kernel SMB/CIFS client code current and subscribe to kernel security advisories.
    • Enforce least-privilege on CIFS mounts and avoid granting broad write permissions to untrusted local users.
    • Combine server-side quotas with client-side monitoring so that resource-limit enforcement does not depend solely on a single unvalidated code path.
    • Validate that RLIMIT_FSIZE and filesystem size limits are independently enforced for all fallocate operation modes on remote filesystems during security regression testing.

References

No public proof-of-concept exploit code, exploit-in-the-wild telemetry, or threat actor campaign is associated with CVE-2026-98127 in the provided data. CISA KEV status: not listed.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

port:445
port:139
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-98127/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.