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: 4832 Comm: syz-executor.7 Not tainted 6.1.0-rc4-next-20221111 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:list_add_event+0x4c6/0xaa0 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:ffff88800f757940 EFLAGS: 00010012 RAX: dffffc0000000000 RBX: fffffffffffffff4 RCX: ffffc90007811000 RDX: 0000000000000007 RSI: ffffffff815786ee RDI: 0000000000000038 RBP: ffff888043957c00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888043957d00 R14: 0000000000000000 R15: ffff888016f52b68 FS: 00007f3348a78700(0000) GS:ffff88806d100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3348a77f78 CR3: 0000000034552000 CR4: 0000000000350ee0 Call Trace: inherit_event.constprop.0+0x56c/0x950 inherit_task_group.isra.0+0x13a/0x670 perf_event_init_task+0x32d/0x760 copy_process+0x1c99/0x7160 kernel_clone+0xeb/0x890 __do_sys_clone3+0x1d5/0x2e0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f334b502b19 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:00007f3348a78188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f334b615f60 RCX: 00007f334b502b19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000200001c0 RBP: 00007f3348a781d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffc2723ec2f R14: 00007f3348a78300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:list_add_event+0x4c6/0xaa0 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:ffff88800f757940 EFLAGS: 00010012 RAX: dffffc0000000000 RBX: fffffffffffffff4 RCX: ffffc90007811000 RDX: 0000000000000007 RSI: ffffffff815786ee RDI: 0000000000000038 RBP: ffff888043957c00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888043957d00 R14: 0000000000000000 R15: ffff888016f52b68 FS: 00007f3348a78700(0000) GS:ffff88806d100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3348a77f78 CR3: 0000000034552000 CR4: 0000000000350ee0 note: syz-executor.7[4832] exited with preempt_count 1 general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#2] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] CPU: 0 PID: 4854 Comm: syz-executor.0 Tainted: G D 6.1.0-rc4-next-20221111 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:list_add_event+0x4c6/0xaa0 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:ffff888042b8f940 EFLAGS: 00010012 RAX: dffffc0000000000 RBX: fffffffffffffff4 RCX: ffffc900007d9000 RDX: 0000000000000007 RSI: ffffffff815786ee RDI: 0000000000000038 RBP: ffff88800ed93400 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88800ed93500 R14: 0000000000000000 R15: ffff8880429a77c8 FS: 00007f8aa78dc700(0000) GS:ffff88806d000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8aa78dbf78 CR3: 000000003e2bc000 CR4: 0000000000350ef0 Call Trace: inherit_event.constprop.0+0x56c/0x950 inherit_task_group.isra.0+0x13a/0x670 perf_event_init_task+0x32d/0x760 copy_process+0x1c99/0x7160 kernel_clone+0xeb/0x890 __do_sys_clone3+0x1d5/0x2e0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f8aaa366b19 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:00007f8aa78dc188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f8aaa479f60 RCX: 00007f8aaa366b19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000200001c0 RBP: 00007f8aa78dc1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffc153501ef R14: 00007f8aa78dc300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:list_add_event+0x4c6/0xaa0 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:ffff88800f757940 EFLAGS: 00010012 RAX: dffffc0000000000 RBX: fffffffffffffff4 RCX: ffffc90007811000 RDX: 0000000000000007 RSI: ffffffff815786ee RDI: 0000000000000038 RBP: ffff888043957c00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888043957d00 R14: 0000000000000000 R15: ffff888016f52b68 FS: 00007f8aa78dc700(0000) GS:ffff88806d000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8aa78dbf78 CR3: 000000003e2bc000 CR4: 0000000000350ef0 note: syz-executor.0[4854] exited with preempt_count 1 Bluetooth: hci0: Opcode 0x c03 failed: -4 ---------------- 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