In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup… (CVE-2026-89658)
A use-after-free vulnerability in the Linux kernel's NFS server (NFSD) related to NFSv4.0 revoked-state cleanup has been resolved. The issue arises when the client reference is not properly pinned during stateid cleanup, potentially allowing the client to be freed while still in use. This race condition occurs during periodic cleanup operations and client expiration triggered by writes to client control files.
AI Analysis
Technical Summary
The vulnerability involves a use-after-free condition in the Linux kernel's NFSD component during NFSv4.0 revoked-state cleanup. Specifically, the function nfs40_clean_admin_revoked() takes a stateid reference under a client lock, drops another lock, and calls nfsd4_drop_revoked_stid(), which dereferences the client without properly pinning it. This can lead to the client being freed concurrently while still being accessed, due to a race between periodic cleanup (laundromat) and client expiration triggered by control file writes. The fix involves skipping clients already expiring and properly pinning the client reference with cl_rpc_users under client_lock before releasing the lock, aligning with existing state revocation logic.
Potential Impact
The vulnerability could lead to use-after-free conditions in the kernel, which may cause system instability or crashes. The description does not specify exploitation or privilege escalation impacts. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly pin client references during NFSv4.0 revoked-state cleanup, preventing use-after-free conditions. Users should apply the official kernel updates that include this fix. No additional mitigation steps are indicated.
In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup… (CVE-2026-89658)
Description
A use-after-free vulnerability in the Linux kernel's NFS server (NFSD) related to NFSv4.0 revoked-state cleanup has been resolved. The issue arises when the client reference is not properly pinned during stateid cleanup, potentially allowing the client to be freed while still in use. This race condition occurs during periodic cleanup operations and client expiration triggered by writes to client control files.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability involves a use-after-free condition in the Linux kernel's NFSD component during NFSv4.0 revoked-state cleanup. Specifically, the function nfs40_clean_admin_revoked() takes a stateid reference under a client lock, drops another lock, and calls nfsd4_drop_revoked_stid(), which dereferences the client without properly pinning it. This can lead to the client being freed concurrently while still being accessed, due to a race between periodic cleanup (laundromat) and client expiration triggered by control file writes. The fix involves skipping clients already expiring and properly pinning the client reference with cl_rpc_users under client_lock before releasing the lock, aligning with existing state revocation logic.
Potential Impact
The vulnerability could lead to use-after-free conditions in the kernel, which may cause system instability or crashes. The description does not specify exploitation or privilege escalation impacts. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly pin client references during NFSv4.0 revoked-state cleanup, preventing use-after-free conditions. Users should apply the official kernel updates that include this fix. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-mr23-3fxm-cw86
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89658"]
Threat ID: 6aa4a00355bf5e2cf5a86625
Added to database: 09/12/2026, 00:42:43 UTC
Last enriched: 09/12/2026, 00:56:56 UTC
Last updated: 09/12/2026, 00:56:56 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.