CVE-2026-142857
not scored yetleds: ktd2692: Pass context to regulator cleanup
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 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 | a752f0d93af0488f5151f60ae3369830225d8425, 1ad96082583e58a8b8848129ff83d4bb74d7702d, 721a8d471d288febdb35536e1ff30478b0d392b0, 2e47c7d093080463eb46fafce7278baf2db5bcd2, 3b5ca1a674e9b0145201e4b2b8b47ea174c47d27, 63e6c760dab0a59772e55cd7268fdbf4b9025421, ae1b1eb10dcf4be87f859a38d1ec06d691308232, c73e9f04445f361d5f19ca2edfde742ce18348ef, 5.10.275, 4.10, 4.15, 4.20, 5.5, 5.13, 5.14 |
| CVE List | Linux | Linux | = 5.14 |
References
- https://git.kernel.org/stable/c/1ad96082583e58a8b8848129ff83d4bb74d7702d
- https://git.kernel.org/stable/c/2e47c7d093080463eb46fafce7278baf2db5bcd2
- https://git.kernel.org/stable/c/3b5ca1a674e9b0145201e4b2b8b47ea174c47d27
- https://git.kernel.org/stable/c/63e6c760dab0a59772e55cd7268fdbf4b9025421
- https://git.kernel.org/stable/c/721a8d471d288febdb35536e1ff30478b0d392b0
- https://git.kernel.org/stable/c/a752f0d93af0488f5151f60ae3369830225d8425
- https://git.kernel.org/stable/c/ae1b1eb10dcf4be87f859a38d1ec06d691308232
- https://git.kernel.org/stable/c/c73e9f04445f361d5f19ca2edfde742ce18348ef
History
- 3 Dec 2026 05:06 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 04:06 UTC · CVE List: first stored (published 3 Dec 2026)