CVE-2025-38143

published 3 Jul 2025 · updated 11 May 2026

backlight: pm8941: Add NULL check in wled_configure()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1be2000b703b02e149f8f2061054489f6c18c972, Kernel 21528806560510458378ea52c37e35b0773afaea, Kernel 4a715be3fe80b68fa55cb3569af3d294be101626 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.0, >=f86b77583d88c8402e8d89a339d96f847318f8a8 <1be2000b703b02e149f8f2061054489f6c18c972, >=f86b77583d88c8402e8d89a339d96f847318f8a8 <21528806560510458378ea52c37e35b0773afaea, >=f86b77583d88c8402e8d89a339d96f847318f8a8 <4a715be3fe80b68fa55cb3569af3d294be101626, >=f86b77583d88c8402e8d89a339d96f847318f8a8 <6a56446595730a5e3f06a30902e23cb037d28146, >=f86b77583d88c8402e8d89a339d96f847318f8a8 <9d06ac32c202142da40904180f2669ed4f5073ac, >=f86b77583d88c8402e8d89a339d96f847318f8a8 <e12d3e1624a02706cdd3628bbf5668827214fa33, >=f86b77583d88c8402e8d89a339d96f847318f8a8 <fde314445332015273c8f51d2659885c606fe1351be2000b703b02e149f8f2061054489f6c18c972, 21528806560510458378ea52c37e35b0773afaea, 4a715be3fe80b68fa55cb3569af3d294be101626, 6a56446595730a5e3f06a30902e23cb037d28146, 9d06ac32c202142da40904180f2669ed4f5073ac, e12d3e1624a02706cdd3628bbf5668827214fa33, fde314445332015273c8f51d2659885c606fe135

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38143 severity on Zeptric[![CVE-2025-38143](https://zeptric.io/badge/cve/CVE-2025-38143.svg)](https://zeptric.io/cve/CVE-2025-38143)