linux_dsm_epyc7002/sound/pci/emu10k1
Willy Tarreau 49434c6c57 ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO
snd_emu10k1_fx8010_ioctl(SNDRV_EMU10K1_IOCTL_INFO) allocates
memory using kmalloc() and partially fills it by calling
snd_emu10k1_fx8010_info() before returning the resulting
structure to userspace, leaving uninitialized holes. Let's
just use kzalloc() here.

BugLink: http://blog.infosectcbr.com.au/2018/09/linux-kernel-infoleaks.html
Signed-off-by: Willy Tarreau <w@1wt.eu>
Cc: Jann Horn <jannh@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-09-10 17:18:28 +02:00
..
emu10k1_callback.c ALSA: emu10k1: constify snd_emux_operators structure 2017-02-19 22:07:29 +01:00
emu10k1_main.c treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
emu10k1_patch.c ALSA: emu10k1_patch: Use swap macro in snd_emu10k1_sample_new 2018-07-17 17:17:52 +02:00
emu10k1_synth_local.h [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
emu10k1_synth.c ALSA: seq: Define driver object in each driver 2015-02-12 14:15:54 +01:00
emu10k1.c ALSA: seq: Allow the modular sequencer registration 2017-06-12 08:43:33 +02:00
emu10k1x.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
emufx.c ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO 2018-09-10 17:18:28 +02:00
emumixer.c ALSA: pci: constify snd_kcontrol_new structures 2017-02-21 22:01:21 +01:00
emumpu401.c ALSA: pci: Constify snd_rawmidi_ops 2017-01-12 12:50:26 +01:00
emupcm.c ALSA: emu10k1: Mark expected switch fall-throughs 2018-08-06 09:33:43 +02:00
emuproc.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
io.c ALSA: emu10k1: Fix possible NULL dereference 2014-03-05 12:15:56 +01:00
irq.c ALSA: emu10k1: Use standard printk helpers 2014-02-26 16:45:27 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
memory.c ALSA: emu10k1: Rate-limit error messages about page errors 2018-05-17 20:02:23 +02:00
p16v.c treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
p16v.h Fix common misspellings 2011-03-31 11:26:23 -03:00
p17v.h [ALSA] emu10k1: Add Audio capture support for Audigy 2 ZS Notebook. 2007-02-09 09:02:17 +01:00
timer.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
tina2.h [ALSA] emu10k1: Add support for Audigy4 (not Pro) 2006-06-22 21:32:37 +02:00
voice.c ALSA: emu10k1: Use standard printk helpers 2014-02-26 16:45:27 +01:00