Vulnary
← back to the feed
Critical· 9.8official fix available

CVE-2025-40212

A critical flaw in the Linux kernel’s NFS server can be triggered by a specially crafted NFSv4 filehandle, leading to a use‑after‑free and potential denial of service. The bug was fixed in a kernel update that corrected reference counting in the nfsd_set_fh_dentry function.

publishedNov 24, 2025
last modifiedJul 30, 2026
sourcesNVD
severity · cvss
9.8
critical · how bad it is
exploitation · epss
<1%
8th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Aug 29, 2026

An official fix is available, so this entry is kept for 30 days and then removed automatically.

01

Who is affected

Linux kernel NFS server (nfsd) components that handle NFSv4 filehandles.

02

Real-world impact

An attacker could send a malicious NFSv4 request to a vulnerable NFS server, causing the server to crash or become unresponsive, which could disrupt services for all clients relying on that server.

03

Why this severity

The CVSS score of 9.8 reflects that the vulnerability can be exploited remotely without authentication, and it compromises confidentiality, integrity, and availability of the NFS service.

04

What to do about it

official fix available
recommended steps
  1. 01Upgrade the Linux kernel to a version that includes the nfsd_set_fh_dentry fix.
  2. 02Reboot the system to load the updated kernel.

NVD-referenced vendor advisory

05

Timeline

  1. Nov 24, 2025 · Nov 24, 2025
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Jul 30, 2026 · 6h ago
    Advisory updated
    The NVD record was last revised.
  3. Jul 30, 2026 · 3h ago
    Official fix available
    A vendor patch or mitigation now exists — see the remediation steps above.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityLow
Privileges requiredNone
User interactionNone needed
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →