Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-89689

CRITICAL 9.8EPSS 46%

nfsd: don't free session slots that are still in use

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < b449b134e7762ddf98653a4b1d3e76d2d212ea64; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < f5d22e372f4ac3eb287037a488c29691d52a6330
  • Anyone running Linux 6.14

Vulnerability facts

Affected
Linux >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < b449b134e7762ddf98653a4b1d3e76d2d212ea64; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < f5d22e372f4ac3eb287037a488c29691d52a6330; Linux 6.14
Fixed in
Linux 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.65% chance of exploitation in 30 days (percentile 46, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < b449b134e7762ddf98653a4b1d3e76d2d212ea64; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < f5d22e372f4ac3eb287037a488c29691d52a6330—cvelist
Linux6.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-89689. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89689.md
Affected: Linux >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < b449b134e7762ddf98653a4b1d3e76d2d212ea64; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < f5d22e372f4ac3eb287037a488c29691d52a6330; Linux 6.14
Fixed in: Linux 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-89689 being exploited?

There is no confirmed exploitation: CVE-2026-89689 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-89689?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-89689?

Linux >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < b449b134e7762ddf98653a4b1d3e76d2d212ea64; >= fc8738c68d0bbf5033dd98b4f63d277ecbd49fd7, < f5d22e372f4ac3eb287037a488c29691d52a6330; Linux 6.14.

Is there a fix for CVE-2026-89689?

Yes. Fixed in Linux 72d40b103bb03f0124d3a3c8f71a30cbafaf6afa. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-89689?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors