Description
In the Linux kernel, the following vulnerability has been resolved: clk: bcm: rpi: Add NULL check in raspberrypi_clk_register() devm_kasprintf() returns NULL when memory allocation fails. Currently, raspberrypi_clk_register() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue.
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
93d2725affd65686792f4b57e49ef660f3c8c0f9 to < 938f625bd3364cfdc93916739add3b637ff90368affected93d2725affd65686792f4b57e49ef660f3c8c0f9 to < 54ce9bcdaee59d4ef0703f390d55708557818f9eaffected93d2725affd65686792f4b57e49ef660f3c8c0f9 to < 52562161df3567cdaedada46834a7a8d8c4ab737affected93d2725affd65686792f4b57e49ef660f3c8c0f9 to < 3c1adc2f8c732ea09e8c4bce5941fec019c6205daffected93d2725affd65686792f4b57e49ef660f3c8c0f9 to < 0a2712cd24ecfeb520af60f6f859b442c7ab01ffaffected93d2725affd65686792f4b57e49ef660f3c8c0f9 to < 1b69a5299f28ce8e6afa37c3690dbc14c3a1f53faffected93d2725affd65686792f4b57e49ef660f3c8c0f9 to < 73c46d9a93d071ca69858dea3f569111b03e549eaffected
Linux Linux
Default version status: affected
5.9affected0 to < 5.9unaffected5.10.239 to ≤ 5.10.*unaffected5.15.186 to ≤ 5.15.*unaffected6.1.142 to ≤ 6.1.*unaffected6.6.94 to ≤ 6.6.*unaffected6.12.34 to ≤ 6.12.*unaffected6.15.3 to ≤ 6.15.*unaffected6.16 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/938f625bd3364cfdc93916739add3b637ff90368 ↗
- https://git.kernel.org/stable/c/54ce9bcdaee59d4ef0703f390d55708557818f9e ↗
- https://git.kernel.org/stable/c/52562161df3567cdaedada46834a7a8d8c4ab737 ↗
- https://git.kernel.org/stable/c/3c1adc2f8c732ea09e8c4bce5941fec019c6205d ↗
- https://git.kernel.org/stable/c/0a2712cd24ecfeb520af60f6f859b442c7ab01ff ↗
- https://git.kernel.org/stable/c/1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f ↗
- https://git.kernel.org/stable/c/73c46d9a93d071ca69858dea3f569111b03e549e ↗
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html ↗
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html ↗