# CVE-2026-142857

- Bağlantı: https://www.allsafe.com.tr/cve-2026-142857/
- Yayımlanma: 2026-12-03T07:18:22+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-142857)
