CVE-2026-142857

Unknown

Last modified

CVE-2026-142857 is a vulnerability of currently unknown severity. 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.

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 Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 57e49a0bc4b3887d1e3db2d3073f2a6934f87e16, < a752f0d93af0488f5151f60ae3369830225d8425; >= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, < 1ad96082583e58a8b8848129ff83d4bb74d7702d; >= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, < 721a8d471d288febdb35536e1ff30478b0d392b0; >= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, < 2e47c7d093080463eb46fafce7278baf2db5bcd2; >= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, < 3b5ca1a674e9b0145201e4b2b8b47ea174c47d27; >= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, < 63e6c760dab0a59772e55cd7268fdbf4b9025421; >= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, < ae1b1eb10dcf4be87f859a38d1ec06d691308232; >= ee78b9360e14c276f5ceaa4a0d06f790f04ccdad, < c73e9f04445f361d5f19ca2edfde742ce18348ef; 185ff7decad5d050462de134d01a2796a2b71ec3; 2d9cb13c8ca644cedd377cab23404d05ce0335a1; 09f064fcadc7dad2ffc69232d58c8a29b2e5e430; 3189d9749317ef8ce36bcc7c4a1f1b74ea58ee9f; e14c6d50b2d10a8f76ac601023061cccbb5e1287; 5b2499ec3fb022045a422df3b75338bb51384a13; >= 5.10.50, < 5.10.275; >= 4.9.276, < 4.10; >= 4.14.240, < 4.15; >= 4.19.198, < 4.20; >= 5.4.132, < 5.5; >= 5.12.17, < 5.13; >= 5.13.2, < 5.14
LinuxLinux5.14

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-142857?
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.
How severe is CVE-2026-142857?
Severity scoring for CVE-2026-142857 is pending analysis.
How do I fix CVE-2026-142857?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142857?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST