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

From: syzbot
Date: Sun Oct 23 2022 - 11:26:32 EST


Hello,

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

Reported-and-tested-by: syzbot+0d2014e4da2ccced5b41@xxxxxxxxxxxxxxxxxxxxxxxxx

Tested on:

commit: 4da34b7d Merge tag 'thermal-6.1-rc2' of git://git.kern..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
console output: https://syzkaller.appspot.com/x/log.txt?x=1382cd4a880000
kernel config: https://syzkaller.appspot.com/x/.config?x=4789759e8a6d5f57
dashboard link: https://syzkaller.appspot.com/bug?extid=0d2014e4da2ccced5b41
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=15a4632c880000

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