CVE-2025-38160

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

published July 3, 2025

CVSS
—
EPSS
0%
Percentile
6.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00177 · 6.9th percentile
Published
2025-07-03T08:36Z
EPSS history
Timeline
  • 03 JUL 08:36Z
    clk: bcm: rpi: Add NULL check in raspberrypi_clk_register()
    cvelistv5