{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-89675","published":"2026-09-11T20:19:54.143000Z","last_modified":"2026-10-19T09:18:05.750000Z","status":"Received","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":false,"cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-89675/","html_en":"/en/cve/CVE-2026-89675/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89675","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89675"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix UAF in async copy cancel and shutdown\n\nAn async copy could be freed or used after free while a teardown caller\n(OFFLOAD_CANCEL, nfsd4_shutdown_copy, nfsd4_cancel_copy_by_sb) raced the\ncopy kthread:\n\n  - find_async_copy() bumped copy->refcount but left the copy on\n    clp->async_copies, so the reaper's cleanup_async_copy() could run\n    release_copy_files() concurrently with a cancel/shutdown caller. Both\n    put and NULL nf_src/nf_dst without a common lock, double-putting the\n    nfsd_file and freeing it early.\n\n  - nfsd4_do_async_copy() set NFSD4_COPY_F_STOPPED before its final uses\n    of the copy (nfsd_update_cmtime_attr() on copy->nf_dst,\n    nfsd4_send_cb_offload()). nfsd4_stop_copy() treats a set STOPPED bit\n    as \"kthread done, skip kthread_stop()\", so a teardown caller ran\n    release_copy_files() -- which puts and NULLs nf_dst -- while the\n    kthread still dereferenced it (NULL/UAF).\n\n  - copy->copy_task was never pinned. The one-shot kthread self-reaps on\n    return, so kthread_stop()'s get_task_struct() could touch a freed\n    task_struct.\n\n  - co_cb is embedded in the copy, but nfsd4_send_cb_offload() held a\n    reference only on the client, so a concurrent teardown could free\n    the copy while the CB_OFFLOAD callback was in flight.\n\nFix the teardown lifetime as a whole:\n\n  - find_async_copy() unlinks the copy (clear cp_clp, list_del_init)\n    under async_lock; the cancel, shutdown, and sb-cancel paths drop the\n    list-membership reference via nfs4_put_copy() after nfsd4_stop_copy().\n    Drop the now-redundant list_del fixup from cleanup_async_copy().\n\n  - Because unlinking hides the copy from the reaper, its\n    cleanup_async_copy() can no longer remove the copy's s2s_cp_stateids\n    entry; the cancel/shutdown/sb-cancel paths now call\n    nfs4_free_copy_state() themselves (while cp_clp is still valid) so\n    the entry does not dangle at freed memory for the laundromat and\n    manage_cpntf_state() to dereference.\n\n  - Give the kthread its own reference, taken in nfsd4_copy() before\n    wake_up_process() and dropped at the end of nfsd4_do_async_copy();\n    call wake_up_process() before list_add().\n\n  - Pin the task_struct with get_task_struct() in nfsd4_copy(), released\n    in nfs4_put_copy(), so kthread_stop() is safe whenever the kthread\n    exits. Set NFSD4_COPY_F_STOPPED only in nfsd4_stop_copy(), which now\n    always kthread_stop()s before release_copy_files(); completion is\n    still reported via NFSD4_COPY_F_COMPLETED, so\n    nfsd4_has_active_async_copies() is unaffected. Each teardown caller\n    removes the copy from clp->async_copies first, so kthread_stop() runs\n    exactly once.\n\n  - Take a copy reference in nfsd4_send_cb_offload(), dropped in\n    nfsd4_cb_offload_release(). The kthread still holds its own reference\n    there, so the refcount_inc() cannot race the final free.\n\n  - Read cp_clp with smp_load_acquire() to pair with the unordered\n    set_bit()/clear_bit() writers (Documentation/atomic_bitops.rst).","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"de01e2d2447332a01039ccc31f38bf73","generated":"2026-11-26T21:04:40.159316Z","es":{"untrusted_title":"Use-after-free en cancelación de copia asincrónica y apagado en nfsd del kernel…","untrusted_summary":"El subsistema nfsd del kernel Linux contiene múltiples vulnerabilidades de use-after-free (UAF) en la gestión de copias asincrónicas. Un atacante remoto sin autenticación puede explotar condiciones de carrera entre hilos de copia y operaciones de cancelación/apagado para causar corrupción de memoria, denegación de servicio o ejecución de código arbitrario."},"en":{"untrusted_title":"Use-after-free in async copy cancel and shutdown in Linux kernel nfsd","untrusted_summary":"The Linux kernel nfsd subsystem contains multiple use-after-free (UAF) vulnerabilities in async copy management. An unauthenticated remote attacker can exploit race conditions between copy threads and cancel/shutdown operations to cause memory corruption, denial of service, or arbitrary code execution."},"remediation":{"status":"fix","fixed_versions":[],"untrusted_action_es":"Actualiza el kernel Linux a una versión que incluya los parches de corrección para nfsd. Consulta los commits de estabilización del kernel en las referencias.","untrusted_action_en":"Update the Linux kernel to a version that includes the nfsd fix patches. Check the kernel stable commits in the references.","vendor_url":"https://git.kernel.org/stable/c/62c0f6eaf050bb9284c1f9cac6ed1770092e6b95"},"reviewed":false},"references":[{"url":"https://git.kernel.org/stable/c/62c0f6eaf050bb9284c1f9cac6ed1770092e6b95","tags":[]},{"url":"https://git.kernel.org/stable/c/9031493ef7369d5c59c4bacc96f0c85965f09a98","tags":[]},{"url":"https://git.kernel.org/stable/c/a385cf5e016b748babf94cc664e43a26e17db117","tags":[]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:98608","url":"https://access.redhat.com/errata/RHSA-2026:98608","published":"2026-11-13T18:51:21+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security, bug fix, and enhancement update"}},{"source":"redhat","id":"RHSA-2026:77690","url":"https://access.redhat.com/errata/RHSA-2026:77690","published":"2026-10-10T10:22:27+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security, bug fix, and enhancement update"}},{"source":"suse","id":"openSUSE-SU-2026:11805-1","url":"https://www.suse.com/support/update/","published":"2026-09-17T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"kernel-devel-7.2.6-1.1 on GA media"}}]}