In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent post-shutdown use-after-free in unlock_filesystem Writing a… (CVE-2026-89661)
A use-after-free vulnerability in the Linux kernel's NFSD component was resolved. The issue occurs when writing to /proc/fs/nfsd/unlock_filesystem after the NFS server has shut down, leading to access of freed memory. This can be triggered by a local administrator with CAP_SYS_ADMIN privileges. The fix involves moving the asynchronous copy cancel operation under a mutex lock that confirms the server is running, preventing access to freed structures.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel NFSD subsystem involves a use-after-free condition triggered by writing a filesystem path to /proc/fs/nfsd/unlock_filesystem after the NFS server has shut down. Specifically, the function nfsd4_cancel_copy_by_sb() runs before acquiring the nfsd_mutex and before confirming that nn->nfsd_serv is set. After shutdown, nn->conf_id_hashtbl is freed but the pointer remains, causing iteration over freed memory and dereferencing invalid client pointers. The fix moves the asynchronous copy cancel operation under the protection of nfsd_mutex and confirms the server is running, ensuring no access to freed memory.
Potential Impact
A local administrator with CAP_SYS_ADMIN privileges can trigger a use-after-free condition, potentially leading to kernel memory corruption or system instability. There is no indication of remote exploitation or active exploitation in the wild.
Mitigation Recommendations
A fix has been applied in the Linux kernel to move the asynchronous copy cancel operation under the nfsd_mutex lock and confirm the server is running before accessing state tables. Users should update to the fixed kernel version once available. No additional mitigation steps are indicated.
In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent post-shutdown use-after-free in unlock_filesystem Writing a… (CVE-2026-89661)
Description
A use-after-free vulnerability in the Linux kernel's NFSD component was resolved. The issue occurs when writing to /proc/fs/nfsd/unlock_filesystem after the NFS server has shut down, leading to access of freed memory. This can be triggered by a local administrator with CAP_SYS_ADMIN privileges. The fix involves moving the asynchronous copy cancel operation under a mutex lock that confirms the server is running, preventing access to freed structures.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel NFSD subsystem involves a use-after-free condition triggered by writing a filesystem path to /proc/fs/nfsd/unlock_filesystem after the NFS server has shut down. Specifically, the function nfsd4_cancel_copy_by_sb() runs before acquiring the nfsd_mutex and before confirming that nn->nfsd_serv is set. After shutdown, nn->conf_id_hashtbl is freed but the pointer remains, causing iteration over freed memory and dereferencing invalid client pointers. The fix moves the asynchronous copy cancel operation under the protection of nfsd_mutex and confirms the server is running, ensuring no access to freed memory.
Potential Impact
A local administrator with CAP_SYS_ADMIN privileges can trigger a use-after-free condition, potentially leading to kernel memory corruption or system instability. There is no indication of remote exploitation or active exploitation in the wild.
Mitigation Recommendations
A fix has been applied in the Linux kernel to move the asynchronous copy cancel operation under the nfsd_mutex lock and confirm the server is running before accessing state tables. Users should update to the fixed kernel version once available. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5jhw-w88m-cjf3
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89661"]
Threat ID: 6aa4a00555bf5e2cf5a8663c
Added to database: 09/12/2026, 00:42:45 UTC
Last enriched: 09/12/2026, 00:59:02 UTC
Last updated: 09/12/2026, 00:59:02 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.