]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: opl3: fix infoleak in opl3
authorxidongwang <wangxidong_97@163.com>
Mon, 6 Jul 2020 03:27:38 +0000 (20:27 -0700)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Jul 2020 08:10:49 +0000 (10:10 +0200)
commit6b98c37ca9f85e8a9e8c4d836a424c7433b31c6e
tree61cc051b7feed12d5b1d2e4ff2bc1ac8deae42e3
parent24a50d267975747d181e94463c2da7cfc7553155
ALSA: opl3: fix infoleak in opl3

The stack object “info” in snd_opl3_ioctl() has a leaking problem.
It has 2 padding bytes which are not initialized and leaked via
“copy_to_user”.

Signed-off-by: xidongwang <wangxidong_97@163.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/1594006058-30362-1-git-send-email-wangxidong_97@163.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/opl3/opl3_synth.c