From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795158168; b=jJ7/gVvs0oDon92tbfJbD8A8rPX2y7SCP0M5iGn5x8xZaFtatkgp4fnbagt1+9VPXyEq 9i4fVACejHz7XP/S9huZax7jswZ1UxtSC0XScGLba/4Ex5PSeiVy3KOpTGyhMg2OrRmQA MKYhkTFEVWQoXPX9lyQIBnbeIByvYNpVXa42ve86mCJ073Gyna9USEV7HjjEM0JTe5CYb oLGQDOhErEFItOEPSAlS+MPuZ6qTCPzkCE7Pm97Gm3UN3OYWqxSFz6RvBUr3zD41K5c8i c/2qR/BfFSAcAt8BGVqzC1bRIOnyZhzYJjqk9y0JuOtEsDpkyD9QUo2Lh+92SX7YmiQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795158168; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=8MDtODzoXLxl7Wt103QKu/WRxq9WyXSGAu8nMbbr7Dw=; b=lj/NHvLQJGUEtohSgemBm+Y5u6KeK5po7V//dPJw7WVoAFF6oBQnmi6tNfTtd3JlD8fw eq5wS74tucriek4k5zdu9DGVeycDgTnTOvT6jAxqGL3BaRbLq7m4x4FnAWttLvplyk6Cn 1F3NstkmJg25cpNA61M2QMdvXS4AIwRucNjsTVmmwjAzQHy83SziXRwGGIdAhsG5AVjY8 oRcl3bG7tLdNwG2/H94GG38IqTGC49/PO8SUuOrSW6l9UuzjVVrhTjibu+kx0k1Zqwl2X u6NkYhIKXBr9jzH3TLODOnEdIbmWchZHHQLol2pQhXEGgKKAXdU7OPkhHtO8hznfY1Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=mPpmwvf9; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB930606A320 for ; Fri, 20 Nov 2026 07:02:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=mPpmwvf9 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26FCA1F000C4; Fri, 20 Nov 2026 07:02:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795158168; bh=8MDtODzoXLxl7Wt103QKu/WRxq9WyXSGAu8nMbbr7Dw=; h=From:To:Cc:Subject:Date:Reply-To; b=mPpmwvf9fVpA/fgpc+T1xSSr9WFx/Jf0MUw1M8cUpYsCXk2QzdP8gbvBtZAw8VxFY m+6rNQYspCxoupysBBj8lDUM/TEb+Gs0ONw/ahb4LEN8OxDYrkeySjiOpN/PEmcn3T i9W4mcpL1IkJYPIl/uOt6LCeTFnsKUBQjMlov7is= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99804: io_uring/io-wq: save worker type before dropping its reference Date: Fri, 20 Nov 2026 08:02:23 +0100 Message-ID: <2026112018-CVE-2026-99804-a2ce@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3104; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2k4NuAsLWy8YpFd8CUT+VKDp7lQ93L0BIOGfe2xrl/g=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/P1T987SYvGhHLXtlvf2Cads+hulsFj+8/r7ybAHGG p6XDJy/O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi7g0Mc/g7TjHstZ5yM+r9 dPaYWUJbvKxnBjLMD5Dm6hdxPH5bhEN2ik7q4elvUlg3AQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: io_uring/io-wq: save worker type before dropping its reference io_wq_cancel_tw_create() inspects cb->func after calling io_worker_cancel_cb(). For an existing worker, that call can drop the last worker reference and wake io_worker_exit(). If the canceling task is preempted, the worker can be unlinked and freed by kfree_rcu() before the callback function is inspected. KASAN reports a slab-use-after-free read in this path. Save whether the callback belongs to an unpublished continuation worker while its reference is still held, then use the saved result for the conditional free. This preserves the existing accounting and frees only the worker allocated for the canceled continuation. The Linux kernel CVE team has assigned CVE-2026-99804 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit e6db6f9398dadcbc06318a133d4c44a2d3844e61 and fixed in 6.12.117 with commit 9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 Issue introduced in 6.2 with commit e6db6f9398dadcbc06318a133d4c44a2d3844e61 and fixed in 6.18.61 with commit 2efcf743664ab4a83b4fae1f152bbea1d298e73f Issue introduced in 6.2 with commit e6db6f9398dadcbc06318a133d4c44a2d3844e61 and fixed in 7.3.2 with commit 11239f2b509cd09d76c564b5fe262c70bad8ea3c Issue introduced in 6.2 with commit e6db6f9398dadcbc06318a133d4c44a2d3844e61 and fixed in 7.4-rc1 with commit 37e425460b7c41687e51e3254b1eb1d799da9614 Issue introduced in 5.10.164 with commit a88a0d16e18f18d7221f0c5a1fdf487f5f9079e3 Issue introduced in 5.15.89 with commit ba86db02d408ae362ee5f1cde52ffafb37b41ce5 Issue introduced in 6.1.7 with commit e62e6258ab140b55bbef1f0d288263b75e2f0c20 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99804 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: io_uring/io-wq.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 https://git.kernel.org/stable/c/2efcf743664ab4a83b4fae1f152bbea1d298e73f https://git.kernel.org/stable/c/11239f2b509cd09d76c564b5fe262c70bad8ea3c https://git.kernel.org/stable/c/37e425460b7c41687e51e3254b1eb1d799da9614