Bug 2589340 (CVE-2026-142857) - CVE-2026-142857 kernel: kernel: Denial of service via NULL pointer dereference in KTD2692 LED driver
Summary: CVE-2026-142857 kernel: kernel: Denial of service via NULL pointer dereferenc...
Keywords:
Status: NEW
Alias: CVE-2026-142857
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 05:08 UTC by OSIDB Bzimport
Modified: 2026-12-03 09:46 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 05:08:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.