In the Linux kernel, the following vulnerability has been resolved: nfsd: fix UAF in async copy cancel and shutdown An async copy could be freed or… (CVE-2026-89675)
A use-after-free (UAF) vulnerability in the Linux kernel's NFS daemon (nfsd) async copy teardown has been fixed. The flaw involved race conditions where async copy objects could be freed while still in use, leading to potential memory corruption. The fix improves reference counting, locking, and task struct pinning to ensure safe teardown and cleanup of async copies.
AI Analysis
Technical Summary
The Linux kernel's nfsd async copy mechanism had a use-after-free vulnerability due to race conditions between teardown callers and the copy kernel thread. Specifically, find_async_copy() increased the copy's refcount but left it on a list, allowing concurrent cleanup to free resources prematurely. The NFSD4_COPY_F_STOPPED flag was set too early, causing teardown to free resources while the kthread still accessed them. The copy_task was not pinned, risking access to freed task_structs. The callback structure was referenced only by the client, allowing concurrent teardown to free the copy during callback execution. The fix unlinks the copy under a lock, manages references properly, pins the task_struct, and adjusts the order of operations to prevent races and premature frees.
Potential Impact
This vulnerability could lead to use-after-free conditions in the kernel, potentially causing kernel crashes or memory corruption. While no active exploitation is known, such flaws can be leveraged for privilege escalation or denial of service in affected systems.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by correcting reference counting, locking, and task pinning in the async copy teardown process. Users should apply the official kernel updates that include this fix. Since this is a kernel-level issue, updating to a patched kernel version is the recommended mitigation.
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix UAF in async copy cancel and shutdown An async copy could be freed or… (CVE-2026-89675)
Description
A use-after-free (UAF) vulnerability in the Linux kernel's NFS daemon (nfsd) async copy teardown has been fixed. The flaw involved race conditions where async copy objects could be freed while still in use, leading to potential memory corruption. The fix improves reference counting, locking, and task struct pinning to ensure safe teardown and cleanup of async copies.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's nfsd async copy mechanism had a use-after-free vulnerability due to race conditions between teardown callers and the copy kernel thread. Specifically, find_async_copy() increased the copy's refcount but left it on a list, allowing concurrent cleanup to free resources prematurely. The NFSD4_COPY_F_STOPPED flag was set too early, causing teardown to free resources while the kthread still accessed them. The copy_task was not pinned, risking access to freed task_structs. The callback structure was referenced only by the client, allowing concurrent teardown to free the copy during callback execution. The fix unlinks the copy under a lock, manages references properly, pins the task_struct, and adjusts the order of operations to prevent races and premature frees.
Potential Impact
This vulnerability could lead to use-after-free conditions in the kernel, potentially causing kernel crashes or memory corruption. While no active exploitation is known, such flaws can be leveraged for privilege escalation or denial of service in affected systems.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by correcting reference counting, locking, and task pinning in the async copy teardown process. Users should apply the official kernel updates that include this fix. Since this is a kernel-level issue, updating to a patched kernel version is the recommended mitigation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-gw8w-5rwc-5ffx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89675"]
Threat ID: 6aa4a00255bf5e2cf5a86613
Added to database: 09/12/2026, 00:42:42 UTC
Last enriched: 09/12/2026, 00:55:23 UTC
Last updated: 09/12/2026, 00:55:23 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.