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: 4742 Comm: syz-executor.1 Not tainted 6.1.60-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:inherit_group kernel/events/core.c:13296 [inline] RIP: 0010:inherit_task_group+0x343/0x7f0 kernel/events/core.c:13343 Code: 81 c3 8c 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 52 04 00 00 8b 1b 49 81 c6 8c 00 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 52 04 00 00 41 89 1e e9 cb fd ff ff 4c RSP: 0018:ffffc9000b44f8f0 EFLAGS: 00010207 RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff8880795ad940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8880616d3600 RBP: ffff8880616d3580 R08: ffffffff81b3c25b R09: fffffbfff2091863 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88801e740000 R14: 000000000000008c R15: ffff8880616d3580 FS: 00007f74c87786c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559fa853dee0 CR3: 0000000028894000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: perf_event_init_context kernel/events/core.c:13412 [inline] perf_event_init_task+0x355/0x7a0 kernel/events/core.c:13465 copy_process+0x1737/0x4060 kernel/fork.c:2241 kernel_clone+0x222/0x920 kernel/fork.c:2682 __do_sys_clone kernel/fork.c:2823 [inline] __se_sys_clone kernel/fork.c:2807 [inline] __x64_sys_clone+0x231/0x280 kernel/fork.c:2807 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f74c7a7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f74c8778078 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f74c7b9c120 RCX: 00007f74c7a7cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000009221400 RBP: 00007f74c7ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000006e R14: 00007f74c7b9c120 R15: 00007ffea3a62f38 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:inherit_group kernel/events/core.c:13296 [inline] RIP: 0010:inherit_task_group+0x343/0x7f0 kernel/events/core.c:13343 Code: 81 c3 8c 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 52 04 00 00 8b 1b 49 81 c6 8c 00 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 52 04 00 00 41 89 1e e9 cb fd ff ff 4c RSP: 0018:ffffc9000b44f8f0 EFLAGS: 00010207 RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffff8880795ad940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8880616d3600 RBP: ffff8880616d3580 R08: ffffffff81b3c25b R09: fffffbfff2091863 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88801e740000 R14: 000000000000008c R15: ffff8880616d3580 FS: 00007f74c87786c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00138d018 CR3: 0000000028894000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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 20 movzbl (%rax,%r12,1),%eax 12: 84 c0 test %al,%al 14: 0f 85 52 04 00 00 jne 0x46c 1a: 8b 1b mov (%rbx),%ebx 1c: 49 81 c6 8c 00 00 00 add $0x8c,%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 52 04 00 00 jne 0x489 37: 41 89 1e mov %ebx,(%r14) 3a: e9 cb fd ff ff jmp 0xfffffe0a 3f: 4c rex.WR