Re: [syzbot] KASAN: use-after-free Read in snd_rawmidi_transmit

From: syzbot
Date: Wed Jun 01 2022 - 11:58:12 EST


Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+39e3268af9968f153591@xxxxxxxxxxxxxxxxxxxxxxxxx

Tested on:

commit: 2a5699b0 Merge tag 'leds-5.19-rc1' of git://git.kernel..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel config: https://syzkaller.appspot.com/x/.config?x=f915857c44e13980
dashboard link: https://syzkaller.appspot.com/bug?extid=39e3268af9968f153591
compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
patch: https://syzkaller.appspot.com/x/patch.diff?x=1578ed47f00000

Note: testing is done by a robot and is best-effort only.