22 Dec
2021
22 Dec
'21
8:21 p.m.
On Sat, 18 Dec 2021 13:39:25 +0100, Jaroslav Kysela wrote:
The user_pversion was unitialized for the user space file structure in the open function, because the file private structure use kmalloc for the allocation.
The kernel ALSA sequencer code clears the file structure, so no additional fixes are required.
Cc: stable@kernel.org Cc: broonie@kernel.org BugLink: https://github.com/alsa-project/alsa-lib/issues/178 Fixes: 09d23174402d ("ALSA: rawmidi: introduce SNDRV_RAWMIDI_IOCTL_USER_PVERSION") Reported-by: syzbot+88412ee8811832b00dbe@syzkaller.appspotmail.com Signed-off-by: Jaroslav Kysela perex@perex.cz
Thanks, applied now with a minor typo fix.
Takashi