CVE-2025-38160

Source
https://cve.org/CVERecord?id=CVE-2025-38160
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38160.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38160
Downstream
Related
Published
2025-07-03T08:36:02.357Z
Modified
2026-03-20T12:42:42.670848Z
Summary
clk: bcm: rpi: Add NULL check in raspberrypi_clk_register()
Details

In the Linux kernel, the following vulnerability has been resolved:

clk: bcm: rpi: Add NULL check in raspberrypiclkregister()

devmkasprintf() returns NULL when memory allocation fails. Currently, raspberrypiclk_register() does not check for this case, which results in a NULL pointer dereference.

Add NULL check after devm_kasprintf() to prevent this issue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38160.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
93d2725affd65686792f4b57e49ef660f3c8c0f9
Fixed
938f625bd3364cfdc93916739add3b637ff90368
Fixed
54ce9bcdaee59d4ef0703f390d55708557818f9e
Fixed
52562161df3567cdaedada46834a7a8d8c4ab737
Fixed
3c1adc2f8c732ea09e8c4bce5941fec019c6205d
Fixed
0a2712cd24ecfeb520af60f6f859b442c7ab01ff
Fixed
1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f
Fixed
73c46d9a93d071ca69858dea3f569111b03e549e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38160.json"