# CVE-2026-89658: NFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-26)
- **Published:** 2026-09-11T19:45:46.857Z
- **Modified:** 2026-10-19T09:18:03.637Z

## Who should check

- Anyone running Linux \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< 0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519; \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< b413ec5b23e3445dc9c4f273116078e2d4747626; \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< 81cf7f1413862f87b078920c838460a6a88aa030; \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< 7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55
- Anyone running Linux 6.9

## Description

In the Linux kernel, the following vulnerability has been resolved:

NFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup

nfs40\_clean\_admin\_revoked() takes a stateid reference under
clp-\>cl\_lock, drops nn-\>client\_lock, and calls
nfsd4\_drop\_revoked\_stid(), which dereferences the stateid's client
through s-\>sc\_client-\>cl\_lock.  The stateid reference does not pin the
client, so a teardown racing the dropped lock can free the client
while nfsd4\_drop\_revoked\_stid() is still using it.

This cleanup runs from the laundromat, so a periodic sweep can race
force\_expire\_client() driven by a write to the clients/\<id\>/ctl file.

Skip a client that is already expiring and otherwise pin it with
cl\_rpc\_users under client\_lock before dropping the lock, matching
nfsd4\_revoke\_states().

## Affected and fixed versions

- Linux: \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< 0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519; \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< b413ec5b23e3445dc9c4f273116078e2d4747626; \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< 81cf7f1413862f87b078920c838460a6a88aa030; \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< 7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55 (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- Upgrade Linux to 7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55 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-89658. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89658.md
Affected: Linux >= d688d8585e6bea5e4e37f7497feea93b6b0a469c, < 0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519; >= d688d8585e6bea5e4e37f7497feea93b6b0a469c, < b413ec5b23e3445dc9c4f273116078e2d4747626; >= d688d8585e6bea5e4e37f7497feea93b6b0a469c, < 81cf7f1413862f87b078920c838460a6a88aa030; >= d688d8585e6bea5e4e37f74…
Fixed in: Linux 0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519, Linux 81cf7f1413862f87b078920c838460a6a88aa030, Linux 7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55

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

There is no confirmed exploitation: CVE-2026-89658 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-89658?

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

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

Linux \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< 0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519; \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< b413ec5b23e3445dc9c4f273116078e2d4747626; \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< 81cf7f1413862f87b078920c838460a6a88aa030; \>= d688d8585e6bea5e4e37f7497feea93b6b0a469c, \< 7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55; Linux 6.9.

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

Yes. Fixed in Linux 0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519, Linux 81cf7f1413862f87b078920c838460a6a88aa030, Linux 7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55. Upgrade Linux to 7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55 or later.

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

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/0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519>
- other: <https://git.kernel.org/stable/c/b413ec5b23e3445dc9c4f273116078e2d4747626>
- other: <https://git.kernel.org/stable/c/81cf7f1413862f87b078920c838460a6a88aa030>
- other: <https://git.kernel.org/stable/c/7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55>

## 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-89658>

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