# CVE-2026-142944

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

In the Linux kernel, the following vulnerability has been resolved:

ASoC: amd: acp-es8336: Use an owned codec device reference

acpi_get_first_physical_node() returns a borrowed device pointer. If the
 pa-enable
GPIO lookup fails, st_es8336_late_probe() puts that pointer despite not owning a
reference. A later physical-node teardown can then release the device while device_del()
is still using it.

This was reproduced on current mainline with the real static late-probe
 callback
and normal platform-device unregister. The GPIO lookup returned -EPROBE_DEFER and
KASAN reported a slab-use-after-free in device_del(), with the object freed by acpi_unbind_one().

Use acpi_bus_get_primary_device(), which obtains a stable device
 reference under
the physical-node lock, and release it at callback exit with scoped cleanup. Keep
the reference callback-local because late probe can be retried; registering one 
devres action per attempt would accumulate references.

The same KASAN guest with this change reached the same -EPROBE_DEFER and
 unregister
path without KASAN, WARNING, Oops or panic. The test directly invoked the production
callback and did not emulate a complete ASoC card or physical AMD hardware.

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-142944)
