CVE-2025-38143

backlight: pm8941: Add NULL check in wled_configure()

State
Published
Severity
Not scored
Published
Jul 3, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f86b77583d88c8402e8d89a339d96f847318f8a8 to before 6a56446595730a5e3f06a30902e23cb037d28146Affected
  • f86b77583d88c8402e8d89a339d96f847318f8a8 to before 9d06ac32c202142da40904180f2669ed4f5073acAffected
  • f86b77583d88c8402e8d89a339d96f847318f8a8 to before 21528806560510458378ea52c37e35b0773afaeaAffected
  • f86b77583d88c8402e8d89a339d96f847318f8a8 to before fde314445332015273c8f51d2659885c606fe135Affected
  • f86b77583d88c8402e8d89a339d96f847318f8a8 to before 1be2000b703b02e149f8f2061054489f6c18c972Affected
  • f86b77583d88c8402e8d89a339d96f847318f8a8 to before 4a715be3fe80b68fa55cb3569af3d294be101626Affected
  • f86b77583d88c8402e8d89a339d96f847318f8a8 to before e12d3e1624a02706cdd3628bbf5668827214fa33Affected
LinuxLinux
  • 5.0Affected
  • before 5.0Not affected
  • 5.10.239 through 5.10.*Not affected
  • 5.15.186 through 5.15.*Not affected
  • 6.1.142 through 6.1.*Not affected
  • 6.6.94 through 6.6.*Not affected
  • 6.12.34 through 6.12.*Not affected
  • 6.15.3 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.