CVE-2026-53026: Linux NFSD Reference Counting Denial of Service
A logic error in the Linux kernel's NFS server (NFSD) component causes duplicate access counts on file objects when multiple threads concurrently add read access to a delegated write file. This prevents proper cleanup of file resources when the NFS service stops, triggering a kernel crash. The issue is triggered by specific workload patterns—notably the Git project's test suite run over NFS—rather than by direct network attack.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- —
- Affected products
- 7 configuration(s)
- Published / Modified
- 2026-06-24 / 2026-07-15
NVD description (verbatim)
In the Linux kernel, the following vulnerability has been resolved: NFSD: fix nfs4_file access extra count in nfsd4_add_rdaccess_to_wrdeleg In nfsd4_add_rdaccess_to_wrdeleg, if fp->fi_fds[O_RDONLY] is already set by another thread, __nfs4_file_get_access should not be called to increment the nfs4_file access count since that was already done by the thread that added READ access to the file. The extra fi_access count in nfs4_file can prevent the corresponding nfsd_file from being freed. When stopping nfs-server service, these extra access counts trigger a BUG in kmem_cache_destroy() that shows nfsd_file object remaining on __kmem_cache_shutdown. This problem can be reproduced by running the Git project's test suite over NFS.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-53026 is a reference-counting bug in the NFSD subsystem's nfsd4_add_rdaccess_to_wrdeleg function. When a write delegation already exists on an nfs4_file and a second thread attempts to add read access, the code path checks whether fp->fi_fds[O_RDONLY] is already set. If it is, the function still calls __nfs4_file_get_access to increment the access count, even though the first thread that set the read FD already incremented the count. This double-increment leaves orphaned fi_access references that prevent the associated nfsd_file from being freed. At NFSD shutdown, kmem_cache_destroy detects objects still in the cache and triggers a BUG. The vulnerability manifests as a denial-of-service condition (crash) rather than data exposure or privilege escalation.
Business impact
Organizations running NFS-exported filesystems on Linux—particularly those serving Git repositories or similar workloads with concurrent reader/writer patterns—may experience unplanned service interruptions when stopping or restarting the NFS server. In production environments where NFS hosting is critical (development servers, shared storage, backup targets), this crash during shutdown can disrupt planned maintenance windows, delay failovers, and complicate cluster health management. The high CVSS score reflects the unavoidable denial of service, not remote code execution risk.
Affected systems
The vulnerability affects the Linux kernel's NFSD (NFS server daemon) subsystem across all versions that contain the vulnerable code path in nfsd4_add_rdaccess_to_wrdeleg. Systems running Linux as an NFS server are at risk; NFS clients are not affected. The bug is most readily triggered by workloads combining write delegations with concurrent read access patterns, such as the Git test suite, but can occur in any multi-threaded NFS access scenario.
Exploitability
This is not a remotely exploitable vulnerability in the traditional sense. There is no authentication bypass, privilege escalation, or code execution path. Exploitation requires only that the NFS service be running and that workloads generate the specific access pattern (concurrent read/write delegation transitions). Organizations using NFS are likely to encounter the trigger naturally; adversaries cannot weaponize this beyond forcing a denial-of-service shutdown through crafted NFS requests that provoke the race condition. The vulnerability is rated HIGH due to guaranteed service disruption, not attack surface.
Remediation
Apply a kernel update that includes the fix for nfsd4_add_rdaccess_to_wrdeleg. The patch adds a check to avoid calling __nfs4_file_get_access when fp->fi_fds[O_RDONLY] is already populated, ensuring only the first thread increments the access count. Verify against the Linux kernel security advisory or your distribution's patch notes for the specific kernel version addressing this issue.
Patch guidance
Identify your running Linux kernel version (uname -r) and consult your distribution's security advisory channels (Red Hat Security Advisories, Ubuntu Security Notices, etc.) for the corresponding patched kernel. Systems should be updated to the earliest stable kernel version from their branch that includes the nfsd4_add_rdaccess_to_wrdeleg fix. Test the patched kernel in a staging environment, particularly if you are running NFS-dependent services, before deploying to production. A reboot is required after kernel update.
Detection guidance
Monitor kernel logs (dmesg, journalctl) for BUG messages mentioning kmem_cache_destroy or nfsd_file. If NFS service stops unexpectedly with cache-related kernel oops messages, check whether the crash occurred during or shortly after stopping nfs-server. Audit workload patterns on NFS exports for concurrent read/write delegation scenarios. Systems experiencing repeated crashes on NFS shutdown should be considered likely candidates for this vulnerability.
Why prioritize this
This is a HIGH-severity availability risk affecting core infrastructure services. Any organization with Linux-based NFS servers should prioritize patching to prevent unplanned downtime during normal service management operations. The vulnerability is not remotely exploitable in a sophisticated sense, but its trigger is likely to occur naturally in active NFS environments, making remediation urgent despite the lack of data breach or escalation potential.
Risk score, explained
CVSS 3.1 score of 7.5 reflects HIGH severity: AV:N (network-accessible NFS service), AC:L (low complexity to trigger with normal workloads), PR:N/UI:N (no authentication or user interaction required), and A:H (high availability impact via guaranteed crash). The score does not reflect confidentiality or integrity compromise, only denial of service. The absence of code execution potential prevents a CRITICAL rating despite the assured impact.
Frequently asked questions
Can an unauthenticated attacker remotely crash my NFS server?
An attacker cannot directly trigger this crash over the network without mounting the NFS export. However, if the NFS service is exported to untrusted networks, an attacker can craft NFS requests with specific read/write delegation sequences to provoke the race condition and force a crash. In practice, this requires some knowledge of the target workload and the server's delegation policies.
Will patching require downtime?
Yes. A kernel patch requires a reboot to become active. Schedule the kernel update during a maintenance window and test in a staging environment first. The NFS service will be offline during the reboot.
Can I work around this without patching?
Possible mitigations include disabling NFS write delegations (via export options) or reducing concurrency patterns on exported shares, but these are performance trade-offs. These are temporary measures only; patching remains the correct fix.
Is this vulnerability being exploited in the wild?
No. This vulnerability is not tracked in CISA's Known Exploited Vulnerabilities catalog and does not appear in active threat intelligence. However, it will be triggered naturally by normal NFS workloads, so patching should not be delayed waiting for external pressure.
This analysis is based on the CVE record and kernel vulnerability description as of the publication date. Specific patched kernel versions, distribution timelines, and mitigation workarounds may vary by Linux vendor and should be verified against official security advisories before implementation. No exploit code or detailed reproduction instructions are provided; organizations should coordinate patching with their change management and business continuity processes. Source: NVD (public-domain), retrieved 2026-07-31. Analysis generated by SEC.co (claude-haiku-4-5).
Affected vendors
Related vulnerabilities
- CVE-2026-0270HIGHCortex XSOAR Path Traversal on Linux — Exploit Requirements & Patching Guide
- CVE-2026-0271HIGHPalo Alto Networks Prisma Access Agent Linux Privilege Escalation
- CVE-2026-10001HIGHChrome Sandbox Escape via PerformanceManager Use-After-Free
- CVE-2026-10002HIGHGoogle Chrome PDFium Use-After-Free Vulnerability (CVSS 8.8)
- CVE-2026-10003HIGHChrome Use-After-Free Code Execution Vulnerability Analysis
- CVE-2026-10006HIGHChrome WebAudio Race Condition Remote Code Execution
- CVE-2026-10007HIGHChrome Use-After-Free in SVG Arbitrary Code Execution (CVSS 8.8)
- CVE-2026-10009HIGHChrome Skia Integer Overflow Sandbox Escape – Patch Guidance