CVEvulnerability
CVE-2025-38143
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-07-03
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- 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 configurations
• linux linux kernel (>= 5.0 < 5.10.239)
• linux linux kernel (>= 5.11 < 5.15.186)
• linux linux kernel (>= 5.16 < 6.1.142)
• linux linux kernel (>= 6.2 < 6.6.94)
• linux linux kernel (>= 6.7 < 6.12.34)
• linux linux kernel (>= 6.13 < 6.15.3)
• debian debian linux 11.0
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/1be2000b703b02e149f8f2061054489f6c18c972 Patch
- https://git.kernel.org/stable/c/21528806560510458378ea52c37e35b0773afaea Patch
- https://git.kernel.org/stable/c/4a715be3fe80b68fa55cb3569af3d294be101626 Patch
- https://git.kernel.org/stable/c/6a56446595730a5e3f06a30902e23cb037d28146 Patch
- https://git.kernel.org/stable/c/9d06ac32c202142da40904180f2669ed4f5073ac Patch
- https://git.kernel.org/stable/c/e12d3e1624a02706cdd3628bbf5668827214fa33 Patch
- https://git.kernel.org/stable/c/fde314445332015273c8f51d2659885c606fe135 Patch
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Third Party Advisory