CVE-2026-90037

NFSD: Prevent client use-after-free during close_lru reaping

State
Published
Severity
9.8 Critical
Published
Sep 16, 2026
Updated
Oct 30, 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 close_lru reaping

An nfs4_openowner left on nn->close_lru after its final CLOSE keeps its last closed stateid in oo_last_closed_stid, holding only a raw pointer to its nfs4_client. The laundromat reaps timed-out entries, drops nn->client_lock, and calls nfs4_put_stid(), which dereferences the client through cl_lock. Nothing pins the client across that window, so a concurrent force_expire_client() can free it and nfs4_put_stid() reads freed memory. __destroy_client() hits the same race, walking clp->cl_openowners without cl_lock.

Pin the client with cl_rpc_users before dropping client_lock, and skip clients already expiring. __destroy_client() then cleans up its own close_lru entries through release_last_closed_stateid(), so teardown no longer races the laundromat.

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
  • 217526e7ecc9f6f243e976772e81eab7ab986a4c to before 1d721729762a413015864b2a56d7fb86fb8efa9fAffected
  • 217526e7ecc9f6f243e976772e81eab7ab986a4c to before adc34b5df5c5d87043cb500b0867fc1c4ad0117eAffected
  • 217526e7ecc9f6f243e976772e81eab7ab986a4c to before 0763482227822f7343557f086afc382086d56c4cAffected
  • 217526e7ecc9f6f243e976772e81eab7ab986a4c to before 83dd59ac1c3455c2c7d8ddb582d980a13199b9b3Affected
  • 217526e7ecc9f6f243e976772e81eab7ab986a4c to before e57a9ed34ea8c17e831de59b8f1a6b2d80d347a1Affected
  • 217526e7ecc9f6f243e976772e81eab7ab986a4c to before 2330b788d732f43668b965b3105b37ceb276dfeaAffected
LinuxLinux
  • 3.17Affected
  • before 3.17Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 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.