CVE-2025-38143 — backlight: pm8941: Add NULL check in wled_configure()
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 …
Published: 2025-07-03 · CVSS: Unscored
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7