Skip to main content

Linux Kernel CVE-2025-40087

HIGH
2025-10-30 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 NFSD pNFS server over network
  2. Delivery
    Send LAYOUTCOMMIT for FlexFiles layout
  3. Exploit
    Hit missing proc_layoutcommit handler
  4. Execution
    Trigger kernel NULL-pointer crash
  5. Impact
    Server denial of service

Vulnerability Assessment

Exploitation Conditions

The target must be running the Linux kernel as an NFSD pNFS metadata server that serves the FlexFiles layout type, and the attacker must be able to send a LAYOUTCOMMIT operation for that layout - this specific, non-default pNFS/FlexFiles configuration IS the required precondition. Limiting factors: hosts not exporting NFS, or NFS servers not using pNFS/FlexFiles layouts, are not exposed at all; reachability depends on NFS ports being accessible to the attacker; and impact is limited to a crash (availability), with no confidentiality or integrity effect per the CVSS vector. The CVSS PR:N implies no additional authentication is modeled, but real deployments typically restrict NFS access to specific client networks/exports, which further narrows practical exploitability.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) reflects a network-reachable, unauthenticated availability-only impact - a kernel crash, not code execution or data disclosure. Supporting signals point to low real-world urgency: EPSS is 0.20% (10th percentile), the CVE is NOT in CISA KEV, and no POC or in-the-wild exploitation is indicated. There is a meaningful qualifier the raw CVSS obscures: exploitation requires the target to be running as an NFSD pNFS metadata server with the FlexFiles layout driver in use, which is a non-default, comparatively uncommon deployment. So while the base score is 'High,' the effective exposed population is narrow, and the tag set ('Linux, Denial Of Service') aligns with a crash rather than a compromise. Net: patch on normal cadence for pNFS/FlexFiles servers; this is not an emergency for typical NFS or non-NFS Linux hosts.

Exploit ScenarioDerived

An attacker (or a malfunctioning client) with network access to a Linux host acting as an NFSD pNFS server sends a crafted LAYOUTCOMMIT operation referencing a FlexFiles layout. NFSD hits the missing FlexFiles commit handler and the kernel crashes, taking down the file server and disrupting all clients relying on it. No public exploit code is identified, and the low CVSS attack complexity (AC:L) means the malformed operation is straightforward to send once the pNFS/FlexFiles path is reachable.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Jul 30, 2026

Denial of service in the Linux kernel's NFS server (NFSD) allows a pNFS client to crash the host by sending a LAYOUTCOMMIT operation against a FlexFiles-type layout, for which NFSD previously defined no proc_layoutcommit handler. Any system exporting files over pNFS with the FlexFiles layout driver is affected until patched. This is a stability/availability bug (no confirmed data compromise); no public exploit identified at time of analysis and it is not listed in CISA KEV, with a low EPSS of 0.20% (10th percentile).

RemediationAI

Upstream fix available (commit); released patched version not independently confirmed - apply the kernel update that incorporates the referenced stable commits (e.g. git.kernel.org/stable/c/34d187e020cbda112a6c6f094f0ca5e6a8672b75 and the seven sibling backports) via your distribution's patched kernel package, then reboot. Because no tagged release version or vendor advisory URL is present in the feed, verify the specific fixed package build in your distribution's security tracker before scheduling. As a compensating control until patched, avoid exporting the FlexFiles layout type from NFSD or disable pNFS layout serving so LAYOUTCOMMIT for FlexFiles is never processed; where feasible, restrict NFS/pNFS access to trusted client networks via firewall rules to limit who can send the triggering operation. Trade-off: disabling pNFS/FlexFiles removes the parallel-I/O performance benefit for legitimate clients, and network restrictions may break access for remote or roaming NFS clients.

Affected ProductsAI

The Linux kernel is affected wherever NFSD's pNFS support is built and configured to serve the FlexFiles layout type. The intelligence feed provides no CPE strings and no explicit version ranges; affected/fixed versions can only be inferred from the eight stable-tree commit references on git.kernel.org (e.g. 34d187e020cbda112a6c6f094f0ca5e6a8672b75, 4b47a8601b71ad98833b447d465592d847b4dc77, 785ec512afa80d0540f2ca797c0e56de747a6083, and five additional backport commits), which indicate the fix was applied across multiple stable branches. No distribution vendor advisory URL was supplied in the references, so exact per-distro fixed package versions should be confirmed against your distribution's security tracker.

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

The affected component is NFSD, the in-kernel NFS server, specifically its parallel NFS (pNFS) metadata-server support. pNFS lets clients receive a 'layout' describing where file data lives and later commit changes with a LAYOUTCOMMIT operation. NFSD supports multiple layout types (e.g. Block, SCSI, FlexFiles); the FlexFiles driver lacked a proc_layoutcommit callback, so an incoming LAYOUTCOMMIT for that layout type dereferenced a missing/NULL operation handler. No CWE was assigned in the feed, but the root cause is consistent with a NULL-pointer dereference / missing case handler (CWE-476-class) reachable through an unhandled protocol operation - this is inferred from the description, not vendor-confirmed. The fix defines a proper proc_layoutcommit for the FlexFiles layout type so the operation is handled gracefully.

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

Network-reachable LAYOUTCOMMIT crashes the server with no auth modeled (PR:N) and low complexity (AC:L); impact is availability-only (A:H), so C:N/I:N, matching the DoS description.

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

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

DescriptionCVE.org

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

NFSD: Define a proc_layoutcommit for the FlexFiles layout type

Avoid a crash if a pNFS client should happen to send a LAYOUTCOMMIT operation on a FlexFiles layout.

Executive ViewAI

Why It Matters

The Linux kernel NFS server (NFSD) contains a denial-of-service vulnerability (CVE-2025-40087) affecting systems exporting files via pNFS with FlexFiles layout-any network client can crash the service by sending a malformed LAYOUTCOMMIT operation, requiring manual restart to restore availability. No public exploit identified at time of analysis, but organizations relying on NFS for file sharing should immediately assess exposed infrastructure and restrict client access to trusted hosts.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting pNFS client access to trusted hosts only via firewall, disabling the FlexFiles layout driver where operationally feasible, implementing NFS server monitoring to detect crash signatures, and configuring automated service restart automation to minimize recovery time.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Ubiquitous
Linux kernel is ubiquitous; but only NFSD pNFS FlexFiles servers are actually exposed
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
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
Medium

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:15.6.17.8.134 Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.65 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.88 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.105 Affected

References

Advisories & patches
ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21040/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21052/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21056/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21064/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21080/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21147/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21180/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4057/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4128/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4132/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4140/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4141/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:4301/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0473/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20317/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20333/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20561/ REF https://git.kernel.org/stable/c/34d187e020cbda112a6c6f094f0ca5e6a8672b75 REF https://git.kernel.org/stable/c/4b47a8601b71ad98833b447d465592d847b4dc77 REF https://git.kernel.org/stable/c/785ec512afa80d0540f2ca797c0e56de747a6083 REF https://git.kernel.org/stable/c/a156af6a4dc38c2aa7c98e89520a70fb3b3e7df4 REF https://git.kernel.org/stable/c/a75994dd879401c3e24ff51c2536559f1a53ea27 REF https://git.kernel.org/stable/c/ba88a53d7f5df4191583abf214214efe0cda91d2 REF https://git.kernel.org/stable/c/da9129ef77786839a3ccd1d7afeeab790bceaa1d REF https://git.kernel.org/stable/c/f7353208c91ab004e0179c5fb6c365b0f132f9f0

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