VDB

CVE-2026-89663

CVE-2026-89663 PUBLISHED CVSS 8.8 HIGH

nfsd: revoke copy-notify stateids before dropping their reference

Reported by linux · Published September 11, 2026

In the Linux kernel, the following vulnerability has been resolved: nfsd: revoke copy-notify stateids before dropping their reference Copy-notify stateids live in the s2s_cp_stateids IDR and on their parent stid's sc_cp_list, pinned by a single membership reference. _free_cpntf_state_locked() only unlinks an entry once its refcount reaches zero, so any revoke path that runs while a concurrent find_cpntf_state()/manage_cpntf_state() holder has elevated cs_count drops the reference without unlinking, leaving the entry discoverable with its membership reference already consumed. A second revoke or a laundromat tick then frees it while the reader still holds the pointer -- a KASAN-detectable use-after-free at the reader's nfs4_put_cpntf_state(). This affected all three revoke paths: - The parent-stid drain (nfs4_free_cpntf_statelist()) repeatedly called _free_cpntf_state_locked() on the first list entry; a holder that had bumped cs_count made it return early, so the next iteration re-decremented and burned the holder's reference. - OFFLOAD_CANCEL (manage_cpntf_state()) and laundromat expiry likewise used _free_cpntf_state_locked() and could drop 2->1 without unlinking. Add revoke_cpntf_state_locked(), which unhashes the entry from the IDR and sc_cp_list first (deferring the final free to any holder), and use it from all three revoke paths. The drain now walks with list_for_each_entry_safe() and revokes each entry unconditionally, so it terminates in one pass per entry regardless of cs_count. The unhash is gated on !list_empty(&cps->cp_list); the idr_remove() gate matters because idr_alloc_cyclic() may have recycled the so_id by then. Keep _free_cpntf_state_locked() for the reference-holder put path only, where a concurrent revoke may already have unlinked the entry (its list_del_init() then a no-op).

EPSS 0.46% · 40.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-rt-debugerrata.rockylinux.org5.14.0-687.56.1.el9
kernel-rt-debug-coreerrata.rockylinux.org5.14.0-687.56.1.el9
kernel-modules-extraerrata.rockylinux.org6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9
kernel6.18-develAmazon Linux1:6.18.51-120.162.amzn2023
kernel-rt-64k-debug-develerrata.rockylinux.org6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9
kernel-uki-virterrata.rockylinux.org5.14.0-687.56.1.el9
kernel-modules-extra-matchederrata.rockylinux.org6.12.0-211.64.1.el10
kernel-headersAmazon Linux1:6.1.188-233.385.amzn2023
libperferrata.rockylinux.org5.14.0-687.56.1.el9
kernel-rt-64k-debug-modules-coreerrata.rockylinux.org6.12.0-211.64.1.el10
perf-debuginfoerrata.rockylinux.org6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9
kernel-debug-modules-coreerrata.rockylinux.org6.12.0-211.64.1.el10, 5.14.0-687.56.1.el9

53 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.46%
40.3th percentile

Affected products

VendorProductVersions
LinuxLinux624322f1adc58acd0b69f77a6ddc764207e97241, 624322f1adc58acd0b69f77a6ddc764207e97241, 624322f1adc58acd0b69f77a6ddc764207e97241
LinuxLinux5.6, 0, 5.10.270
amazon:2023kernel6.18-devel0
amazon:2023kernel-headers0
amazon:2023perf6.180
amazon:2023kernel6.120
amazon:2023perf6.120
amazon:2023kernel6.180
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023kernel6.12-tools0
amazon:2023kernel-livepatch-6.18.51-120.1620
amazon:2023bpftool6.180
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-headers0
amazon:2023bpftool0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel0
amazon:2023kernel-tools-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools0

…and 18 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (27 in total, the first dated here)
  • Oct 9, 2026 Distribution Patch (5 in total, the first dated here)
  • Oct 9, 2026 Security Advisory (4 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89663
vulnetix vdb fixes CVE-2026-89663

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-89663/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 ›