Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFC4237F312 for ; Sat, 15 Aug 2026 06:30:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775446; cv=none; b=JRDbyk+kb9IrR64z5dU63fjn40DSnqmxAAjiZCG3qYlpfwwItTuxx/itcq5fhX/X9CYaNfxWJUK/05d3tMkW8KFXCgwC7gpWQrMUEJelnNz+piv3wDyq7pPxZvlEWjCTAMlEIwf/E7sdnvJVr/P8fDcBdhXDMDpns4Z9D8xL1vM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775446; c=relaxed/simple; bh=5M98tFGq+j6ehs7MLFxuSSJ16f/ZBXtR/qx4qTVBh6k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=m5+OiRs73yBobRRAO2Ak0PLF5D/G/sx890DtRK0lEjCNi8w7p+TaOQ17XCqSJ00nlk5hqeNiZTW/lvaOyIDlLSBsEpw/tcmtS1nUIPfOiehlu1Gu6S5in4Fv6MlMMH2ZST4SNpFeFQL5CZQSkX+dBWNA3/pu2IQ49nPLfb0Hq+E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GUyRcSFn; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GUyRcSFn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F24F1F000E9; Sat, 15 Aug 2026 06:30:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775444; bh=UsP35whEDbqetkzTdJ+mL/XGHLGoPVcBiCT6gzGbVf0=; h=From:To:Cc:Subject:Date:Reply-To; b=GUyRcSFn+Hlp9zah8UD6ICeOQWmGG+uy84t7KlYtcLEH+ZfneRL06043mQJmBhYs8 oaZeXBD+TX/SuaZyUnWmcOG6Ow6dOZJjv1NQ+CMip1X++cA20gv8TBIPbme00sP1/G HVcY9yY0Z5tLf26qJH69q+amRQZ9Yc18Va+HXOM8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72486: mailbox: mtk-adsp: fix UAF during device teardown Date: Sat, 15 Aug 2026 15:09:25 +0900 Message-ID: <2026081538-CVE-2026-72486-4bac@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4006; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YhEqxMHsY34sYeWBq/gqULgIezgETOx8gu0eCr+VnNE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDP8i7TX+3eNvjMt6vGJmz6LA1Pv3hKomBKdfSJTiM Hc4dMeiI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbSZcCw4EDCypsL1kSYGtl0 lu1vee8j+1jVjWGeRUDDf3erOYxdofNN5zRHb5o3Mfw5AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: mailbox: mtk-adsp: fix UAF during device teardown When the SOF audio driver fails to initialize (e.g. firmware boot timeout), its devres unwind frees the snd_sof_dev object that the mailbox client (mtk-adsp-ipc) reaches via chan->cl->rx_callback. The mtk-adsp-mailbox shutdown clears the mailbox command registers but leaves the IRQ line unmasked, so a late interrupt can still queue a threaded handler after mbox_free_channel() had cleared chan->cl, and mbox_chan_received_data() would then trigger UAF: BUG: KASAN: slab-use-after-free in sof_ipc3_validate_fw_version sof_ipc3_validate_fw_version sof_ipc3_do_rx_work sof_ipc3_rx_msg mt8196_dsp_handle_request mtk_adsp_ipc_recv mbox_chan_received_data mtk_adsp_mbox_isr irq_thread_fn Freed by task ...: kfree devres_release_all really_probe ... (sof-audio-of-mt8196 probe failure) The crash was observed roughly three seconds after the failed probe. disable_irq() in shutdown and enable_irq() in startup. disable_irq() also waits for any in-flight interrupts, so by the time mbox_free_channel() proceeds to clear chan->cl no rx_callback can run. In addition, request the IRQ with IRQF_NO_AUTOEN so it stays masked between probe and the first client bind — otherwise an early interrupt can crash on chan->cl == NULL in mbox_chan_received_data(). The Linux kernel CVE team has assigned CVE-2026-72486 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit af2dfa96c52d042df5deb29fb6e32d3ff4d76a61 and fixed in 6.1.178 with commit b6337a08a63eef8efcffe3c01d479badda6bbbdb Issue introduced in 5.18 with commit af2dfa96c52d042df5deb29fb6e32d3ff4d76a61 and fixed in 6.6.145 with commit e519c1d8c5efb5cd8d4c5bb3fe39b1bbb812bdb9 Issue introduced in 5.18 with commit af2dfa96c52d042df5deb29fb6e32d3ff4d76a61 and fixed in 6.12.97 with commit fc6c3deb1d4c0adebf7dee0b8af4082af3f17690 Issue introduced in 5.18 with commit af2dfa96c52d042df5deb29fb6e32d3ff4d76a61 and fixed in 6.18.40 with commit 7d881615fb6373f71fc628b3f00186aeca87a3d5 Issue introduced in 5.18 with commit af2dfa96c52d042df5deb29fb6e32d3ff4d76a61 and fixed in 7.1.5 with commit 25d6ea6c76e1b1b7c57337b2f8f1b6fc8d5c52bc Issue introduced in 5.18 with commit af2dfa96c52d042df5deb29fb6e32d3ff4d76a61 and fixed in 7.2-rc1 with commit b57d1a40bc43258372fa1f4d39305e093947a262 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-72486 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: drivers/mailbox/mtk-adsp-mailbox.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/b6337a08a63eef8efcffe3c01d479badda6bbbdb https://git.kernel.org/stable/c/e519c1d8c5efb5cd8d4c5bb3fe39b1bbb812bdb9 https://git.kernel.org/stable/c/fc6c3deb1d4c0adebf7dee0b8af4082af3f17690 https://git.kernel.org/stable/c/7d881615fb6373f71fc628b3f00186aeca87a3d5 https://git.kernel.org/stable/c/25d6ea6c76e1b1b7c57337b2f8f1b6fc8d5c52bc https://git.kernel.org/stable/c/b57d1a40bc43258372fa1f4d39305e093947a262