android_kernel_xiaomi_sm7250/sound
Takashi Iwai 5a76a35f99 ALSA: wavefront: Proper check of get_user() error
commit a34ae6c0660d3b96b0055f68ef74dc9478852245 upstream.

The antient ISA wavefront driver reads its sample patch data (uploaded
over an ioctl) via __get_user() with no good reason; likely just for
some performance optimizations in the past.  Let's change this to the
standard get_user() and the error check for handling the fault case
properly.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220510103626.16635-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-25 09:10:37 +02:00
..
ac97 ALSA: ac97: fix PM reference leak in ac97_bus_remove() 2021-07-20 16:16:08 +02:00
aoa
arm
atmel
core ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock 2022-05-15 19:41:58 +02:00
drivers ALSA: drivers: opl3: Fix incorrect use of vp->state 2021-12-29 12:20:46 +01:00
firewire ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes 2022-05-12 12:20:23 +02:00
hda ALSA: hda: avoid write to STATESTS if controller is in reset 2021-10-27 09:53:15 +02:00
i2c
isa ALSA: wavefront: Proper check of get_user() error 2022-05-25 09:10:37 +02:00
mips
oss
parisc
pci ALSA: hda/realtek: Add quirk for Clevo PD50PNT 2022-04-20 09:12:50 +02:00
pcmcia
ppc ALSA: ppc: fix error return code in snd_pmac_probe() 2021-07-20 16:16:09 +02:00
sh
soc ASoC: ops: Validate input values in snd_soc_put_volsw_range() 2022-05-18 09:42:49 +02:00
sparc
spi ALSA: spi: Add check for clk_enable() 2022-04-15 14:14:45 +02:00
synth ALSA: synth: missing check for possible NULL after the call to kstrdup 2021-11-26 11:35:58 +01:00
usb ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant 2022-04-27 13:39:43 +02:00
x86 ALSA: intel_hdmi: Fix reference to PCM buffer address 2022-03-08 19:04:07 +01:00
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c