Unauthenticated NFS service crash via NULL callback
Published Oct 30, 2025 · Updated Aug 5, 2026
Denial of service in Linux NFSD allows remote attackers to crash the NFS service via a FlexFiles LAYOUTCOMMIT request. The NFSv4.1 LAYOUTCOMMIT path unconditionally calls ff_layout_ops.proc_layoutcommit, but FlexFiles leaves that callback NULL in affected kernels. Any host that can reach an exported filesystem using default AUTH_SYS can trigger the kernel oops without server credentials; the oops kills the NFSD thread and can panic the host when panic_on_oops is enabled.
Summary
What happened
Denial of service in Linux NFSD allows remote attackers to crash the NFS service via a FlexFiles LAYOUTCOMMIT request. The NFSv4.1 LAYOUTCOMMIT path unconditionally calls ff_layout_ops.proc_layoutcommit, but FlexFiles leaves that callback NULL in affected kernels. Any host that can reach an exported filesystem using default AUTH_SYS can trigger the kernel oops without server credentials; the oops kills the NFSD thread and can panic the host when panic_on_oops is enabled.
The record
- CVE
- CVE-2025-40087
- Published
- Oct 30, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 30, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.8
- Affected versionversion=9b9960a0ca4773e21c4b153ed355583946346b25 <34d187e020cbda112a6c6f094f0ca5e6a8672b75
- Affected versionversion=9b9960a0ca4773e21c4b153ed355583946346b25 <4b47a8601b71ad98833b447d465592d847b4dc77
- Affected versionversion=9b9960a0ca4773e21c4b153ed355583946346b25 <785ec512afa80d0540f2ca797c0e56de747a6083
- Affected versionversion=9b9960a0ca4773e21c4b153ed355583946346b25 <a156af6a4dc38c2aa7c98e89520a70fb3b3e7df4
- Affected versionversion=9b9960a0ca4773e21c4b153ed355583946346b25 <a75994dd879401c3e24ff51c2536559f1a53ea27
- Affected versionversion=9b9960a0ca4773e21c4b153ed355583946346b25 <ba88a53d7f5df4191583abf214214efe0cda91d2
- Affected versionversion=9b9960a0ca4773e21c4b153ed355583946346b25 <da9129ef77786839a3ccd1d7afeeab790bceaa1d
- Affected versionversion=9b9960a0ca4773e21c4b153ed355583946346b25 <f7353208c91ab004e0179c5fb6c365b0f132f9f0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo