CVE-2026-99543: backlight: qcom-wled: Fix NULL pointer dereference in wled_remove()
In the Linux kernel, the following vulnerability has been resolved:
backlight: qcom-wled: Fix NULL pointer dereference in wledremove()
wledprobe() doesn't set the driver data for the platform device. As a result, platformgetdrvdata() in wledremove() will return NULL, and the first dereference of it crashes on unbind.
Set the platform device driver data in wledprobe().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2 - Compensating control
Set the platform device driver data in wled_probe() so platform_get_drvdata() returns it in wled_remove().