ZeroHour
ZDI Published Advisoriespublished ()ingested

ZDI-26-695: Linux Kernel NFSv4 Server Race Condition Remote Code Execution Vulnerability

AI summary · glm-5.3

ZDI-26-695: Linux Kernel NFSv4 server race condition (CVE-2026-89688, CVSS 8.5) enables remote code execution on nfsd systems with authentication.

ZDI advisory ZDI-26-695 describes a race condition in the Linux Kernel NFSv4 server tracked as CVE-2026-89688 with a CVSS score of 8.5. Remote attackers can execute arbitrary code, but authentication is required and only systems with nfsd enabled are vulnerable. No in-the-wild exploitation is mentioned in the advisory.

  • Race condition in Linux Kernel NFSv4 server
  • CVE-2026-89688 rated CVSS 8.5
  • Remote code execution but authentication required
  • Only systems with nfsd enabled are affected

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2026-89688
Use-After-Free in Linux Kernel nfsd NFSv4 Seqid Replay Error Path

The Linux kernel's NFS server (nfsd) contains a reference-counting flaw in nfs4_preprocess_seqid_op(): on a replay retry where nfsd4_cstate_assign_replay() returns -EAGAIN because the replay stateowner is being torn down, the error path drops a stateowner reference it never acquired, risking a stateowner refcount underflow and use-after-free in kernel memory. The bug also leaks the stateid (stid) reference, which can stall concurrent close operations waiting on that refcount. A remote attacker who can act as an NFSv4 client to the server can trigger this path with crafted or replayed seqid operations, potentially achieving kernel memory corruption (privilege escalation or code execution in kernel context) or a denial-of-service crash/hang of the NFS service. Any Linux system exporting filesystems over NFSv4 with a vulnerable kernel is affected; there is no evidence of exploitation in the wild and no public proof of concept.

Do: Patch to a kernel release containing the upstream nfsd fix as soon as your distribution ships it, and prioritize NFS file servers and NAS appliances running nfsd. As mitigation, restrict access to TCP/2049 with firewall rules so only trusted client networks can reach NFS exports, and consider disabling NFSv4 exports on hosts that do not need them. Monitor for nfsd crashes, oopses, or hung CLOSE operations, which are indicative symptoms of this bug.

9.8
  • Linux kernel (nfsd / NFSv4 server)
largeTens of thousands of internet-exposed NFS endpoints (port 2049), plus plausibly millions of NFS-serving Linux hosts on internal enterprise and HPC networks
Full article

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Linux Kernel. Authentication is required to exploit this vulnerability. Furthermore, only systems with nfsd enabled are vulnerable. The ZDI has assigned a CVSS rating of 8.5. The following CVEs are assigned: CVE-2026-89688.

This source does not provide full text. Read it at zerodayinitiative.com.