Skip to contentSkip to conversation

CVE-2026-92490: firmware: arm_scmi: Unrequest devices if driver registration fails

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: Unrequest devices if driver registration fails

scmi_driver_register() requests protocol devices before registering the driver. If driver_register() fails, those requests remain in the global IDR and retain pointers to the module's ID table. Once the failed module load releases that storage, later request matching or SCMI device creation can dereference the stale pointers.

Unrequest the complete protocol table before returning the registration failure. At this point table registration succeeded, so every entry is owned by the current registration attempt.

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

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

	Issue introduced in 6.3 with commit d3cd7c525fd2ecce3a6c963f314969a54783d211 and fixed in 6.6.157 with commit 524e57035af2d32498af9dd8fa6fdc92fcc8f80a
	Issue introduced in 6.3 with commit d3cd7c525fd2ecce3a6c963f314969a54783d211 and fixed in 6.12.110 with commit 06e65e07a1bcb39a1ebc8bb89a981f8e07900497
	Issue introduced in 6.3 with commit d3cd7c525fd2ecce3a6c963f314969a54783d211 and fixed in 6.18.52 with commit a76b20b1f03099204db29b90e1024fe1c2b2cdd7
	Issue introduced in 6.3 with commit d3cd7c525fd2ecce3a6c963f314969a54783d211 and fixed in 7.2.6 with commit 4520d4a1db37198756ad23568e36cdf091b6ffff
	Issue introduced in 6.3 with commit d3cd7c525fd2ecce3a6c963f314969a54783d211 and fixed in 7.3-rc1 with commit 9f7cd6a62aa754ed6b48cbd5d50de40add1bcc86

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

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/524e57035af2d32498af9dd8fa6fdc92fcc8f80a
	https://git.kernel.org/stable/c/06e65e07a1bcb39a1ebc8bb89a981f8e07900497
	https://git.kernel.org/stable/c/a76b20b1f03099204db29b90e1024fe1c2b2cdd7
	https://git.kernel.org/stable/c/4520d4a1db37198756ad23568e36cdf091b6ffff
	https://git.kernel.org/stable/c/9f7cd6a62aa754ed6b48cbd5d50de40add1bcc86