Re: [syzbot] KASAN: vmalloc-out-of-bounds Read in bpf_trace_run2

From: Dmitry Vyukov
Date: Tue Apr 13 2021 - 13:22:12 EST


On Thu, Apr 1, 2021 at 5:39 AM syzbot
<syzbot+845923d2172947529b58@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> syzbot suspects this issue was fixed by commit:
>
> commit befe6d946551d65cddbd32b9cb0170b0249fd5ed
> Author: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
> Date: Wed Nov 18 14:34:05 2020 +0000
>
> tracepoint: Do not fail unregistering a probe due to memory failure
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=123358a1d00000
> start commit: 70b97111 bpf: Use hlist_add_head_rcu when linking to local..
> git tree: bpf-next
> kernel config: https://syzkaller.appspot.com/x/.config?x=7e0ca96a9b6ee858
> dashboard link: https://syzkaller.appspot.com/bug?extid=845923d2172947529b58
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10193f3b900000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=168c729b900000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: tracepoint: Do not fail unregistering a probe due to memory failure
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

Looks reasonable:

#syz fix:
tracepoint: Do not fail unregistering a probe due to memory failure