CVE-2026-93091: firmware: arm_scmi: Quiesce notifications before teardown
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_scmi: Quiesce notifications before teardown
scmi_notification_exit() clears and releases the notification instance, but transport callbacks can still deliver incoming notifications until the TX/RX channels are freed. During remove, an RX interrupt in that window can enter scmi_notify() while notification state is being torn down and then dereference freed memory. The same ordering exists on the probe error path after notification initialization.
The notification late-init worker has a separate lifetime issue: protocol event registration queues ni->init_work on the system workqueue, so destroying ni->notify_wq does not drain that work. If the devres group is released while init_work is still pending or running, the late-init worker can dereference the freed notification instance.
Quiesce the notification core before TX/RX channels are torn down, then clean up the channels before releasing the notification core resources. Use disable_work_sync() so future late-init queueing is rejected and any already queued or running late-init work has completed before channel teardown starts.
The Linux kernel CVE team has assigned CVE-2026-93091 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.15 with commit 1e7cbfaa66d39e78bd24df0c78b55df68176b59e and fixed in 6.12.110 with commit 6778bcabd2e0c32f73476f0bc6369013692540be Issue introduced in 5.15 with commit 1e7cbfaa66d39e78bd24df0c78b55df68176b59e and fixed in 6.18.52 with commit 2aac23bc0a79af41104d99823bb250fae92ba144 Issue introduced in 5.15 with commit 1e7cbfaa66d39e78bd24df0c78b55df68176b59e and fixed in 7.2.6 with commit 5e30d3d16d1a9e599be4dcea872874e65e2c277b Issue introduced in 5.15 with commit 1e7cbfaa66d39e78bd24df0c78b55df68176b59e and fixed in 7.3-rc1 with commit 8e49055d0d495c9c07575ad8e111d9eaf0efb13f
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-93091
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/firmware/arm_scmi/driver.c
drivers/firmware/arm_scmi/notify.c
drivers/firmware/arm_scmi/notify.h
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/6778bcabd2e0c32f73476f0bc6369013692540be https://git.kernel.org/stable/c/2aac23bc0a79af41104d99823bb250fae92ba144 https://git.kernel.org/stable/c/5e30d3d16d1a9e599be4dcea872874e65e2c277b https://git.kernel.org/stable/c/8e49055d0d495c9c07575ad8e111d9eaf0efb13f