CVE-2026-139453
not scored yetALSA: hda: Stop unsol events and jack polling before codec unbind
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.
- Published
- 30 Nov 2026
- Last modified
- 2 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 | >= d8a766a16ed90c4b3bd7afa6e1417f8d715db507, < d4e76b7b6f533462280cdfa9a3e5e2213ea42c42; >= d8a766a16ed90c4b3bd7afa6e1417f8d715db507, < e651c7dea72ba4b2c90769022eaf9694d784739d; >= d8a766a16ed90c4b3bd7afa6e1417f8d715db507, < f3607b6952ca9a5638eeef4f301daa7933ce24b1 | d4e76b7b6f533462280cdfa9a3e5e2213ea42c42, e651c7dea72ba4b2c90769022eaf9694d784739d, f3607b6952ca9a5638eeef4f301daa7933ce24b1 |
| CVE List | Linux | Linux | = 4.1 |
References
- https://git.kernel.org/stable/c/d4e76b7b6f533462280cdfa9a3e5e2213ea42c42
- https://git.kernel.org/stable/c/e651c7dea72ba4b2c90769022eaf9694d784739d
- https://git.kernel.org/stable/c/f3607b6952ca9a5638eeef4f301daa7933ce24b1
History
- 2 Dec 2026 11:48 UTC · NVD: updated (other details)
- 2 Dec 2026 09:31 UTC · CVE List: affected list changed (2 entries)
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)