# CVE-2026-139453

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139453/
- Yayımlanma: 2026-11-30T17:19:16+03:00
- Yazar: Postmaster

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

ALSA: hda: Stop unsol events and jack polling before codec unbind

At unbinding a codec driver, hda_codec_driver_remove() calls the
 codec's remove
callback that releases the driver resources, followed by snd_hda_codec_cleanup_for_unbind().
Meanwhile, the unsolicited events are processed asynchronously in bus->unsol_work,
and snd_hdac_bus_process_unsol_events() checks only codec->registered flag before
calling the driver's unsol_event callback without the lock. Since codec->registered
is cleared only in snd_hda_codec_cleanup_for_unbind(), and there is no flush of 
the unsol work at unbinding, the unsol event handler may run concurrently during
the running remove callback, which may lead to a UAF. The same problem applies to
the jack polling work, which is canceled only after the remove callback.

For addressing those races, introduce a new flag unsol_disabled to
 hdac_device,
to be checked it in the unsol event worker, while a new helper snd_hdac_device_disable_unsol()
sets this flag and flushes the pending unsol work. The helper is called at hda_codec_driver_remove()
together with the cancel of jackpoll_work to assure that no asynchronous jack handling
can run. The flag is cleared again at probing the codec driver, while the events
are still blocked by the registered flag until the codec gets registered.

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