CVE-2026-89670
Last modified
CVE-2026-89670 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: nfsd: hold rcu across localio cmpxchg retry nfsd_file objects are freed via call_rcu (filecache.c:296), and nfsd_file_slab is created without SLAB_TYPESAFE_BY_RCU (KMEM_CACHE(nfsd_file, 0) at filecache.c:789), so the slab page backing a freed nfsd_file becomes freely reclaimable once the RCU grace period elapses. The again: retry block in nfsd_open_local_fh() loads a pointer with cmpxchg and then calls nfsd_file_get(new) (which is refcount_inc_not_zero) without holding rcu_read_lock. The sole caller nfs_open_local_fh() drops rcu_read_lock before invoking this helper, so no outer reader-side critical section covers the load. CPU 0 (nfsd_open_local_fh) CPU 1 (nfsd_file_put_local) ----- ----- new = cmpxchg(pnf, NULL, ...) nf = xchg(pnf, NULL) nfsd_file_put(nf) last ref -> call_rcu() /* grace period elapses; slab page recycled */ nfsd_file_get(new) refcount_inc_not_zero(&new->nf_ref) /* operates on recycled memory */ A non-zero word at the nf_ref offset of the recycled object makes the refcount bump appear to succeed, and the caller then dereferences new->nf_net and new->nf_file out of freed memory. Fix by taking rcu_read_lock() immediately before the cmpxchg and releasing it on all three exits of the if (new) block: the goto-again retry, the lost-race cleanup path, and the install-succeeded path. nfsd_file_put() and nfsd_net_put() stay outside the RCU section so they remain free to block.. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: hold rcu across localio cmpxchg retry nfsd_file objects are freed via call_rcu (filecache.c:296), and nfsd_file_slab is created without SLAB_TYPESAFE_BY_RCU (KMEM_CACHE(nfsd_file, 0) at filecache.c:789), so the slab page backing a freed nfsd_file becomes freely reclaimable once the RCU grace period elapses. The again: retry block in nfsd_open_local_fh() loads a pointer with cmpxchg and then calls nfsd_file_get(new) (which is refcount_inc_not_zero) without holding rcu_read_lock. The sole caller nfs_open_local_fh() drops rcu_read_lock before invoking this helper, so no outer reader-side critical section covers the load. CPU 0 (nfsd_open_local_fh) CPU 1 (nfsd_file_put_local) ----- ----- new = cmpxchg(pnf, NULL, ...) nf = xchg(pnf, NULL) nfsd_file_put(nf) last ref -> call_rcu() /* grace period elapses; slab page recycled */ nfsd_file_get(new) refcount_inc_not_zero(&new->nf_ref) /* operates on recycled memory */ A non-zero word at the nf_ref offset of the recycled object makes the refcount bump appear to succeed, and the caller then dereferences new->nf_net and new->nf_file out of freed memory. Fix by taking rcu_read_lock() immediately before the cmpxchg and releasing it on all three exits of the if (new) block: the goto-again retry, the lost-race cleanup path, and the install-succeeded path. nfsd_file_put() and nfsd_net_put() stay outside the RCU section so they remain free to block.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < 763c0bad872368304db718f79af7e93048885c67; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < 559570f91a7d4d199a72105e4980bef791f4cbf1; >= e6f7e1487ab528a6c653bd0d42812ff2942846cd, < 58884694978a3d7d111edb433d7fd6a6c5af2f34; 986a21ace186433e0397a59491646edad8c8d636; >= 6.15.3, < 6.16 |
| Linux | Linux | 6.16 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-89670?
How severe is CVE-2026-89670?
How do I fix CVE-2026-89670?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-89665In the Linux kernel, the following vulnerability has been re…8.2
- CVE-2026-89666In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89667In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-89668In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89669In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-8967Information disclosure in the Graphics: WebGPU component. Th…7.5
- CVE-2026-89671In the Linux kernel, the following vulnerability has been re…9.1
- CVE-2026-89672In the Linux kernel, the following vulnerability has been re…9.1
- CVE-2026-89673In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89674In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-89675In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-89676In the Linux kernel, the following vulnerability has been re…9.8
Are you affected by CVE-2026-89670?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
