firmware: arm_scmi: Roll back partial protocol table registration
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
1294e1d50d96a3990dd115fda90bb120ec53f329| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
firmware: arm_scmi: Roll back partial protocol table registration
scmi_protocol_table_register() can leave earlier requests registered when a later entry in the same ID table fails. Each request retains a pointer to the driver's ID table, so a failed module load can leave a dangling pointer after the module storage is released.
Unrequest only the successfully registered prefix, in reverse order, before returning the failure. Leave the failed entry and the remaining entries untouched because matching requests can be owned by another driver.
From the CVE record · Linux
The Linux kernel’s ARM SCMI protocol registration can leave earlier requests registered if a later entry fails. If the module load then fails and its storage is released, those requests retain a dangling pointer to the driver’s ID table. The input does not establish how an attacker could trigger or exploit this condition, or whether access or user interaction is required.
Engineers running Linux kernels with ARM SCMI support should check their versions; affected versions are not specified.