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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:21:01.300Z
- **Modified:** 2026-12-03T04:18:22.860Z

## Who should check

- Anyone running Linux \>= 57e49a0bc4b3887d1e3db2d3073f2a6934f87e16, \< a752f0d93af0488f5151f60ae3369830225d8425; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 1ad96082583e58a8b8848129ff83d4bb74d7702d; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 721a8d471d288febdb35536e1ff30478b0d392b0; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 2e47c7d093080463eb46fafce7278baf2db5bcd2; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 3b5ca1a674e9b0145201e4b2b8b47ea174c47d27; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 63e6c760dab0a59772e55cd7268fdbf4b9025421; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< ae1b1eb10dcf4be87f859a38d1ec06d691308232; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< c73e9f04445f361d5f19ca2edfde742ce18348ef; 185ff7decad5d050462de134d01a2796a2b71ec3; 2d9cb13c8ca644cedd377cab23404d05ce0335a1; …
- Anyone running Linux 5.14

## 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.

## Affected and fixed versions

- Linux: \>= 57e49a0bc4b3887d1e3db2d3073f2a6934f87e16, \< a752f0d93af0488f5151f60ae3369830225d8425; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 1ad96082583e58a8b8848129ff83d4bb74d7702d; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 721a8d471d288febdb35536e1ff30478b0d392b0; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 2e47c7d093080463eb46fafce7278baf2db5bcd2; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 3b5ca1a674e9b0145201e4b2b8b47ea174c47d27; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 63e6c760dab0a59772e55cd7268fdbf4b9025421; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< ae1b1eb10dcf4be87f859a38d1ec06d691308232; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< c73e9f04445f361d5f19ca2edfde742ce18348ef; 185ff7decad5d050462de134d01a2796a2b71ec3; 2d9cb13c8ca644cedd377cab23404d05ce0335a1; … (cvelist)
- Linux: 5.14 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142857. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142857.md
Affected: Linux >= 57e49a0bc4b3887d1e3db2d3073f2a6934f87e16, < a752f0d93af0488f5151f60ae3369830225d8425; >= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, < 1ad96082583e58a8b8848129ff83d4bb74d7702d; >= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, < 721a8d471d288febdb35536e1ff30478b0d392b0; >= ee78b9360e14c276f5ceaa4…
Fixed in: Linux 1ad96082583e58a8b8848129ff83d4bb74d7702d, Linux 721a8d471d288febdb35536e1ff30478b0d392b0, Linux 2e47c7d093080463eb46fafce7278baf2db5bcd2, Linux 3b5ca1a674e9b0145201e4b2b8b47ea174c47d27, Linux 63e6c760dab0a59772e55cd7268fdbf4b9025421

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142857 being exploited?

There is no confirmed exploitation: CVE-2026-142857 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142857?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142857?

Linux \>= 57e49a0bc4b3887d1e3db2d3073f2a6934f87e16, \< a752f0d93af0488f5151f60ae3369830225d8425; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 1ad96082583e58a8b8848129ff83d4bb74d7702d; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 721a8d471d288febdb35536e1ff30478b0d392b0; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 2e47c7d093080463eb46fafce7278baf2db5bcd2; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 3b5ca1a674e9b0145201e4b2b8b47ea174c47d27; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< 63e6c760dab0a59772e55cd7268fdbf4b9025421; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< ae1b1eb10dcf4be87f859a38d1ec06d691308232; \>= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, \< c73e9f04445f361d5f19ca2edfde742ce18348ef; 185ff7decad5d050462de134d01a2796a2b71ec3; 2d9cb13c8ca644cedd377cab23404d05ce0335a1; …; Linux 5.14.

### Is there a fix for CVE-2026-142857?

Yes. Fixed in Linux 1ad96082583e58a8b8848129ff83d4bb74d7702d, Linux 721a8d471d288febdb35536e1ff30478b0d392b0, Linux 2e47c7d093080463eb46fafce7278baf2db5bcd2, Linux 3b5ca1a674e9b0145201e4b2b8b47ea174c47d27, Linux 63e6c760dab0a59772e55cd7268fdbf4b9025421. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142857?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a752f0d93af0488f5151f60ae3369830225d8425>
- other: <https://git.kernel.org/stable/c/1ad96082583e58a8b8848129ff83d4bb74d7702d>
- other: <https://git.kernel.org/stable/c/721a8d471d288febdb35536e1ff30478b0d392b0>
- other: <https://git.kernel.org/stable/c/2e47c7d093080463eb46fafce7278baf2db5bcd2>
- other: <https://git.kernel.org/stable/c/3b5ca1a674e9b0145201e4b2b8b47ea174c47d27>
- other: <https://git.kernel.org/stable/c/63e6c760dab0a59772e55cd7268fdbf4b9025421>
- other: <https://git.kernel.org/stable/c/ae1b1eb10dcf4be87f859a38d1ec06d691308232>
- other: <https://git.kernel.org/stable/c/c73e9f04445f361d5f19ca2edfde742ce18348ef>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142857>

HTML: <https://flawdb.com/CVE-2026-142857> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142857>
