general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] CPU: 1 PID: 9033 Comm: syz-executor.2 Not tainted 6.1.0-rc2-next-20221028 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:list_add_event+0x4c6/0xab0 Code: 48 c1 ea 03 80 3c 02 00 0f 85 01 05 00 00 48 8b 9b 28 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 44 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 d6 RSP: 0018:ffff88804302f940 EFLAGS: 00010012 RAX: dffffc0000000000 RBX: fffffffffffffff4 RCX: ffffc900061f6000 RDX: 0000000000000007 RSI: ffffffff81570eae RDI: 0000000000000038 RBP: ffff88801e2c5000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88801e2c5100 R14: 0000000000000000 R15: ffff88803c3871e8 FS: 00007f8396978700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8396977f78 CR3: 0000000032f4c000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 Call Trace: inherit_event.constprop.0+0x56c/0x960 inherit_task_group.isra.0+0x13a/0x680 perf_event_init_task+0x329/0x770 copy_process+0x1c99/0x6e70 kernel_clone+0xe7/0x8a0 __do_sys_clone3+0x1d5/0x2f0 do_syscall_64+0x3b/0xa0 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f8399402b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8396978188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f8399515f60 RCX: 00007f8399402b19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000200001c0 RBP: 00007f83969781d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffdb40f335f R14: 00007f8396978300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:list_add_event+0x4c6/0xab0 Code: 48 c1 ea 03 80 3c 02 00 0f 85 01 05 00 00 48 8b 9b 28 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 44 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 d6 RSP: 0018:ffff88804302f940 EFLAGS: 00010012 RAX: dffffc0000000000 RBX: fffffffffffffff4 RCX: ffffc900061f6000 RDX: 0000000000000007 RSI: ffffffff81570eae RDI: 0000000000000038 RBP: ffff88801e2c5000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88801e2c5100 R14: 0000000000000000 R15: ffff88803c3871e8 FS: 00007f8396978700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8396977f78 CR3: 0000000032f4c000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 note: syz-executor.2[9033] exited with preempt_count 1 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 01 05 00 00 jne 0x50f e: 48 8b 9b 28 02 00 00 mov 0x228(%rbx),%rbx 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 8d 7b 44 lea 0x44(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 d6 test %edx,%esi