In the Linux kernel, the following vulnerability has been resolved: nfsd: hold rcu across localio cmpxchg retry nfsd_file objects are freed via… (CVE-2026-89670)
A use-after-free vulnerability in the Linux kernel's NFS daemon (nfsd) was resolved. The issue involves improper handling of RCU (Read-Copy-Update) locking around cmpxchg operations on nfsd_file objects, leading to potential dereferencing of freed memory. The flaw arises because nfsd_file objects are freed via call_rcu without SLAB_TYPESAFE_BY_RCU, allowing the slab page to be reclaimed after the RCU grace period. The fix involves correctly acquiring and releasing rcu_read_lock around the cmpxchg retry block to prevent use of recycled memory.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's nfsd subsystem relates to the freeing and reference counting of nfsd_file objects. These objects are freed asynchronously using call_rcu, but the slab allocator used does not support RCU-safe freeing. The retry logic in nfsd_open_local_fh() performs a cmpxchg operation and increments the reference count without holding an RCU read lock, allowing a race condition where the memory backing the nfsd_file object can be reclaimed and reused. This leads to a use-after-free scenario where the code operates on recycled memory, potentially causing undefined behavior or kernel crashes. The patch adds rcu_read_lock acquisition immediately before the cmpxchg and ensures it is released on all exit paths of the retry block, preventing the use-after-free.
Potential Impact
This vulnerability can cause the Linux kernel's NFS daemon to dereference freed memory, which may lead to kernel instability, crashes, or other undefined behavior. While no direct exploit details are provided, use-after-free bugs in kernel code can potentially be leveraged for privilege escalation or denial of service.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by adding proper RCU read lock handling around the cmpxchg retry block in nfsd_open_local_fh(). Users should update to the patched kernel version once available. No alternative mitigations are indicated.
In the Linux kernel, the following vulnerability has been resolved: nfsd: hold rcu across localio cmpxchg retry nfsd_file objects are freed via… (CVE-2026-89670)
Description
A use-after-free vulnerability in the Linux kernel's NFS daemon (nfsd) was resolved. The issue involves improper handling of RCU (Read-Copy-Update) locking around cmpxchg operations on nfsd_file objects, leading to potential dereferencing of freed memory. The flaw arises because nfsd_file objects are freed via call_rcu without SLAB_TYPESAFE_BY_RCU, allowing the slab page to be reclaimed after the RCU grace period. The fix involves correctly acquiring and releasing rcu_read_lock around the cmpxchg retry block to prevent use of recycled memory.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's nfsd subsystem relates to the freeing and reference counting of nfsd_file objects. These objects are freed asynchronously using call_rcu, but the slab allocator used does not support RCU-safe freeing. The retry logic in nfsd_open_local_fh() performs a cmpxchg operation and increments the reference count without holding an RCU read lock, allowing a race condition where the memory backing the nfsd_file object can be reclaimed and reused. This leads to a use-after-free scenario where the code operates on recycled memory, potentially causing undefined behavior or kernel crashes. The patch adds rcu_read_lock acquisition immediately before the cmpxchg and ensures it is released on all exit paths of the retry block, preventing the use-after-free.
Potential Impact
This vulnerability can cause the Linux kernel's NFS daemon to dereference freed memory, which may lead to kernel instability, crashes, or other undefined behavior. While no direct exploit details are provided, use-after-free bugs in kernel code can potentially be leveraged for privilege escalation or denial of service.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by adding proper RCU read lock handling around the cmpxchg retry block in nfsd_open_local_fh(). Users should update to the patched kernel version once available. No alternative mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-86jr-9j73-5pc8
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89670"]
Threat ID: 6aa4a00555bf5e2cf5a86637
Added to database: 09/12/2026, 00:42:45 UTC
Last enriched: 09/12/2026, 00:58:35 UTC
Last updated: 09/12/2026, 00:58:35 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.