android_kernel_motorola_sm6375/sound
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Takashi Iwai 273eec2346 ALSA: 6fire: Release resources at card release
[ Upstream commit a0810c3d6dd2d29a9b92604d682eacd2902ce947 ]

The current 6fire code tries to release the resources right after the
call of usb6fire_chip_abort().  But at this moment, the card object
might be still in use (as we're calling snd_card_free_when_closed()).

For avoid potential UAFs, move the release of resources to the card's
private_free instead of the manual call of usb6fire_chip_destroy() at
the USB disconnect callback.

Fixes: c6d43ba816 ("ALSA: usb/6fire - Driver for TerraTec DMX 6Fire USB")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20241113111042.15058-6-tiwai@suse.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-14 19:44:27 +01:00
..
ac97
aoa ALSA: aoa: Fix I2S device accounting 2022-11-03 23:56:56 +09:00
arm
atmel
core ALSA: core: add isascii() check to card ID generator 2024-11-08 16:20:40 +01:00
drivers treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() 2023-04-20 12:07:32 +02:00
firewire ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init() 2024-11-17 14:58:50 +01:00
hda ALSA: hda: Add input value sanity checks to HDMI channel map controls 2024-09-12 11:03:51 +02:00
i2c ALSA: i2c/cs8427: fix iec958 mixer control deactivation 2023-04-20 12:07:35 +02:00
isa treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
mips
oss
parisc
pci ALSA: hda/realtek: Add subwoofer quirk for Infinix ZERO BOOK 13 2024-12-14 19:44:20 +01:00
pcmcia
ppc
sh ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs 2024-04-13 12:51:32 +02:00
soc ASoC: fsl_micfil: fix regmap_write_bits usage 2024-12-14 19:44:26 +01:00
sparc
spi
synth ALSA: emux: improve patch ioctl data validation 2024-07-05 09:08:28 +02:00
usb ALSA: 6fire: Release resources at card release 2024-12-14 19:44:27 +01:00
x86
xen
ac97_bus.c
Kconfig sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML 2024-11-17 14:58:53 +01:00
last.c
Makefile
sound_core.c