CVE-2026-142857: leds: ktd2692: Pass context to regulator cleanup

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

leds: ktd2692: Pass context to regulator cleanup

regulatordisableaction() retrieves the driver context from device driver data. However, ktd2692parsedt() registers the action before ktd2692probe() stores the context with platformsetdrvdata().

If devmaddactionorreset() cannot allocate the action, it invokes the callback immediately. A later probe failure also invokes it during managed-resource unwinding. Both paths dereference a NULL context.

Pass the already allocated context directly to the action and retain the device pointer in it for error reporting. The context is allocated before the action is registered, so reverse-order devres unwinding keeps it alive through the callback.

This issue was identified during our ongoing static-analysis research while reviewing kernel code.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Pass the already allocated context directly to the regulator cleanup action and retain the device pointer in the context for error reporting.

Event History

Dec 3, 2026
CVE Published
via MITRE·03:21 AM
Data Sourced
via MITRE·03:21 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203