Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-89660

NFSD: Prevent client use-after-free during admin state revocation
Back to all
CVE

CVE-2026-89660

NFSD: Prevent client use-after-free during admin state revocation

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

NFSD: Prevent client use-after-free during admin state revocation

A stateid holds only a bare pointer to its nfs4_client; a stateid

reference does not pin it.  The client survives only because

_destroyclient() drains its stateids before free_client() runs.

nfsd4revokestates() drops nn->clientlock across revokeone_stid(),

which dereferences the client to revoke a stateid and read

clp->cl_minorversion.  A teardown racing the dropped lock can free

the client first.

Pinning clrpcusers under clientlock blocks the DESTROYCLIENTID and

EXCHANGEID teardown, which refuses while clrpc_users is non-zero.

forceexpireclient() ignores it: once its wait for clrpcusers to

reach zero has passed, a later pin goes unnoticed.

Under clientlock, skip a client whose cltime is already zero --

forceexpireclient() clears it there before waiting -- otherwise pin

clrpcusers before dropping the lock.  The walk then either sees the

expiry and skips, or pins in time for that wait to cover the revoke.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/549bd9868e9d77b07ea94870940d64342829c6ad, https://git.kernel.org/stable/c/bf1f948691523282cc4905bc6cd325e0c0b49e6a, https://git.kernel.org/stable/c/e1ba4d3c5bfdca3f013b8cbc829ae2f7975d8608, https://git.kernel.org/stable/c/e270e5a0778e5bff852c8862ce9576ce70359393, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89660.json, https://nvd.nist.gov/vuln/detail/CVE-2026-89660, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00617%
EPSS Percentile
0.47948%
Introduced Version
1c13bf9f2e3cd5a59ef988c6c5a49fe0f02bcdfc,6.9.0,6.13.0,6.19.0,0
Fix Available
e270e5a0778e5bff852c8862ce9576ce70359393,6.12.111,6.18.51,7.2.4,6.12.111-1~deb12u1,6.12.111-1,0:6.12.0-207.111.5.1.el10uek,0:6.12.0-207.111.5.1.el9uek

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading