Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
22f7f35fd71b597a5d916e41d7646be6ee530c86 to < 75d6273a28cdb543a167ac5fbfca75dc286ffe10affected05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 to < 8eb2ab209570526728b35e39c4aecdb5099fbaf7affected05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 to < 5142fd31bd8c9aff9bad4f6e0cc20e9574f2cee1affected05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 to < e66756313d1b4eadd13f39a0aee9fc8773d4d375affected05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 to < 0b6e59eb885f985a5ea7beed385adfa9412b324daffected05a2801d8b90c1b5159618d4bd3a3c65d60f3ff1 to < 59407ccb52130f2c81f4b3cbe4f14114afceb54faffected
Linux Linux
Default version status: affected
6.3affected0 to < 6.3unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/75d6273a28cdb543a167ac5fbfca75dc286ffe10 ↗
- https://git.kernel.org/stable/c/8eb2ab209570526728b35e39c4aecdb5099fbaf7 ↗
- https://git.kernel.org/stable/c/5142fd31bd8c9aff9bad4f6e0cc20e9574f2cee1 ↗
- https://git.kernel.org/stable/c/e66756313d1b4eadd13f39a0aee9fc8773d4d375 ↗
- https://git.kernel.org/stable/c/0b6e59eb885f985a5ea7beed385adfa9412b324d ↗
- https://git.kernel.org/stable/c/59407ccb52130f2c81f4b3cbe4f14114afceb54f ↗