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=1795100092; b=Zg21jKHvs2qcWR0+yNfZcyVbEAe7WLhiSGHD/l3K9bm8F1u1ALdlxn0c/S/JY+batNk4 4Dq4L1CyB/j4QAtg7qdz0uMrr9rk2CgpEKhB2tyZqkvZFHz26tjg3J6V54K6gzB1fRuGe ZCjXnaF87Qvja4MtmhcIOLkbBIU3Rdb8GLy8gKlN0UqJH3UrTToLedhT1bWWKmYK9tkGj XKgubDn8vlA10kwrIidLwGg3ljEbd1/wWrlRD4T1utPCIPGKNZ5/XRJLVww1Ya71U0ivt NiaM49FUn53qUvbX8NQZiQ60dsFUrC65WdRugGi29/90CWY6uLPNX3Pj2d2PXROjBqA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100092; 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=KEXVl7/QhZCPUqxEShYAnpyfcnGXm0jT2EIIgg0NP4Q=; b=LN/SQQM+zQFZFt3JD4mb/xOcOzF9Xut9w+P8gYFbtr801dJL4atfFiUMkQMdOcaDFsNV f+znFPW5JaduVEt3Y75lwZh4LhIbsp8DrT7Gqcgx8OwH2c5XY9bIDE0XuvzqDy4A7JRdh S9lFopVFUOpa+REGcsaIj4QzFooucq40QQeKO8sYHPwL8Y/eemjOIeQgTeNZNGcacRQXJ JWHz06gAo7jfMlvQMBIKcNPBJtg+l9EWvj0MHUxso6Xbk+5J1OYhlR7pUrr3tGCjKeuiu aRkjVhyh5LkLYwM8zWvePOd3brJ/Ty9sIzDe10r5UfaaJjP0m87OEXjf6XknX4LaCzg== 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=sDaRnMmN; 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 AB01E606A326 for ; Thu, 19 Nov 2026 14:54:52 +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=sDaRnMmN Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D7A41F000CA; Thu, 19 Nov 2026 14:54:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100092; bh=KEXVl7/QhZCPUqxEShYAnpyfcnGXm0jT2EIIgg0NP4Q=; h=From:To:Cc:Subject:Date:Reply-To; b=sDaRnMmNzP+UjM+eo0f3FaNjestYgNGLu8kHN/iIll97v1ft7gQs6gDPMHenTdjYp hAHnQJ2tefTqm5N0SD5FgWOBDATCPa4d2z1WIGuURXnumoDc028CmYSK2R+seRWMZt r4Hhg3aTfoYzPii7g4toyvY8gFUITbz6uqtHOIdM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99475: genirq: Defer kfree(irqaction) until irq_thread_dtor() finishes Date: Thu, 19 Nov 2026 15:26:13 +0100 Message-ID: <2026111911-CVE-2026-99475-2b07@gregkh> X-Mailer: git-send-email 2.56.0 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=3180; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wgPUMvPTL1WV55cYxQAiJrfTm0CxnNQgYj5W6lG0bco=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2br3c6zK+SH4aoXShOZz7zzmxU1oE8rYvPdldxzvz Zs1K/T3dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBELnYyLJjGuP6TzvqX77dJ LlVIYXpwrjF+awPD/OS+oy5H91bqn7Kb9khDoUa9kOO4AwA= 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: genirq: Defer kfree(irqaction) until irq_thread_dtor() finishes When an interrupt thread exits abnormally via do_exit() (e.g. the interrupt handler oopses) without returning from irq_thread(), a concurrent call to free_irq() could free the irqaction before the irq_thread_dtor() exit task work runs. irq thread (oopsed) free_irq() ------------------- ---------- do_exit() exit_mm() complete_vfork_done() -------> kthread_stop() returns exit_files() ... kfree(action) exit_task_work() irq_thread_dtor() action->... <- use-after-free Track the pending exit work with the IRQTF_EXIT_WORK thread flag, and have __free_irq() wait for the bit to clear before kfree(). irq_thread_dtor() only runs on irq_thread abnormal exit. If that dtor also faults, free_irq() will hang indefinitely, but double IRQ thread faults require a reboot anyways. [ tglx: Add missing include ] The Linux kernel CVE team has assigned CVE-2026-99475 to this issue. Affected and fixed versions =========================== Issue introduced in 3.6 with commit ed3e694d78cc75fa79bf29698631b146fd27aa35 and fixed in 6.12.117 with commit ec397edc4c8ca868865953926831b539698469e6 Issue introduced in 3.6 with commit ed3e694d78cc75fa79bf29698631b146fd27aa35 and fixed in 6.18.61 with commit a6deaadd460a3a3cfd59c857247097e8da892af8 Issue introduced in 3.6 with commit ed3e694d78cc75fa79bf29698631b146fd27aa35 and fixed in 7.3.2 with commit 08aaea3e62b2ddc69a65d52609a5924559d05af2 Issue introduced in 3.6 with commit ed3e694d78cc75fa79bf29698631b146fd27aa35 and fixed in 7.4-rc1 with commit d04adff6860587e843948b0c31174f8ae11b8dfe 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-99475 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: kernel/irq/internals.h kernel/irq/manage.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/ec397edc4c8ca868865953926831b539698469e6 https://git.kernel.org/stable/c/a6deaadd460a3a3cfd59c857247097e8da892af8 https://git.kernel.org/stable/c/08aaea3e62b2ddc69a65d52609a5924559d05af2 https://git.kernel.org/stable/c/d04adff6860587e843948b0c31174f8ae11b8dfe