firmware: arm_scmi: Free transport channel on IDR failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 · < d72e7e5f24687c0490aabf317653caffe0447aeb| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_scmi: Free transport channel on IDR failure
If transport channel setup succeeds but the following IDR insertion fails, the error path destroys the transport device and frees the channel info without invoking the transport cleanup callback.
Call chan_free() before destroying the device so transport specific resources such as IRQs, mailbox channels and mapped shared memory are released consistently with the normal teardown path.
From the CVE record · Linux
The Linux kernel’s ARM SCMI firmware code can fail to release transport resources if channel setup succeeds but IDR insertion fails. The error path may leave IRQs, mailbox channels, or mapped shared memory allocated. The input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with ARM SCMI support should check their versions; affected versions are not specified.