CVE-2026-89658

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

State
Published
Severity
9.8 Critical
Published
Sep 11, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d688d8585e6bea5e4e37f7497feea93b6b0a469c to before 0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519Affected
  • d688d8585e6bea5e4e37f7497feea93b6b0a469c to before b413ec5b23e3445dc9c4f273116078e2d4747626Affected
  • d688d8585e6bea5e4e37f7497feea93b6b0a469c to before 81cf7f1413862f87b078920c838460a6a88aa030Affected
  • d688d8585e6bea5e4e37f7497feea93b6b0a469c to before 7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.12.109 through 6.12.*Not affected
  • 6.18.50 through 6.18.*Not affected
  • 7.2.4 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.