firmware: arm_scmi: Clean up channels on setup failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
22f7f35fd71b597a5d916e41d7646be6ee530c86| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_scmi: Clean up channels on setup failure
scmi_channels_setup() can fail after the common BASE channel or earlier protocol channels have already been registered in the TX/RX IDRs.
Route this failure through the existing channel cleanup label so the transport channels, transport devices and IDR state created before the failure are released before the probe error path frees the SCMI instance ID.
From the CVE record · Linux
The Linux kernel's ARM SCMI channel setup can fail after channels have been registered. Before the fix, that failure path did not release the registered channels, transport devices, and IDR state before freeing the SCMI instance ID. The input does not identify an attacker action, access requirement, or user interaction that triggers the failure.
Engineers running Linux kernels with ARM SCMI support should check their kernel versions against the vendor advisory; affected versions are not specified.