general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 0 PID: 16201 Comm: syz-executor.0 Not tainted 5.15.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:perf_trace_lock_acquire+0x9d/0x550 include/trace/events/lock.h:13 Code: 04 f1 f1 04 f2 c7 40 08 00 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 48 8d 46 18 48 89 85 48 ff ff ff 48 c1 e8 03 <80> 3c 10 00 0f 85 4d 03 00 00 49 8b 7e 18 48 c7 c0 60 03 8c 89 48 RSP: 0018:ffffc900090bfa18 EFLAGS: 00010016 RAX: 0000000000000006 RBX: 1ffff92001217f66 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000018 RDI: ffffffff8b87ef20 RBP: ffffc900090bfb00 R08: 0000000000000000 R09: 0000000000000001 R10: fffffbfff1add0fa R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8b87ef20 R14: 0000000000000018 R15: ffffc900090bfad8 FS: 00007f794d26d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13003325d8 CR3: 0000000082387000 CR4: 0000000000350ef0 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x416/0x510 kernel/locking/lockdep.c:5596 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 prepare_to_wait+0x43/0x370 kernel/sched/wait.c:259 nr_accept+0x201/0x640 net/netrom/af_netrom.c:793 do_accept+0x382/0x510 net/socket.c:1773 __sys_accept4_file+0x7e/0xe0 net/socket.c:1816 __sys_accept4+0xb0/0x100 net/socket.c:1846 __do_sys_accept net/socket.c:1864 [inline] __se_sys_accept net/socket.c:1861 [inline] __x64_sys_accept+0x71/0xb0 net/socket.c:1861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f794fd5aae9 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:00007f794d26d188 EFLAGS: 00000246 ORIG_RAX: 000000000000002b RAX: ffffffffffffffda RBX: 00007f794fe6e1a0 RCX: 00007f794fd5aae9 RDX: 0000000020000080 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007f794fdb4f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4e1cb51f R14: 00007f794d26d300 R15: 0000000000022000 Modules linked in: ---[ end trace 0ae8a809d5949e69 ]--- RIP: 0010:perf_trace_lock_acquire+0x9d/0x550 include/trace/events/lock.h:13 Code: 04 f1 f1 04 f2 c7 40 08 00 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 48 8d 46 18 48 89 85 48 ff ff ff 48 c1 e8 03 <80> 3c 10 00 0f 85 4d 03 00 00 49 8b 7e 18 48 c7 c0 60 03 8c 89 48 RSP: 0018:ffffc900090bfa18 EFLAGS: 00010016 RAX: 0000000000000006 RBX: 1ffff92001217f66 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000018 RDI: ffffffff8b87ef20 RBP: ffffc900090bfb00 R08: 0000000000000000 R09: 0000000000000001 R10: fffffbfff1add0fa R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8b87ef20 R14: 0000000000000018 R15: ffffc900090bfad8 FS: 00007f794d26d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13003325d8 CR3: 0000000082387000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 04 f1 add $0xf1,%al 2: f1 icebp 3: 04 f2 add $0xf2,%al 5: c7 40 08 00 f3 f3 f3 movl $0xf3f3f300,0x8(%rax) c: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 13: 00 00 15: 48 89 45 d0 mov %rax,-0x30(%rbp) 19: 31 c0 xor %eax,%eax 1b: 48 8d 46 18 lea 0x18(%rsi),%rax 1f: 48 89 85 48 ff ff ff mov %rax,-0xb8(%rbp) 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction 2e: 0f 85 4d 03 00 00 jne 0x381 34: 49 8b 7e 18 mov 0x18(%r14),%rdi 38: 48 c7 c0 60 03 8c 89 mov $0xffffffff898c0360,%rax 3f: 48 rex.W