CVE-2025-38635

clk: davinci: Add NULL check in davinci_lpsc_clk_register()

published August 22, 2025

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

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

clk: davinci: Add NULL check in davinci_lpsc_clk_register()

devm_kasprintf() returns NULL when memory allocation fails. Currently,

davinci_lpsc_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 and ensuring

no resources are left allocated.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00181 · 7.3th percentile
Published
2025-08-22T16:00Z
EPSS history
Timeline
  • 22 AUG 16:00Z
    clk: davinci: Add NULL check in davinci_lpsc_clk_register()
    cvelistv5