VDB

CVE-2026-89661

CVE-2026-89661 PUBLISHED

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

Reported by linux · Published September 11, 2026

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.

EPSS 0.20% · 9.5th percentile

Risk scores

EPSS Score
0.20%
9.5th percentile

Affected products

VendorProductVersions
LinuxLinux3daab3112f039cf849f96764019b096bb0a39d04, 3daab3112f039cf849f96764019b096bb0a39d04
LinuxLinux7.0, 0, 7.2.4
linuxlinux_kernel7.0, 7.0
LinuxLinux3daab3112f039cf849f96764019b096bb0a39d04, 3daab3112f039cf849f96764019b096bb0a39d04, 7.0

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (12 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89661
vulnetix vdb fixes CVE-2026-89661

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89661/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›