CVE-2025-38143
backlight: pm8941: Add NULL check in wled_configure()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
5.0
References 7
git.kernel.org
- stable/c/6a56446595730a5e3f06a30902e23cb037d28146
- stable/c/9d06ac32c202142da40904180f2669ed4f5073ac
- stable/c/21528806560510458378ea52c37e35b0773afaea
- stable/c/fde314445332015273c8f51d2659885c606fe135
- stable/c/1be2000b703b02e149f8f2061054489f6c18c972
- stable/c/4a715be3fe80b68fa55cb3569af3d294be101626
- stable/c/e12d3e1624a02706cdd3628bbf5668827214fa33