linux/sound/hda/common
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
History 2026-05-20 07:50:45 +02:00
..
auto_parser.c ALSA: hda: Avoid quirk matching with zero PCI SSID 2026-05-16 15:45:02 +02:00
beep.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
bind.c ALSA: hda: Drop superfluous driver->ops NULL checks 2025-07-11 09:55:38 +02:00
codec.c ALSA: hda: Fix NULL pointer dereference in snd_hda_ctl_add() 2026-05-15 09:09:07 +02:00
controller.c ALSA: hda/intel: Make sure to cancel irq-pending work at closing PCM stream 2026-05-20 07:50:45 +02:00
controller_trace.h ALSA: hda: Move common codec driver into sound/hda/common directory 2025-07-11 09:55:37 +02:00
hda_auto_parser.h ALSA: hda: Move common codec driver into sound/hda/common directory 2025-07-11 09:55:37 +02:00
hda_beep.h ALSA: hda: Move common codec driver into sound/hda/common directory 2025-07-11 09:55:37 +02:00
hda_controller.h ALSA: hda/intel: Make sure to cancel irq-pending work at closing PCM stream 2026-05-20 07:50:45 +02:00
hda_jack.h ALSA: hda - fix function names & missing function parameter 2026-01-07 09:05:50 +01:00
hda_local.h ALSA: hda: Notify IEC958 Default PCM switch state changes 2026-04-03 10:10:38 +02:00
hwdep.c ALSA: hda: Move common codec driver into sound/hda/common directory 2025-07-11 09:55:37 +02:00
jack.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
Kconfig ALSA: hda: Move CONFIG_SND_HDA_PREALLOC_SIZE into sound/hda/common 2025-07-11 09:55:37 +02:00
Makefile ALSA: hda: Move common codec driver into sound/hda/common directory 2025-07-11 09:55:37 +02:00
proc.c ALSA: hda/proc: show GPI and GPO state in codec proc output 2026-03-28 14:18:37 +01:00
sysfs.c ALSA: hda: Relax __free() variable declarations 2025-12-17 10:08:30 +01:00