summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-09-03 15:16:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-20 08:11:53 +0200
commit41d7b565440dbd3bd70f23469fb600071c574bd5 (patch)
tree8a8aa311ebfee03af80a03a80be6d184870abea6 /include/linux/compiler.h
parent718eede1eeb602531e09191d3107eb849bbe64eb (diff)
ALSA: rawmidi: Initialize allocated buffers
commit 5a7b44a8df822e0667fc76ed7130252523993bda upstream. syzbot reported the uninitialized value exposure in certain situations using virmidi loop. It's likely a very small race at writing and reading, and the influence is almost negligible. But it's safer to paper over this just by replacing the existing kvmalloc() with kvzalloc(). Reported-by: syzbot+194dffdb8b22fc5d207a@syzkaller.appspotmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions