CVE-2025-38143

backlight: pm8941: Add NULL check in wled_configure()

published July 3, 2025

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

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

backlight: pm8941: Add NULL check in wled_configure()

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

wled_configure() 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.00201 · 9.5th percentile
Published
2025-07-03T08:35Z
EPSS history
Timeline
  • 03 JUL 08:35Z
    backlight: pm8941: Add NULL check in wled_configure()
    cvelistv5