syzbot has bisected this issue to: commit 3505cb9fa26cfec9512744466e754a8cbc2365b0 Author: Jiri Olsa <jolsa@xxxxxxxxxx> Date: Wed Aug 9 08:34:14 2023 +0000 bpf: Add attach_type checks under bpf_prog_attach_check_attach_type bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=158aedbc980000 start commit: fe46a7dd189e Merge tag 'sound-6.9-rc1' of git://git.kernel.. git tree: upstream final oops: https://syzkaller.appspot.com/x/report.txt?x=178aedbc980000 console output: https://syzkaller.appspot.com/x/log.txt?x=138aedbc980000 kernel config: https://syzkaller.appspot.com/x/.config?x=4d90a36f0cab495a dashboard link: https://syzkaller.appspot.com/bug?extid=837ba09d9db969068367 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15807005180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1777929d180000 Reported-by: syzbot+837ba09d9db969068367@xxxxxxxxxxxxxxxxxxxxxxxxx Fixes: 3505cb9fa26c ("bpf: Add attach_type checks under bpf_prog_attach_check_attach_type") For information about bisection process see: https://goo.gl/tpsmEJ#bisection