CVE-2025-68758
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
05/01/2026
Last modified:
19/01/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
backlight: led-bl: Add devlink to supplier LEDs<br />
<br />
LED Backlight is a consumer of one or multiple LED class devices, but<br />
devlink is currently unable to create correct supplier-producer links when<br />
the supplier is a class device. It creates instead a link where the<br />
supplier is the parent of the expected device.<br />
<br />
One consequence is that removal order is not correctly enforced.<br />
<br />
Issues happen for example with the following sections in a device tree<br />
overlay:<br />
<br />
// An LED driver chip<br />
pca9632@62 {<br />
compatible = "nxp,pca9632";<br />
reg = ;<br />
<br />
// ...<br />
<br />
addon_led_pwm: led-pwm@3 {<br />
reg = ;<br />
label = "addon:led:pwm";<br />
};<br />
};<br />
<br />
backlight-addon {<br />
compatible = "led-backlight";<br />
leds = ;<br />
brightness-levels = ;<br />
default-brightness-level = ;<br />
};<br />
<br />
In this example, the devlink should be created between the backlight-addon<br />
(consumer) and the pca9632@62 (supplier). Instead it is created between the<br />
backlight-addon (consumer) and the parent of the pca9632@62, which is<br />
typically the I2C bus adapter.<br />
<br />
On removal of the above overlay, the LED driver can be removed before the<br />
backlight device, resulting in:<br />
<br />
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010<br />
...<br />
Call trace:<br />
led_put+0xe0/0x140<br />
devm_led_release+0x6c/0x98<br />
<br />
Another way to reproduce the bug without any device tree overlays is<br />
unbinding the LED class device (pca9632@62) before unbinding the consumer<br />
(backlight-addon):<br />
<br />
echo 11-0062 >/sys/bus/i2c/drivers/leds-pca963x/unbind<br />
echo ...backlight-dock >/sys/bus/platform/drivers/led-backlight/unbind<br />
<br />
Fix by adding a devlink between the consuming led-backlight device and the<br />
supplying LED device, as other drivers and subsystems do as well.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/08c9dc6b0f2c68e5e7c374ac4499e321e435d46c
- https://git.kernel.org/stable/c/0e63ea4378489e09eb5e920c8a50c10caacf563a
- https://git.kernel.org/stable/c/30cbe4b642745a9488a0f0d78be43afe69d7555c
- https://git.kernel.org/stable/c/60a24070392ec726ccfe6ad1ca7b0381c8d8f7c9
- https://git.kernel.org/stable/c/64739adf3eef063b8e2c72b7e919eac8c6480bf0
- https://git.kernel.org/stable/c/9341d6698f4cfdfc374fb6944158d111ebe16a9d
- https://git.kernel.org/stable/c/cd01a24b3e52d6777b49c917d841f125fe9eebd0
- https://git.kernel.org/stable/c/e06df738a9ad8417f1c4c7cd6992cda320e9e7ca



