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

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.

INFO

Published Date :

Dec. 3, 2026, 4:18 a.m.

Last Modified :

Dec. 3, 2026, 4:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-142857 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Ensure driver context is passed to regulator cleanup callbacks.
  • Pass allocated context directly to the action.
  • Retain device pointer in context for error reporting.
  • Ensure context remains alive through the callback.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-142857 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-142857 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-142857 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-142857 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 03, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/142xxx/CVE-2026-142857.json">CVE-2026-142857</a>
    Added Reference https://git.kernel.org/stable/c/1ad96082583e58a8b8848129ff83d4bb74d7702d
    Added Reference https://git.kernel.org/stable/c/2e47c7d093080463eb46fafce7278baf2db5bcd2
    Added Reference https://git.kernel.org/stable/c/3b5ca1a674e9b0145201e4b2b8b47ea174c47d27
    Added Reference https://git.kernel.org/stable/c/63e6c760dab0a59772e55cd7268fdbf4b9025421
    Added Reference https://git.kernel.org/stable/c/721a8d471d288febdb35536e1ff30478b0d392b0
    Added Reference https://git.kernel.org/stable/c/a752f0d93af0488f5151f60ae3369830225d8425
    Added Reference https://git.kernel.org/stable/c/ae1b1eb10dcf4be87f859a38d1ec06d691308232
    Added Reference https://git.kernel.org/stable/c/c73e9f04445f361d5f19ca2edfde742ce18348ef
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.