In the Linux kernel, the following vulnerability has been resolved: nfsd: revoke copy-notify stateids before dropping their reference Copy-notify… (CVE-2026-89663)
A use-after-free vulnerability in the Linux kernel's NFS server (nfsd) related to copy-notify stateids has been resolved. The flaw involved improper revocation of copy-notify stateids before dropping their references, which could lead to a use-after-free condition detectable by KASAN. The issue affected multiple revoke paths where entries could be freed while still referenced by readers.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's nfsd subsystem involved the mishandling of copy-notify stateids (cs_count references) during revocation. Specifically, the function _free_cpntf_state_locked() only unlinked entries when their reference count reached zero. However, concurrent holders elevating cs_count could cause the reference to be dropped without unlinking, leaving entries discoverable but with consumed membership references. Subsequent revokes or cleanup could free these entries while still referenced, causing a use-after-free detected by KASAN. The fix introduced revoke_cpntf_state_locked(), which unhashes and unlinks entries before freeing, ensuring safe revocation across all affected paths.
Potential Impact
This vulnerability could lead to a kernel use-after-free condition in the NFS server component, potentially causing system instability or crashes. No information about exploitation in the wild or privilege escalation is provided. The impact is limited to kernel memory safety and stability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly revoke copy-notify stateids before dropping their references, preventing use-after-free conditions. Users should apply the official kernel updates that include this patch. No additional mitigation steps are indicated.
In the Linux kernel, the following vulnerability has been resolved: nfsd: revoke copy-notify stateids before dropping their reference Copy-notify… (CVE-2026-89663)
Description
A use-after-free vulnerability in the Linux kernel's NFS server (nfsd) related to copy-notify stateids has been resolved. The flaw involved improper revocation of copy-notify stateids before dropping their references, which could lead to a use-after-free condition detectable by KASAN. The issue affected multiple revoke paths where entries could be freed while still referenced by readers.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's nfsd subsystem involved the mishandling of copy-notify stateids (cs_count references) during revocation. Specifically, the function _free_cpntf_state_locked() only unlinked entries when their reference count reached zero. However, concurrent holders elevating cs_count could cause the reference to be dropped without unlinking, leaving entries discoverable but with consumed membership references. Subsequent revokes or cleanup could free these entries while still referenced, causing a use-after-free detected by KASAN. The fix introduced revoke_cpntf_state_locked(), which unhashes and unlinks entries before freeing, ensuring safe revocation across all affected paths.
Potential Impact
This vulnerability could lead to a kernel use-after-free condition in the NFS server component, potentially causing system instability or crashes. No information about exploitation in the wild or privilege escalation is provided. The impact is limited to kernel memory safety and stability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to properly revoke copy-notify stateids before dropping their references, preventing use-after-free conditions. Users should apply the official kernel updates that include this patch. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7jrm-g6vx-3834
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89663"]
Threat ID: 6aa4a00555bf5e2cf5a86638
Added to database: 09/12/2026, 00:42:45 UTC
Last enriched: 09/12/2026, 00:58:40 UTC
Last updated: 09/12/2026, 00:58:40 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.