# CVE-2026-89663: nfsd: revoke copy-notify stateids before dropping their reference

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.66% (percentile 46, 2026-11-26)
- **Published:** 2026-09-11T19:45:50.577Z
- **Modified:** 2026-10-19T09:18:04.243Z

## Who should check

- Anyone running Linux \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 5f00e0ab4de45d4f9e4bd0883cf2517acf63fc0d; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 06a62f6dbc60791f4229c6950b1eec6b18df9af1; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< a1fca0f7bbb7b100a39c7ba8dd7922c87c4237a3; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< caddbeffab1eaba1d2bcf5ceda35547863466705; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 6b8149448cdcb476fba4559d1ecc247efee9971b; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< b56d2c5f01cddbeca7d11cce81d97db4ec9a464f; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< ff8a3cff02b92b2a82f1a9876038fcf953ae9c25; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 3b0c3595db99bb4bebd7c8aa8a36f3c50e411bb7
- Anyone running Linux 5.6

## Description

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).

## Affected and fixed versions

- Linux: \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 5f00e0ab4de45d4f9e4bd0883cf2517acf63fc0d; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 06a62f6dbc60791f4229c6950b1eec6b18df9af1; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< a1fca0f7bbb7b100a39c7ba8dd7922c87c4237a3; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< caddbeffab1eaba1d2bcf5ceda35547863466705; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 6b8149448cdcb476fba4559d1ecc247efee9971b; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< b56d2c5f01cddbeca7d11cce81d97db4ec9a464f; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< ff8a3cff02b92b2a82f1a9876038fcf953ae9c25; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 3b0c3595db99bb4bebd7c8aa8a36f3c50e411bb7 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 3b0c3595db99bb4bebd7c8aa8a36f3c50e411bb7 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89663.md
Affected: Linux >= 624322f1adc58acd0b69f77a6ddc764207e97241, < 5f00e0ab4de45d4f9e4bd0883cf2517acf63fc0d; >= 624322f1adc58acd0b69f77a6ddc764207e97241, < 06a62f6dbc60791f4229c6950b1eec6b18df9af1; >= 624322f1adc58acd0b69f77a6ddc764207e97241, < a1fca0f7bbb7b100a39c7ba8dd7922c87c4237a3; >= 624322f1adc58acd0b69f77…
Fixed in: Linux 5f00e0ab4de45d4f9e4bd0883cf2517acf63fc0d, Linux 06a62f6dbc60791f4229c6950b1eec6b18df9af1, Linux 6b8149448cdcb476fba4559d1ecc247efee9971b, Linux 3b0c3595db99bb4bebd7c8aa8a36f3c50e411bb7

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.
```

## FAQ

### Is CVE-2026-89663 being exploited?

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

### How serious is CVE-2026-89663?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-89663?

Linux \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 5f00e0ab4de45d4f9e4bd0883cf2517acf63fc0d; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 06a62f6dbc60791f4229c6950b1eec6b18df9af1; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< a1fca0f7bbb7b100a39c7ba8dd7922c87c4237a3; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< caddbeffab1eaba1d2bcf5ceda35547863466705; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 6b8149448cdcb476fba4559d1ecc247efee9971b; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< b56d2c5f01cddbeca7d11cce81d97db4ec9a464f; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< ff8a3cff02b92b2a82f1a9876038fcf953ae9c25; \>= 624322f1adc58acd0b69f77a6ddc764207e97241, \< 3b0c3595db99bb4bebd7c8aa8a36f3c50e411bb7; Linux 5.6.

### Is there a fix for CVE-2026-89663?

Yes. Fixed in Linux 5f00e0ab4de45d4f9e4bd0883cf2517acf63fc0d, Linux 06a62f6dbc60791f4229c6950b1eec6b18df9af1, Linux 6b8149448cdcb476fba4559d1ecc247efee9971b, Linux 3b0c3595db99bb4bebd7c8aa8a36f3c50e411bb7. Upgrade Linux to 3b0c3595db99bb4bebd7c8aa8a36f3c50e411bb7 or later.

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

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.

## References

- other: <https://git.kernel.org/stable/c/5f00e0ab4de45d4f9e4bd0883cf2517acf63fc0d>
- other: <https://git.kernel.org/stable/c/06a62f6dbc60791f4229c6950b1eec6b18df9af1>
- other: <https://git.kernel.org/stable/c/a1fca0f7bbb7b100a39c7ba8dd7922c87c4237a3>
- other: <https://git.kernel.org/stable/c/caddbeffab1eaba1d2bcf5ceda35547863466705>
- other: <https://git.kernel.org/stable/c/6b8149448cdcb476fba4559d1ecc247efee9971b>
- other: <https://git.kernel.org/stable/c/b56d2c5f01cddbeca7d11cce81d97db4ec9a464f>
- other: <https://git.kernel.org/stable/c/ff8a3cff02b92b2a82f1a9876038fcf953ae9c25>
- other: <https://git.kernel.org/stable/c/3b0c3595db99bb4bebd7c8aa8a36f3c50e411bb7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89663>

HTML: <https://flawdb.com/CVE-2026-89663> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89663>
