CVE-2025-38160

Source
https://nvd.nist.gov/vuln/detail/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
2025-11-27T19:33:54.817784Z
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
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/ee626f5d79d5817bb21d6f048dc0da4c4e383443/cves/2025/38xxx/CVE-2025-38160.json"
}
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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
93d2725affd65686792f4b57e49ef660f3c8c0f9
Fixed
54ce9bcdaee59d4ef0703f390d55708557818f9e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
93d2725affd65686792f4b57e49ef660f3c8c0f9
Fixed
52562161df3567cdaedada46834a7a8d8c4ab737
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
93d2725affd65686792f4b57e49ef660f3c8c0f9
Fixed
3c1adc2f8c732ea09e8c4bce5941fec019c6205d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
93d2725affd65686792f4b57e49ef660f3c8c0f9
Fixed
0a2712cd24ecfeb520af60f6f859b442c7ab01ff
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
93d2725affd65686792f4b57e49ef660f3c8c0f9
Fixed
1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
93d2725affd65686792f4b57e49ef660f3c8c0f9
Fixed
73c46d9a93d071ca69858dea3f569111b03e549e

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.9.0
Fixed
5.10.239
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.186
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.142
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.94
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.34
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.3