kernel-fxtec-pro1x/sound
Michał Mirosław ef1e0bfce4 ALSA: pcm: disallow linking stream to itself
commit 951e2736f4b11b58dc44d41964fa17c3527d882a upstream.

Prevent SNDRV_PCM_IOCTL_LINK linking stream to itself - the code
can't handle it. Fixed commit is not where bug was introduced, but
changes the context significantly.

Cc: stable@vger.kernel.org
Fixes: 0888c321de ("pcm_native: switch to fdget()/fdput()")
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Link: https://lore.kernel.org/r/89c4a2487609a0ed6af3ecf01cc972bdc59a7a2d.1591634956.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-22 09:05:03 +02:00
..
ac97
aoa ALSA: aoa: onyx: always initialize register read value 2020-01-27 14:51:02 +01:00
arm
atmel
core ALSA: pcm: disallow linking stream to itself 2020-06-22 09:05:03 +02:00
drivers ALSA: dummy: Fix PCM format loop in proc output 2020-02-11 04:33:56 -08:00
firewire ALSA: dice: fix fallback from protocol extension into limited functionality 2020-01-23 08:21:28 +01:00
hda ALSA: hda: do not override bus codec_mask in link_get() 2020-03-11 14:14:47 +01:00
i2c
isa ALSA: es1688: Add the missed snd_card_free() 2020-06-22 09:05:02 +02:00
mips
oss
parisc
pci ALSA: hda/realtek - add a pintbl quirk for several Lenovo machines 2020-06-22 09:05:02 +02:00
pcmcia
ppc
sh ALSA: sh: Fix compile warning wrt const 2020-02-24 08:34:45 +01:00
soc ASoC: rsnd: Fix "status check failed" spam for multi-SSI 2020-05-10 10:30:09 +02:00
sparc
spi
synth
usb ALSA: usb-audio: Add vendor, product and profile name for HP Thunderbolt Dock 2020-06-22 09:05:02 +02:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c