Skip to contentSkip to conversation

CVE-2026-93081: firmware: arm_scmi: Fix SCMI device destroy lifetimes

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

firmware: arm_scmi: Fix SCMI device destroy lifetimes

scmi_child_dev_find() drops the reference returned by device_find_child() before returning the scmi_device pointer. A concurrent unregister can then release the device while the destroy path is still using the returned pointer.

Make the lookup helper return the device_find_child() reference and keep it until scmi_device_destroy() has finished unregistering the child.

Also split device_unregister() in __scmi_device_destroy() so the SCMI bus ID is not made reusable until after device_del() has removed the old scmi_dev.N name from sysfs. This avoids a new SCMI device reusing the same ID while the old device is still registered.

The final device release callback is also a possible cleanup path when SCMI children are deleted by driver core recursion rather than __scmi_device_destroy(). Release the SCMI bus ID from a common helper used by destroy, register-failure and final-release paths, and clear scmi_dev->id after freeing it so the final release cannot free the same ID again.

The Linux kernel CVE team has assigned CVE-2026-93081 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.15 with commit 9ca67840c0ddf3f39407339624cef824a4f27599 and fixed in 7.2.6 with commit c59b3393df1348a12308aaabd5fbc58ed6b21cf5
	Issue introduced in 6.15 with commit 9ca67840c0ddf3f39407339624cef824a4f27599 and fixed in 7.3-rc1 with commit 6abe8fe36b29ff51d1a42c2f338972883f4751a5
	Issue introduced in 5.15.182 with commit 91ff1e9652fb9beb0174267d6bb38243dff211bb
	Issue introduced in 6.1.138 with commit ff4273d47da81b95ed9396110bcbd1b7b7470fe8
	Issue introduced in 6.6.90 with commit 2fbf6c9695ad9f05e7e5c166bf43fac7cb3276b3
	Issue introduced in 6.12.28 with commit 969d8beaa2e374387bf9aa5602ef84fc50bb48d8
	Issue introduced in 6.14.6 with commit 8a8a3547d5c4960da053df49c75bf623827a25da

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-93081

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/bus.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/c59b3393df1348a12308aaabd5fbc58ed6b21cf5
	https://git.kernel.org/stable/c/6abe8fe36b29ff51d1a42c2f338972883f4751a5