summaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-11-09 13:59:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-01 11:42:49 +0300
commit1129534f73336addfcea53a65c7847d1aa1d2175 (patch)
tree93387ec40bb8be9cfd5866c5cc52cdb3196dd279 /MAINTAINERS
parent494427532654fc2b3c6791bdd997587643717684 (diff)
downloadlinux-1129534f73336addfcea53a65c7847d1aa1d2175.tar.xz
ALSA: oss: Use kvzalloc() for local buffer allocations
commit 65766ee0bf7fe8b3be80e2e1c3ef54ad59b29476 upstream. PCM OSS layer may allocate a few temporary buffers, one for the core read/write and another for the conversions via plugins. Currently both are allocated via vmalloc(). But as the allocation size is equivalent with the PCM period size, the required size might be quite small, depending on the application. This patch replaces these vmalloc() calls with kvzalloc() for covering small period sizes better. Also, we use "z"-alloc variant here for addressing the possible uninitialized access reported by syzkaller. Reported-by: syzbot+1cb36954e127c98dd037@syzkaller.appspotmail.com Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions