Re: [syzbot] [perf?] WARNING in perf_event_open

From: Mark Rutland
Date: Fri Feb 23 2024 - 05:46:53 EST


On Thu, Feb 22, 2024 at 07:58:02PM -0800, syzbot wrote:
> syzbot suspects this issue was fixed by commit:
>
> commit 7e2c1e4b34f07d9aa8937fab88359d4a0fce468e
> Author: Mark Rutland <mark.rutland@xxxxxxx>
> Date: Fri Dec 15 11:24:50 2023 +0000
>
> perf: Fix perf_event_validate_size() lockdep splat
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=157c509c180000
> start commit: 5abde6246522 bpf: Avoid unnecessary use of comma operator ..
> git tree: bpf-next
> kernel config: https://syzkaller.appspot.com/x/.config?x=8f565e10f0b1e1fc
> dashboard link: https://syzkaller.appspot.com/bug?extid=07144c543a5c002c7305
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16ba8929e80000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17be7265e80000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: perf: Fix perf_event_validate_size() lockdep splat

I believe syzbot is correct; this is fixed by commit:

7e2c1e4b34f07d9a ("perf: Fix perf_event_validate_size() lockdep splat")

.. so:

#syz fix: perf: Fix perf_event_validate_size() lockdep splat

Mark.