commit | 5a7b44a8df822e0667fc76ed7130252523993bda | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Sep 03 15:16:43 2018 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Sep 03 15:16:43 2018 +0200 |
tree | 7fcc7ecd8dee882d67f5f810eea08dfc38b866b3 | |
parent | 16037643969e095509cd8446a3f8e406a6dc3a2c [diff] |
ALSA: rawmidi: Initialize allocated buffers 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>