Skip to main content

Linux Kernel CVE-2025-40210

HIGH
2025-11-21 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.5
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed NFSv4 server
  2. Delivery
    Craft COMPOUND with huge op count
  3. Exploit
    NFSD attempts oversized vmalloc
  4. Execution
    Allocation fails, service disrupted
  5. Impact
    Denial of service on NFS

Vulnerability Assessment

Exploitation Conditions

Requires the target to run the in-kernel NFSD server with NFSv4 enabled and reachable by the attacker (TCP port 2049); the trigger is a single NFSv4 COMPOUND request carrying an oversized operation count in its header. The vulnerable code exists only in kernels that include commit 48aab1606fa8 (which removed the operation cap), so kernels without that commit or already patched to restore the limit are not affected. Limiting factors: the attacker needs network access to the NFS service, the host must actually export NFSv4, and impact is availability-only (no code execution, data disclosure, or integrity loss). Per the CVSS vector no authentication is required (PR:N) and no user interaction is needed (UI:N).

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, score 7.5) reflects a pure availability impact reachable remotely with low complexity and no privileges - consistent with the description of an unauthenticated COMPOUND header triggering a failed giant allocation. However, real-world urgency signals are muted: EPSS is 0.03% (10th percentile), there is no KEV listing, and no public PoC is referenced. There is a data conflict to flag: the input Tags list 'Information Disclosure,' but the CVSS vector and description indicate a denial-of-service / availability issue (C:N/I:N/A:H) with no confidentiality impact - the tag appears mislabeled and should not drive triage. Exploitability is also gated by exposure: only hosts running NFSD with NFSv4 reachable by the attacker are affected, so this is a service-availability concern for NFS servers rather than a broad critical priority. Overall a legitimate but lower-urgency patch-in-normal-cycle item, higher priority only where NFS servers face untrusted networks.

Exploit ScenarioDerived

An attacker with network reach to an exposed NFSv4 server crafts a COMPOUND RPC whose header declares a huge operation count (e.g., billions). When NFSD tries to allocate the op array, vmalloc fails on the multi-terabyte request, disrupting NFS service or wasting kernel resources. No PoC is publicly referenced, but the low attack complexity (AC:L) and lack of required privileges (PR:N) make the request trivial to construct once a server is reachable.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Jul 30, 2026

Denial of service in the Linux kernel's NFSD server (NFSv4 subsystem) allows a remote attacker to exhaust memory by specifying an arbitrarily large operation count in an NFSv4 COMPOUND request header, forcing NFSD to attempt a multi-terabyte vmalloc allocation that fails and disrupts service. The flaw was introduced by commit 48aab1606fa8, which removed the historical cap on operations per COMPOUND; the fix restores a limit (raised to 200). No public exploit identified at time of analysis, and it is not listed in CISA KEV; EPSS is very low at 0.03%.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 19:23

In the Linux kernel, the following vulnerability has been resolved: Revert "NFSD: Remove the cap on number of operations per NFSv4 COMPOUND" I've found that pynfs COMP6 now leaves the connection or. No vendor patch available.

RemediationAI

Upstream fix available (commit/stable-tree patch); a specific released kernel package version is not independently confirmed in the provided data - apply the distribution kernel update that incorporates the stable commits 3e7f011c255582d7c914133785bbba1990441713 or b3ee7ce432289deac87b9d14e01f2fe6958f7f0b, which restore the per-COMPOUND operation cap (set to 200). If you cannot patch immediately, reduce exposure by restricting NFSv4 access at the network layer - firewall TCP/2049 to trusted client subnets only, or place NFS behind a VPN/private network - since the trade-off is that any legitimate remote NFS clients outside that boundary lose access. Where NFSv4 is not required, disabling the NFS server (or limiting to NFSv3) removes the affected code path but breaks NFSv4 clients. Consult the kernel stable commits above and the vendor kernel advisory for the exact patched build for your distribution.

Affected ProductsAI

The affected component is the Linux kernel NFSD (NFS server) NFSv4 COMPOUND decoding path. The regression was introduced by commit 48aab1606fa8 ('NFSD: Remove the cap on number of operations per NFSv4 COMPOUND'), so kernels containing that commit up to the fix are vulnerable; exact version boundaries are not enumerated in the provided data (no NVD CPE ranges were supplied). Fix commits are published on the kernel stable tree at https://git.kernel.org/stable/c/3e7f011c255582d7c914133785bbba1990441713 and https://git.kernel.org/stable/c/b3ee7ce432289deac87b9d14e01f2fe6958f7f0b, with a third-party advisory at https://vuldb.com/vuln/333201.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

NFSD is the in-kernel Network File System server. In NFSv4, clients batch multiple operations into a single COMPOUND RPC; the server reads the operation count from the COMPOUND header and allocates an array to hold that many op structures before processing. A prior optimization (commit 48aab1606fa8) removed the previous cap on operations-per-COMPOUND, meaning the attacker-supplied count directly drove the allocation size via vmalloc(). The root cause is unbounded, attacker-controlled resource allocation (CWE-770 / CWE-789-class: uncontrolled memory allocation) - the observed log 'vmalloc error: size 1209533382144, exceeds total pages' shows a request for ~1.2 TB. No CWE was assigned in the input. Note: the same regression also caused a pynfs COMP6 test to leave the lease/connection in a bad state (CLOSE9 hang), which motivated the full revert.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remote unauthenticated COMPOUND header (AV:N/AC:L/PR:N/UI:N) triggers a failed giant allocation causing availability loss only, with no confidentiality or integrity impact.

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

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

3
Analysis Updated
Jul 30, 2026 - 08:16 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.5 (HIGH)
CVE Published
Nov 21, 2025 - 11:15 nvd
N/A

DescriptionCVE.org

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

Revert "NFSD: Remove the cap on number of operations per NFSv4 COMPOUND"

I've found that pynfs COMP6 now leaves the connection or lease in a strange state, which causes CLOSE9 to hang indefinitely. I've dug into it a little, but I haven't been able to root-cause it yet. However, I bisected to commit 48aab1606fa8 ("NFSD: Remove the cap on number of operations per NFSv4 COMPOUND").

Tianshuo Han also reports a potential vulnerability when decoding an NFSv4 COMPOUND. An attacker can place an arbitrarily large op count in the COMPOUND header, which results in:

[ 51.410584] nfsd: vmalloc error: size 1209533382144, exceeds total pages, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0

when NFSD attempts to allocate the COMPOUND op array.

Let's restore the operation-per-COMPOUND limit, but increased to 200 for now.

Executive ViewAI

Why It Matters

The Linux kernel's NFSD service (NFSv4 subsystem) is vulnerable to remote denial of service that crashes file servers without requiring authentication or credentials. Organizations using Linux-based NFS infrastructure may experience unexpected service outages and file unavailability. This vulnerability presents a significant operational risk given the unauthenticated attack surface, though no public exploit has been identified at time of analysis.

Business Impact: High
Compensating Controls

Until vendor patch is available: restrict NFSv4 access via firewall to trusted networks only; implement connection rate limiting on NFS ports; monitor logs for abnormally large COMPOUND operation requests; disable NFSv4 if operationally feasible and use NFSv3 instead; implement network segmentation to limit NFS exposure.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Prevalence
Ubiquitous
Linux kernel runs everywhere, though only NFSv4 servers are exploitable
Data Quality
5 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

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