linux/sound/hda/controllers
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
..
acpi.c ALSA: hda: Move controller drivers into sound/hda/controllers directory 2025-07-11 09:55:37 +02:00
cix-ipbloq.c ALSA: hda: Remove unnecessary print function dev_err() 2025-12-13 10:32:48 +01:00
intel.c ALSA: hda/intel: Make sure to cancel irq-pending work at closing PCM stream 2026-05-20 07:50:45 +02:00
intel.h ALSA: hda: Move irq pending work into hda-intel stream 2026-05-20 07:50:45 +02:00
intel_trace.h ALSA: hda: Move controller drivers into sound/hda/controllers directory 2025-07-11 09:55:37 +02:00
Kconfig ALSA: hda: add CIX IPBLOQ HDA controller support 2025-12-07 13:13:20 +01:00
Makefile ALSA: hda: add CIX IPBLOQ HDA controller support 2025-12-07 13:13:20 +01:00
tegra.c ALSA: hda/tegra: Clean up runtime PM with guard() 2025-12-23 10:51:58 +01:00