{"id":"CVE-2025-38143","summary":"backlight: pm8941: Add NULL check in wled_configure()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbacklight: pm8941: Add NULL check in wled_configure()\n\ndevm_kasprintf() returns NULL when memory allocation fails. Currently,\nwled_configure() does not check for this case, which results in a NULL\npointer dereference.\n\nAdd NULL check after devm_kasprintf() to prevent this issue.","modified":"2026-04-16T04:37:45.461930346Z","published":"2025-07-03T08:35:44.224Z","related":["SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38143.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1be2000b703b02e149f8f2061054489f6c18c972"},{"type":"WEB","url":"https://git.kernel.org/stable/c/21528806560510458378ea52c37e35b0773afaea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a715be3fe80b68fa55cb3569af3d294be101626"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a56446595730a5e3f06a30902e23cb037d28146"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d06ac32c202142da40904180f2669ed4f5073ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e12d3e1624a02706cdd3628bbf5668827214fa33"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fde314445332015273c8f51d2659885c606fe135"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38143.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38143"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f86b77583d88c8402e8d89a339d96f847318f8a8"},{"fixed":"6a56446595730a5e3f06a30902e23cb037d28146"},{"fixed":"9d06ac32c202142da40904180f2669ed4f5073ac"},{"fixed":"21528806560510458378ea52c37e35b0773afaea"},{"fixed":"fde314445332015273c8f51d2659885c606fe135"},{"fixed":"1be2000b703b02e149f8f2061054489f6c18c972"},{"fixed":"4a715be3fe80b68fa55cb3569af3d294be101626"},{"fixed":"e12d3e1624a02706cdd3628bbf5668827214fa33"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38143.json"}}],"schema_version":"1.7.5"}