CVE-2026-89689
Last modified
CVE-2026-89689 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: nfsd: don't free session slots that are still in use nfsd4_sequence() can free the very slot it is currently processing. When the session shrinker has reduced se_target_maxslots below se_fchannel.maxreqs, the shrink path checks three conditions before calling free_session_slots(): 1. se_target_maxslots < maxreqs (shrink was advertised) 2. 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: don't free session slots that are still in use nfsd4_sequence() can free the very slot it is currently processing. When the session shrinker has reduced se_target_maxslots below se_fchannel.maxreqs, the shrink path checks three conditions before calling free_session_slots(): 1. se_target_maxslots < maxreqs (shrink was advertised) 2. slot->sl_generation == se_slot_gen (slot is up-to-date) 3. seq->maxslots <= se_target_maxslots (client acknowledges) However, seq->slotid is never checked against se_target_maxslots. A client using a slot in the range [se_target_maxslots, maxreqs) can satisfy all three conditions: its slot has the current generation (set by a prior SEQUENCE), and it sends sa_highest_slotid <= se_target_maxslots to acknowledge the reduction. free_session_slots() then kfrees every slot at index >= se_target_maxslots, including the caller's own slot. The function continues to write sl_seqid, sl_flags, sl_generation, and stores the dangling pointer in cstate->slot. Later, nfsd4_store_cache_entry() copies up to maxresp_cached bytes of the compound reply into the freed sl_data[] array, corrupting whatever slab object now occupies that address. Additionally, a concurrent thread processing SEQUENCE on a different high-numbered slot can have its slot freed out from under it. NFSD4_SLOT_INUSE is set under nn->client_lock before the lock is released, so any concurrent thread past SEQUENCE will have its slot marked. However, free_session_slots() does not check NFSD4_SLOT_INUSE before freeing. Fix both problems by: 1. Checking that the current request's slotid is below the shrink boundary. 2. Scanning slots in the to-be-freed range for NFSD4_SLOT_INUSE and deferring the shrink if any are active.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < b449b134e7762ddf98653a4b1d3e76d2d212ea64; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < f5d22e372f4ac3eb287037a488c29691d52a6330 |
| Linux | Linux | 6.14 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-89689?
How severe is CVE-2026-89689?
How do I fix CVE-2026-89689?
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-89683In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89684In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-89685In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-89686In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-89687In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-89688In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-8969Mitigation bypass in the DOM: Security component. This vulne…8.1
- CVE-2026-89690In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-89691In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-89692In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-89693In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89694In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-89689?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
