cbcvebase.
CVE-2025-38160
published 2025-07-03

CVE-2025-38160: In the Linux kernel, the following vulnerability has been resolved: clk: bcm: rpi: Add NULL check in raspberrypi_clk_register() devm_kasprintf() returns NULL…

medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
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

34 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
debianlinux-6.1< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
linuxlinux
linuxlinux>= 93d2725affd65686792f4b57e49ef660f3c8c0f9 < 938f625bd3364cfdc93916739add3b637ff90368938f625bd3364cfdc93916739add3b637ff90368
linuxlinux>= 93d2725affd65686792f4b57e49ef660f3c8c0f9 < 54ce9bcdaee59d4ef0703f390d55708557818f9e54ce9bcdaee59d4ef0703f390d55708557818f9e
linuxlinux>= 93d2725affd65686792f4b57e49ef660f3c8c0f9 < 52562161df3567cdaedada46834a7a8d8c4ab73752562161df3567cdaedada46834a7a8d8c4ab737
linuxlinux>= 93d2725affd65686792f4b57e49ef660f3c8c0f9 < 3c1adc2f8c732ea09e8c4bce5941fec019c6205d3c1adc2f8c732ea09e8c4bce5941fec019c6205d
linuxlinux>= 93d2725affd65686792f4b57e49ef660f3c8c0f9 < 0a2712cd24ecfeb520af60f6f859b442c7ab01ff0a2712cd24ecfeb520af60f6f859b442c7ab01ff
linuxlinux>= 93d2725affd65686792f4b57e49ef660f3c8c0f9 < 1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f
linuxlinux>= 93d2725affd65686792f4b57e49ef660f3c8c0f9 < 73c46d9a93d071ca69858dea3f569111b03e549e73c46d9a93d071ca69858dea3f569111b03e549e
linuxlinux_kernel>= 0 < 5.10.244-15.10.244-1
linuxlinux_kernel>= 0 < 6.1.147-16.1.147-1
linuxlinux_kernel>= 0 < 6.12.35-16.12.35-1
linuxlinux_kernel>= 0 < 6.12.35-16.12.35-1
linuxlinux_kernel>= 0 < 5.15.0-156.1665.15.0-156.166
linuxlinux_kernel>= 0 < 6.8.0-100.1006.8.0-100.100
linuxlinux_kernel>= 5.11 < 5.15.1865.15.186
linuxlinux_kernel>= 5.16 < 6.1.1426.1.142
linuxlinux_kernel>= 5.9 < 5.10.2395.10.239
linuxlinux_kernel>= 6.13 < 6.15.36.15.3
linuxlinux_kernel>= 6.2 < 6.6.946.6.94
linuxlinux_kernel>= 6.7 < 6.12.346.12.34
msrcazl3_kernel_6.6.92.2-2_on_azure_linux_3.0
msrcazl3_kernel_6.6.96.1-1_on_azure_linux_3.0

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM