WSL2-Linux-Kernel/sound
Takashi Iwai 2eabc5ec8a ALSA: seq: Fix race of get-subscription call vs port-delete ioctls
The snd_seq_ioctl_get_subscription() retrieves the port subscriber
information as a pointer, while the object isn't protected, hence it
may be deleted before the actual reference.  This race was spotted by
syzkaller and may lead to a UAF.

The fix is simply copying the data in the lookup function that
performs in the rwsem to protect against the deletion.

Reported-by: syzbot+9437020c82413d00222d@syzkaller.appspotmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-04-09 18:54:13 +02:00
..
ac97
aoa
arm
atmel
core ALSA: seq: Fix race of get-subscription call vs port-delete ioctls 2019-04-09 18:54:13 +02:00
drivers ALSA: aloop: Support S24 sample formats 2019-03-25 16:39:18 +01:00
firewire ALSA: firewire-lib: use 8 byte header for IR context to get isochronous cycle 2019-03-18 14:50:35 +01:00
hda
i2c
isa
mips
oss
parisc
pci
pcmcia
ppc
sh
soc
sparc
spi
synth ALSA: emux: Add support of loading GUS-patch 2019-03-26 17:32:02 +01:00
usb ALSA: us122l: Use alloc_pages_exact() 2019-03-27 17:15:04 +01:00
x86
xen
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c