milos-linux/sound/hda
Takashi Iwai 33d3b6f0d8 ALSA: hda/intel: Make sure to cancel irq-pending work at closing PCM stream
The pending irq work might be still floating while the assigned stream
has been already closed, which may lead to UAF, especially when
another async work for fasync is involved.

For addressing this, extend the hda_controller_ops for allowing the
extra cleanup procedure that is specific to the controller driver, and
make sure to cancel and sync the pending irq work at each PCM close
before releasing the resources.

Reported-by: Jake Lamberson <lamberson.jake@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260519121157.28477-2-tiwai@suse.de
2026-05-20 07:50:45 +02:00
..
codecs ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP 16 Piston OmniBook X 2026-05-19 08:05:06 +02:00
common ALSA: hda/intel: Make sure to cancel irq-pending work at closing PCM stream 2026-05-20 07:50:45 +02:00
controllers ALSA: hda/intel: Make sure to cancel irq-pending work at closing PCM stream 2026-05-20 07:50:45 +02:00
core ALSA: hda: Avoid WARN_ON() for HDMI chmap slot checks 2026-04-29 07:49:09 +02:00
Kconfig ALSA: hda: Move codec drivers into sound/hda/codecs directory 2025-07-11 09:55:37 +02:00
Makefile ALSA: hda: Drop old codec binding method 2025-07-11 09:55:38 +02:00