What’s Vulnerable › Vulnerabilities
CVE-2025-38143: backlight: pm8941: Add NULL check in wled_configure()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-03 · updated 2026-06-17
- Weakness: CWE-476
Description
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.
Affected products
- Debian Linux: 11.0
- Linux kernel: from 5.0 before 5.10.239; from 5.11 before 5.15.186; from 5.16 before 6.1.142; from 6.2 before 6.6.94; from 6.7 before 6.12.34; from 6.13 before 6.15.3 — fixed in 5.10.239, 5.15.186, 6.1.142, 6.12.34, 6.15.3, 6.6.94
How to fix
Upgrade to a fixed version: Linux kernel 5.10.239, 5.15.186, 6.1.142, 6.12.34. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1be2000b703b02e149f8f2061054489f6c18c972
- https://git.kernel.org/stable/c/21528806560510458378ea52c37e35b0773afaea
- https://git.kernel.org/stable/c/4a715be3fe80b68fa55cb3569af3d294be101626
- https://git.kernel.org/stable/c/6a56446595730a5e3f06a30902e23cb037d28146
- https://git.kernel.org/stable/c/9d06ac32c202142da40904180f2669ed4f5073ac
- https://git.kernel.org/stable/c/e12d3e1624a02706cdd3628bbf5668827214fa33
- https://git.kernel.org/stable/c/fde314445332015273c8f51d2659885c606fe135
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Get alerted when CVE-2025-38143 or the next vulnerability affects your stack