general protection fault, probably for non-canonical address 0xdffffc0000000024: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000120-0x0000000000000127] CPU: 1 PID: 8498 Comm: kworker/1:17 Not tainted 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events l2cap_info_timeout RIP: 0010:__lock_acquire+0x69/0x1ff0 kernel/locking/lockdep.c:4882 Code: 84 c0 48 89 7c 24 08 0f 85 3f 16 00 00 83 3d f1 36 81 0c 00 0f 84 ec 14 00 00 83 3d e0 55 1c 0b 00 74 2d 48 89 f8 48 c1 e8 03 <80> 3c 10 00 74 14 e8 ac 66 67 00 48 8b 7c 24 08 48 ba 00 00 00 00 RSP: 0018:ffffc90003dd7800 EFLAGS: 00010006 RAX: 0000000000000024 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000120 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88805f258000 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5b6aaa6988 CR3: 00000000642a0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 lock_sock_nested+0x44/0x100 net/core/sock.c:3250 lock_sock include/net/sock.h:1668 [inline] l2cap_sock_ready_cb+0x43/0x130 net/bluetooth/l2cap_sock.c:1648 l2cap_chan_ready net/bluetooth/l2cap_core.c:1382 [inline] l2cap_conn_start+0x8c9/0x10a0 net/bluetooth/l2cap_core.c:1640 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Modules linked in: ---[ end trace 4e9347c5914cb51f ]--- RIP: 0010:__lock_acquire+0x69/0x1ff0 kernel/locking/lockdep.c:4882 Code: 84 c0 48 89 7c 24 08 0f 85 3f 16 00 00 83 3d f1 36 81 0c 00 0f 84 ec 14 00 00 83 3d e0 55 1c 0b 00 74 2d 48 89 f8 48 c1 e8 03 <80> 3c 10 00 74 14 e8 ac 66 67 00 48 8b 7c 24 08 48 ba 00 00 00 00 RSP: 0018:ffffc90003dd7800 EFLAGS: 00010006 RAX: 0000000000000024 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000120 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88805f258000 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5b6aaa6988 CR3: 00000000642a0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 84 c0 test %al,%al 2: 48 89 7c 24 08 mov %rdi,0x8(%rsp) 7: 0f 85 3f 16 00 00 jne 0x164c d: 83 3d f1 36 81 0c 00 cmpl $0x0,0xc8136f1(%rip) # 0xc813705 14: 0f 84 ec 14 00 00 je 0x1506 1a: 83 3d e0 55 1c 0b 00 cmpl $0x0,0xb1c55e0(%rip) # 0xb1c5601 21: 74 2d je 0x50 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction 2e: 74 14 je 0x44 30: e8 ac 66 67 00 call 0x6766e1 35: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi 3a: 48 rex.W 3b: ba 00 00 00 00 mov $0x0,%edx