Skip to contentSkip to conversation

CVE-2026-93086: firmware: arm_scmi: Avoid IDR updates while cleaning channels

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: Avoid IDR updates while cleaning channels

scmi_cleanup_channels() walks the TX/RX channel IDRs with idr_for_each() to free transport resources and destroy the dedicated transport devices before calling idr_destroy().

The destroy callback removed each entry from the same IDR being walked. That is not needed for this cleanup path, and it is unsafe because idr_for_each() has not advanced its radix-tree iterator while the callback is running. Removing the current entry from the callback can invalidate the iterator state. The callback also cannot be protected by rcu_read_lock(), because scmi_device_destroy() may sleep.

Leave IDR teardown to the following idr_destroy() call and keep the callback limited to device destruction.

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

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

	Issue introduced in 6.3 with commit 05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 and fixed in 6.6.157 with commit aed24a3c63920539e9de7fbfe7929a2e7c888cd2
	Issue introduced in 6.3 with commit 05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 and fixed in 6.12.110 with commit 431c6b872ba7fedcc5a3afb0ec3517db4d95d088
	Issue introduced in 6.3 with commit 05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 and fixed in 6.18.52 with commit 54e5a4f7d83db4552d963d0785be32d9df680dcd
	Issue introduced in 6.3 with commit 05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 and fixed in 7.2.6 with commit bab26acebe55e8ad3ab545abda72faa7ca28c477
	Issue introduced in 6.3 with commit 05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 and fixed in 7.3-rc1 with commit c38b1e19485aaa820e52cfe162525a8af67563da

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

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

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/aed24a3c63920539e9de7fbfe7929a2e7c888cd2
	https://git.kernel.org/stable/c/431c6b872ba7fedcc5a3afb0ec3517db4d95d088
	https://git.kernel.org/stable/c/54e5a4f7d83db4552d963d0785be32d9df680dcd
	https://git.kernel.org/stable/c/bab26acebe55e8ad3ab545abda72faa7ca28c477
	https://git.kernel.org/stable/c/c38b1e19485aaa820e52cfe162525a8af67563da