firmware: arm_scmi: Quiesce notifications before teardown
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8e49055d0d495c9c07575ad8e111d9eaf0efb13f, Kernel 2aac23bc0a79af41104d99823bb250fae92ba144, Kernel 5e30d3d16d1a9e599be4dcea872874e65e2c277b and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1e7cbfaa66d39e78bd24df0c78b55df68176b59e <8e49055d0d495c9c07575ad8e111d9eaf0efb13f, >=1e7cbfaa66d39e78bd24df0c78b55df68176b59e <2aac23bc0a79af41104d99823bb250fae92ba144, >=1e7cbfaa66d39e78bd24df0c78b55df68176b59e <5e30d3d16d1a9e599be4dcea872874e65e2c277b, >=1e7cbfaa66d39e78bd24df0c78b55df68176b59e <6778bcabd2e0c32f73476f0bc6369013692540be, =5.15 | 8e49055d0d495c9c07575ad8e111d9eaf0efb13f, 2aac23bc0a79af41104d99823bb250fae92ba144, 5e30d3d16d1a9e599be4dcea872874e65e2c277b, 6778bcabd2e0c32f73476f0bc6369013692540be |
| linux-kernel: Kernel | >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=5.15.0 <6.12.110 | 6.18.52, 7.2.6, 6.12.110 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket