{"id":"CVE-2025-68758","aliases":["CVE-2025-68758"],"related":[],"kind":"vulnerability","state":"published","title":"backlight: led-bl: Add devlink to supplier LEDs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbacklight: led-bl: Add devlink to supplier LEDs\n\nLED Backlight is a consumer of one or multiple LED class devices, but\ndevlink is currently unable to create correct supplier-producer links when\nthe supplier is a class device. It creates instead a link where the\nsupplier is the parent of the expected device.\n\nOne consequence is that removal order is not correctly enforced.\n\nIssues happen for example with the following sections in a device tree\noverlay:\n\n    // An LED driver chip\n    pca9632@62 {\n        compatible = \"nxp,pca9632\";\n        reg = <0x62>;\n\n\t// ...\n\n        addon_led_pwm: led-pwm@3 {\n            reg = <3>;\n            label = \"addon:led:pwm\";\n        };\n    };\n\n    backlight-addon {\n        compatible = \"led-backlight\";\n        leds = <&addon_led_pwm>;\n        brightness-levels = <255>;\n        default-brightness-level = <255>;\n    };\n\nIn this example, the devlink should be created between the backlight-addon\n(consumer) and the pca9632@62 (supplier). Instead it is created between the\nbacklight-addon (consumer) and the parent of the pca9632@62, which is\ntypically the I2C bus adapter.\n\nOn removal of the above overlay, the LED driver can be removed before the\nbacklight device, resulting in:\n\n    Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010\n    ...\n    Call trace:\n     led_put+0xe0/0x140\n     devm_led_release+0x6c/0x98\n\nAnother way to reproduce the bug without any device tree overlays is\nunbinding the LED class device (pca9632@62) before unbinding the consumer\n(backlight-addon):\n\n  echo 11-0062 >/sys/bus/i2c/drivers/leds-pca963x/unbind\n  echo ...backlight-dock >/sys/bus/platform/drivers/led-backlight/unbind\n\nFix by adding a devlink between the consuming led-backlight device and the\nsupplying LED device, as other drivers and subsystems do as well.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbacklight: led-bl: Add devlink to supplier LEDs\n\nLED Backlight is a consumer of one or multiple LED class devices, but\ndevlink is currently unable to create correct supplier-producer links when\nthe supplier is a class device. It creates instead a link where the\nsupplier is the parent of the expected device.\n\nOne consequence is that removal order is not correctly enforced.\n\nIssues happen for example with the following sections in a device tree\noverlay:\n\n    // An LED driver chip\n    pca9632@62 {\n        compatible = \"nxp,pca9632\";\n        reg = <0x62>;\n\n\t// ...\n\n        addon_led_pwm: led-pwm@3 {\n            reg = <3>;\n            label = \"addon:led:pwm\";\n        };\n    };\n\n    backlight-addon {\n        compatible = \"led-backlight\";\n        leds = <&addon_led_pwm>;\n        brightness-levels = <255>;\n        default-brightness-level = <255>;\n    };\n\nIn this example, the devlink should be created between the backlight-addon\n(consumer) and the pca9632@62 (supplier). Instead it is created between the\nbacklight-addon (consumer) and the parent of the pca9632@62, which is\ntypically the I2C bus adapter.\n\nOn removal of the above overlay, the LED driver can be removed before the\nbacklight device, resulting in:\n\n    Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010\n    ...\n    Call trace:\n     led_put+0xe0/0x140\n     devm_led_release+0x6c/0x98\n\nAnother way to reproduce the bug without any device tree overlays is\nunbinding the LED class device (pca9632@62) before unbinding the consumer\n(backlight-addon):\n\n  echo 11-0062 >/sys/bus/i2c/drivers/leds-pca963x/unbind\n  echo ...backlight-dock >/sys/bus/platform/drivers/led-backlight/unbind\n\nFix by adding a devlink between the consuming led-backlight device and the\nsupplying LED device, as other drivers and subsystems do as well.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nbacklight: led-bl: Añadir devlink a los LED proveedores\n\nLa retroiluminación LED es un consumidor de uno o múltiples dispositivos de clase LED, pero devlink es actualmente incapaz de crear enlaces correctos proveedor-productor cuando el proveedor es un dispositivo de clase. En su lugar, crea un enlace donde el proveedor es el padre del dispositivo esperado.\n\nUna consecuencia es que el orden de eliminación no se aplica correctamente.\n\nLos problemas ocurren, por ejemplo, con las siguientes secciones en una superposición de árbol de dispositivos:\n\n    // An LED driver chip\n    pca9632@62 {\n        compatible = “nxp,pca9632”;\n        reg = <0x62>;\n\n\t// ...\n\n        addon_led_pwm: led-pwm@3 {\n            reg = <3>;\n            label = “addon:led:pwm”;\n        };\n    };\n\n    backlight-addon {\n        compatible = “led-backlight”;\n        leds = <&addon_led_pwm>;\n        brightness-levels = <255>;\n        default-brightness-level = <255>;\n    };\n\nEn este ejemplo, el devlink debería crearse entre el backlight-addon (consumidor) y el pca9632@62 (proveedor). En su lugar, se crea entre el backlight-addon (consumidor) y el padre del pca9632@62, que es típicamente el adaptador de bus I2C.\n\nAl eliminar la superposición anterior, el controlador LED puede eliminarse antes que el dispositivo de retroiluminación, lo que resulta en:\n\n    Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010\n    ...\n    Call trace:\n     led_put+0xe0/0x140\n     devm_led_release+0x6c/0x98\n\nOtra forma de reproducir el error sin ninguna superposición de árbol de dispositivos es desvincular el dispositivo de clase LED (pca9632@62) antes de desvincular el consumidor (backlight-addon):\n\n  echo 11-0062 >/sys/bus/i2c/drivers/leds-pca963x/unbind\n  echo ...backlight-dock >/sys/bus/platform/drivers/led-backlight/unbind\n\nSolución añadiendo un devlink entre el dispositivo led-backlight consumidor y el dispositivo LED proveedor, como también lo hacen otros controladores y subsistemas.","source":"nvd"}],"published":"2026-01-05T09:32:31.399Z","modified":"2026-10-14T19:10:00.297Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ae232e45acf9621f2c96b41ca3af006ac7552c33","fixed":"64739adf3eef063b8e2c72b7e919eac8c6480bf0","status":"affected"},{"type":"git","introduced":"ae232e45acf9621f2c96b41ca3af006ac7552c33","fixed":"cd01a24b3e52d6777b49c917d841f125fe9eebd0","status":"affected"},{"type":"git","introduced":"ae232e45acf9621f2c96b41ca3af006ac7552c33","fixed":"e06df738a9ad8417f1c4c7cd6992cda320e9e7ca","status":"affected"},{"type":"git","introduced":"ae232e45acf9621f2c96b41ca3af006ac7552c33","fixed":"30cbe4b642745a9488a0f0d78be43afe69d7555c","status":"affected"},{"type":"git","introduced":"ae232e45acf9621f2c96b41ca3af006ac7552c33","fixed":"0e63ea4378489e09eb5e920c8a50c10caacf563a","status":"affected"},{"type":"git","introduced":"ae232e45acf9621f2c96b41ca3af006ac7552c33","fixed":"60a24070392ec726ccfe6ad1ca7b0381c8d8f7c9","status":"affected"},{"type":"git","introduced":"ae232e45acf9621f2c96b41ca3af006ac7552c33","fixed":"08c9dc6b0f2c68e5e7c374ac4499e321e435d46c","status":"affected"},{"type":"git","introduced":"ae232e45acf9621f2c96b41ca3af006ac7552c33","fixed":"9341d6698f4cfdfc374fb6944158d111ebe16a9d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.63","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.13","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.2","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/64739adf3eef063b8e2c72b7e919eac8c6480bf0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd01a24b3e52d6777b49c917d841f125fe9eebd0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e06df738a9ad8417f1c4c7cd6992cda320e9e7ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/30cbe4b642745a9488a0f0d78be43afe69d7555c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e63ea4378489e09eb5e920c8a50c10caacf563a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60a24070392ec726ccfe6ad1ca7b0381c8d8f7c9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08c9dc6b0f2c68e5e7c374ac4499e321e435d46c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9341d6698f4cfdfc374fb6944158d111ebe16a9d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68758","url":"https://www.cve.org/CVERecord?id=CVE-2025-68758","licence":"CVE Terms of Use","modified":"2026-05-11T21:52:46.981Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68758","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68758","licence":"Public domain","modified":"2026-10-14T19:10:00.297Z"}],"updatedAt":"2026-11-25T22:59:10.266Z","epss":{"score":0.00272,"percentile":0.12311,"date":"2026-11-30T12:00:22.000Z"}}