{"id":"CVE-2026-72486","aliases":["CVE-2026-72486"],"related":[],"kind":"vulnerability","state":"published","title":"mailbox: mtk-adsp: fix UAF during device teardown","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: mtk-adsp: fix UAF during device teardown\n\nWhen the SOF audio driver fails to initialize (e.g. firmware boot\ntimeout), its devres unwind frees the snd_sof_dev object that the\nmailbox client (mtk-adsp-ipc) reaches via chan->cl->rx_callback.\nThe mtk-adsp-mailbox shutdown clears the mailbox command registers\nbut leaves the IRQ line unmasked, so a late interrupt can still\nqueue a threaded handler after mbox_free_channel() had cleared\nchan->cl, and mbox_chan_received_data() would then trigger UAF:\n\n  BUG: KASAN: slab-use-after-free in sof_ipc3_validate_fw_version\n   sof_ipc3_validate_fw_version\n   sof_ipc3_do_rx_work\n   sof_ipc3_rx_msg\n   mt8196_dsp_handle_request\n   mtk_adsp_ipc_recv\n   mbox_chan_received_data\n   mtk_adsp_mbox_isr\n   irq_thread_fn\n  Freed by task ...:\n   kfree\n   devres_release_all\n   really_probe\n   ... (sof-audio-of-mt8196 probe failure)\n\nThe crash was observed roughly three seconds after the failed probe.\n\ndisable_irq() in shutdown and enable_irq() in startup. disable_irq()\nalso waits for any in-flight interrupts, so by the time\nmbox_free_channel() proceeds to clear chan->cl no rx_callback can run.\n\nIn addition, request the IRQ with IRQF_NO_AUTOEN so it stays masked\nbetween probe and the first client bind — otherwise an early interrupt\ncan crash on chan->cl == NULL in mbox_chan_received_data().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: mtk-adsp: fix UAF during device teardown\n\nWhen the SOF audio driver fails to initialize (e.g. firmware boot\ntimeout), its devres unwind frees the snd_sof_dev object that the\nmailbox client (mtk-adsp-ipc) reaches via chan->cl->rx_callback.\nThe mtk-adsp-mailbox shutdown clears the mailbox command registers\nbut leaves the IRQ line unmasked, so a late interrupt can still\nqueue a threaded handler after mbox_free_channel() had cleared\nchan->cl, and mbox_chan_received_data() would then trigger UAF:\n\n  BUG: KASAN: slab-use-after-free in sof_ipc3_validate_fw_version\n   sof_ipc3_validate_fw_version\n   sof_ipc3_do_rx_work\n   sof_ipc3_rx_msg\n   mt8196_dsp_handle_request\n   mtk_adsp_ipc_recv\n   mbox_chan_received_data\n   mtk_adsp_mbox_isr\n   irq_thread_fn\n  Freed by task ...:\n   kfree\n   devres_release_all\n   really_probe\n   ... (sof-audio-of-mt8196 probe failure)\n\nThe crash was observed roughly three seconds after the failed probe.\n\ndisable_irq() in shutdown and enable_irq() in startup. disable_irq()\nalso waits for any in-flight interrupts, so by the time\nmbox_free_channel() proceeds to clear chan->cl no rx_callback can run.\n\nIn addition, request the IRQ with IRQF_NO_AUTOEN so it stays masked\nbetween probe and the first client bind — otherwise an early interrupt\ncan crash on chan->cl == NULL in mbox_chan_received_data().","source":"cvelist"}],"published":"2026-08-15T05:57:22.821Z","modified":"2026-08-17T06:19:16.810Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"af2dfa96c52d042df5deb29fb6e32d3ff4d76a61","fixed":"b6337a08a63eef8efcffe3c01d479badda6bbbdb","status":"affected"},{"type":"git","introduced":"af2dfa96c52d042df5deb29fb6e32d3ff4d76a61","fixed":"e519c1d8c5efb5cd8d4c5bb3fe39b1bbb812bdb9","status":"affected"},{"type":"git","introduced":"af2dfa96c52d042df5deb29fb6e32d3ff4d76a61","fixed":"fc6c3deb1d4c0adebf7dee0b8af4082af3f17690","status":"affected"},{"type":"git","introduced":"af2dfa96c52d042df5deb29fb6e32d3ff4d76a61","fixed":"7d881615fb6373f71fc628b3f00186aeca87a3d5","status":"affected"},{"type":"git","introduced":"af2dfa96c52d042df5deb29fb6e32d3ff4d76a61","fixed":"25d6ea6c76e1b1b7c57337b2f8f1b6fc8d5c52bc","status":"affected"},{"type":"git","introduced":"af2dfa96c52d042df5deb29fb6e32d3ff4d76a61","fixed":"b57d1a40bc43258372fa1f4d39305e093947a262","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b6337a08a63eef8efcffe3c01d479badda6bbbdb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e519c1d8c5efb5cd8d4c5bb3fe39b1bbb812bdb9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc6c3deb1d4c0adebf7dee0b8af4082af3f17690","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d881615fb6373f71fc628b3f00186aeca87a3d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/25d6ea6c76e1b1b7c57337b2f8f1b6fc8d5c52bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b57d1a40bc43258372fa1f4d39305e093947a262","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72486","url":"https://www.cve.org/CVERecord?id=CVE-2026-72486","licence":"CVE Terms of Use","modified":"2026-08-17T05:15:36.888Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72486","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72486","licence":"Public domain","modified":"2026-08-17T06:19:16.810Z"}],"updatedAt":"2026-11-25T22:59:33.139Z","epss":{"score":0.00173,"percentile":0.0697,"date":"2026-12-01T12:00:22.000Z"}}