CVE-2025-38143 backlight: pm8941: Add NULL check in wled_configure()
A missing NULL check in the Linux kernel's pm8941 backlight driver can cause a crash via NULL pointer dereference during memory allocation failure.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38143?
CVE-2025-38143 is a medium-severity vulnerability in Debian Debian Linux, published on 3 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2025-38143?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-38143?
Apply the vendor's patch.
Is CVE-2025-38143 being exploited?
There is no known exploitation of CVE-2025-38143 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-64514, BELL-CVE-2025-38143, DEBIAN-CVE-2025-38143, GHSA-hcfh-8r6h-694x, ROOT-OS-DEBIAN-11-CVE-2025-38143, ROOT-OS-DEBIAN-12-CVE-2025-38143 and 3 more.