VULNERABILITY INTELLIGENCE

CVE-2025-38635

CVSS score5.5 MEDIUM
EPSS probability0.18%
CISA KEVNot currently listed
Published2025-08-22
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Description

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.

Weakness classification

  • nvd@nist.gov: CWE-476

Primary references