PT-2026-166580
CVE-2026-142857
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
leds: ktd2692: Pass context to regulator cleanup
regulator disable action() retrieves the driver context from device
driver data. However, ktd2692 parse dt() registers the action before
ktd2692 probe() stores the context with platform set drvdata().
If devm add action or reset() 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.
Found an issue in the description? Have something to add? Feel free to write us 👾