general protection fault, probably for non-canonical address 0xdffffc0000000011: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f] CPU: 0 PID: 8385 Comm: syz-executor.3 Tainted: G W 5.10.214-syzkaller-00496-ga8e7f812fbc1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:inherit_group kernel/events/core.c:12879 [inline] RIP: 0010:inherit_task_group+0x573/0x670 kernel/events/core.c:12923 Code: 81 c3 8c 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 a8 00 00 00 8b 1b 49 81 c7 8c 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 a8 00 00 00 41 89 1f 45 31 ff 44 89 f8 RSP: 0018:ffffc9000131f908 EFLAGS: 00010207 RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff88810c20a780 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888127a4a890 RBP: ffffc9000131f970 R08: dffffc0000000000 R09: ffffed103ee0ae72 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000131fa20 R13: dffffc0000000000 R14: ffff888127a4a810 R15: 000000000000008c FS: 00005555563bb480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2ff8f37d58 CR3: 0000000122468000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: perf_event_init_context kernel/events/core.c:12990 [inline] perf_event_init_task+0x331/0x770 kernel/events/core.c:13042 copy_process+0x1015/0x3340 kernel/fork.c:2157 kernel_clone+0x21e/0x9e0 kernel/fork.c:2574 __do_sys_clone3 kernel/fork.c:2858 [inline] __se_sys_clone3 kernel/fork.c:2842 [inline] __x64_sys_clone3+0x376/0x3a0 kernel/fork.c:2842 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f2ffa230cd9 Code: ff ff eb d2 e8 f8 62 fd ff 0f 1f 84 00 00 00 00 00 b8 ea ff ff ff 48 85 ff 74 2c 48 85 d2 74 27 49 89 c8 b8 b3 01 00 00 0f 05 <48> 85 c0 7c 18 74 01 c3 31 ed 48 83 e4 f0 4c 89 c7 ff d2 48 89 c7 RSP: 002b:00007ffc1d38b728 EFLAGS: 00000202 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f2ffa1d93b0 RCX: 00007f2ffa230cd9 RDX: 00007f2ffa1d93b0 RSI: 0000000000000058 RDI: 00007ffc1d38b770 RBP: 00007f2ff8f376c0 R08: 00007f2ff8f376c0 R09: 00007ffc1d38b857 R10: 0000000000000008 R11: 0000000000000202 R12: ffffffffffffffb0 R13: 000000000000006e R14: 00007ffc1d38b770 R15: 00007ffc1d38b858 Modules linked in: ---[ end trace 9282fb9d3d4f4ec5 ]--- RIP: 0010:inherit_group kernel/events/core.c:12879 [inline] RIP: 0010:inherit_task_group+0x573/0x670 kernel/events/core.c:12923 Code: 81 c3 8c 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 a8 00 00 00 8b 1b 49 81 c7 8c 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 a8 00 00 00 41 89 1f 45 31 ff 44 89 f8 RSP: 0018:ffffc9000131f908 EFLAGS: 00010207 RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff88810c20a780 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888127a4a890 RBP: ffffc9000131f970 R08: dffffc0000000000 R09: ffffed103ee0ae72 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000131fa20 R13: dffffc0000000000 R14: ffff888127a4a810 R15: 000000000000008c FS: 00005555563bb480(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201d1000 CR3: 0000000122468000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 81 c3 8c 00 00 00 add $0x8c,%ebx 6: 48 89 d8 mov %rbx,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax 12: 84 c0 test %al,%al 14: 0f 85 a8 00 00 00 jne 0xc2 1a: 8b 1b mov (%rbx),%ebx 1c: 49 81 c7 8c 00 00 00 add $0x8c,%r15 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 a8 00 00 00 jne 0xdf 37: 41 89 1f mov %ebx,(%r15) 3a: 45 31 ff xor %r15d,%r15d 3d: 44 89 f8 mov %r15d,%eax