Skip to contentSkip to conversation

CVE-2026-93084: firmware: arm_scmi: Drop handle on protocol bind failures

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: Drop handle on protocol bind failures

The SCMI bus notifier acquires an SCMI handle when the driver core emits BUS_NOTIFY_BIND_DRIVER, before invoking the protocol driver probe callback. The protocol probe path only checks whether sdev->handle is set.

If device_link_add() fails after the handle has been acquired, the protocol device can still bind with a valid handle but without the dependency link to the SCMI parent. A concurrent parent unbind can then miss the child and tear down the SCMI instance while the child still holds a handle into it.

If the protocol driver probe later fails, for example with -EPROBE_DEFER, the driver core emits BUS_NOTIFY_DRIVER_NOT_BOUND rather than BUS_NOTIFY_UNBOUND_DRIVER. The SCMI notifier only released the handle on BUS_NOTIFY_UNBOUND_DRIVER, so each failed protocol-device bind leaked the SCMI instance users refcount and left sdev->handle set after the failed probe.

Make the link helper report failure and drop the acquired handle if the link cannot be created. Also handle BUS_NOTIFY_DRIVER_NOT_BOUND in the same cleanup path used for unbind so failed probes balance the earlier BUS_NOTIFY_BIND_DRIVER acquisition.

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

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

	Issue introduced in 6.3 with commit 971fc0665f1361f23251e4d85fac4aed1b683505 and fixed in 6.6.157 with commit 0f860db24ee95e5da4866303a35e55098b9641b3
	Issue introduced in 6.3 with commit 971fc0665f1361f23251e4d85fac4aed1b683505 and fixed in 6.12.110 with commit df273eced7cec550465fd1bb82a5d2c3c7d3c437
	Issue introduced in 6.3 with commit 971fc0665f1361f23251e4d85fac4aed1b683505 and fixed in 6.18.52 with commit a54dc23e8bd2246c28eafffa60b4634f0d1a11cc
	Issue introduced in 6.3 with commit 971fc0665f1361f23251e4d85fac4aed1b683505 and fixed in 7.2.6 with commit 77d2985d1e80e67f32026fc03e975c4c83cc543d
	Issue introduced in 6.3 with commit 971fc0665f1361f23251e4d85fac4aed1b683505 and fixed in 7.3-rc1 with commit e3a5c30d233ca5d3e799a80da806554c703bda13

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

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/0f860db24ee95e5da4866303a35e55098b9641b3
	https://git.kernel.org/stable/c/df273eced7cec550465fd1bb82a5d2c3c7d3c437
	https://git.kernel.org/stable/c/a54dc23e8bd2246c28eafffa60b4634f0d1a11cc
	https://git.kernel.org/stable/c/77d2985d1e80e67f32026fc03e975c4c83cc543d
	https://git.kernel.org/stable/c/e3a5c30d233ca5d3e799a80da806554c703bda13