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-89661

UNSCOREDEPSS 5%

NFSD: Prevent post-shutdown use-after-free in unlock_filesystem

Mitigation

  • Upgrade Linux to 292d915d3ba6fd15eeb88351fa10581683073109 or later.

Who should check

  • Anyone running Linux >= 3daab3112f039cf849f96764019b096bb0a39d04, < 0c1a755b7212e0835398d4df5e782ea85ccd7476; >= 3daab3112f039cf849f96764019b096bb0a39d04, < 292d915d3ba6fd15eeb88351fa10581683073109
  • Anyone running Linux 7.0

Vulnerability facts

Affected
Linux >= 3daab3112f039cf849f96764019b096bb0a39d04, < 0c1a755b7212e0835398d4df5e782ea85ccd7476; >= 3daab3112f039cf849f96764019b096bb0a39d04, < 292d915d3ba6fd15eeb88351fa10581683073109; Linux 7.0
Fixed in
Linux 0c1a755b7212e0835398d4df5e782ea85ccd7476, Linux 292d915d3ba6fd15eeb88351fa10581683073109
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.20% chance of exploitation in 30 days (percentile 5, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent post-shutdown use-after-free in unlock_filesystem Writing a filesystem path to /proc/fs/nfsd/unlock_filesystem runs nfsd4_cancel_copy_by_sb() before nfsd_mutex is held and before the handler confirms that nn->nfsd_serv is set. Once nfsd has shut down, nfs4_state_destroy_net() has freed nn->conf_id_hashtbl but left the pointer intact, so the cancel helper iterates freed slab memory as an array of struct list_head and then dereferences a bogus nfs4_client when it takes clp->async_lock. A local administrator holding CAP_SYS_ADMIN can reach this use-after-free by stopping the server and then writing to unlock_filesystem; KASAN reports a slab-use-after-free read in nfsd4_cancel_copy_by_sb(). nfsd4_revoke_states() walks the same state tables and for that reason already runs only under nfsd_mutex with nn->nfsd_serv confirmed present. Move the async COPY cancel into that protected section so every NFSv4 state-table walker on this path observes a running server. Async copies exist only while the server runs, so gating the cancel on nn->nfsd_serv loses nothing.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 3daab3112f039cf849f96764019b096bb0a39d04, < 0c1a755b7212e0835398d4df5e782ea85ccd7476; >= 3daab3112f039cf849f96764019b096bb0a39d04, < 292d915d3ba6fd15eeb88351fa10581683073109—cvelist
Linux7.0—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-89661. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89661.md
Affected: Linux >= 3daab3112f039cf849f96764019b096bb0a39d04, < 0c1a755b7212e0835398d4df5e782ea85ccd7476; >= 3daab3112f039cf849f96764019b096bb0a39d04, < 292d915d3ba6fd15eeb88351fa10581683073109; Linux 7.0
Fixed in: Linux 0c1a755b7212e0835398d4df5e782ea85ccd7476, Linux 292d915d3ba6fd15eeb88351fa10581683073109

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-89661 being exploited?

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

How serious is CVE-2026-89661?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-89661?

Linux >= 3daab3112f039cf849f96764019b096bb0a39d04, < 0c1a755b7212e0835398d4df5e782ea85ccd7476; >= 3daab3112f039cf849f96764019b096bb0a39d04, < 292d915d3ba6fd15eeb88351fa10581683073109; Linux 7.0.

Is there a fix for CVE-2026-89661?

Yes. Fixed in Linux 0c1a755b7212e0835398d4df5e782ea85ccd7476, Linux 292d915d3ba6fd15eeb88351fa10581683073109. Upgrade Linux to 292d915d3ba6fd15eeb88351fa10581683073109 or later.

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

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