firmware: arm_scmi: Reject out of range DT protocol IDs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 75d6273a28cdb543a167ac5fbfca75dc286ffe10, Kernel 5142fd31bd8c9aff9bad4f6e0cc20e9574f2cee1, Kernel 59407ccb52130f2c81f4b3cbe4f14114afceb54f and 7 more.
In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scmi: Reject out of range DT protocol IDs SCMI protocol IDs carried in message headers are limited by MSG_PROTOCOL_ID_MASK. The DT parsing paths noticed protocol IDs outside that range, but only logged an error and then kept processing the invalid value. That lets a malformed 32-bit DT reg value reach helpers which take a u8 protocol ID, where it can be truncated and/or treated as a different protocol. For channel setup, two different out-of-range values can also be used as distinct IDR keys while aliasing the generated SCMI protocol identity. Skip DT protocol nodes whose reg value does not fit the SCMI protocol ID field before setting up channels or creating protocol devices.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=22f7f35fd71b597a5d916e41d7646be6ee530c86 <75d6273a28cdb543a167ac5fbfca75dc286ffe10, >=05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 <5142fd31bd8c9aff9bad4f6e0cc20e9574f2cee1, >=05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 <59407ccb52130f2c81f4b3cbe4f14114afceb54f, >=05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 <8eb2ab209570526728b35e39c4aecdb5099fbaf7, >=05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 <e66756313d1b4eadd13f39a0aee9fc8773d4d375, =6.3, >=05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 <0b6e59eb885f985a5ea7beed385adfa9412b324d | 75d6273a28cdb543a167ac5fbfca75dc286ffe10, 5142fd31bd8c9aff9bad4f6e0cc20e9574f2cee1, 59407ccb52130f2c81f4b3cbe4f14114afceb54f, 8eb2ab209570526728b35e39c4aecdb5099fbaf7, e66756313d1b4eadd13f39a0aee9fc8773d4d375, 0b6e59eb885f985a5ea7beed385adfa9412b324d |
| linux-kernel: Kernel | >=6.19.0 <7.2.6, >=6.3.0 <6.6.157, >=6.7.0 <6.12.110, >=6.13.0 <6.18.52 | 7.2.6, 6.6.157, 6.12.110, 6.18.52 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket