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: 65 Comm: kworker/1:1 Not tainted 5.15.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 21 e4 81 0c 00 0f 84 ec 14 00 00 83 3d 50 39 1c 0b 00 74 2d 48 89 f8 48 c1 e8 03 <80> 3c 10 00 74 14 e8 9c 82 67 00 48 8b 7c 24 08 48 ba 00 00 00 00 RSP: 0018:ffffc900010cf800 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: ffff88801358bb80 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f526000 CR3: 000000007c5e9000 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:1649 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:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 Modules linked in: ---[ end trace 47dd5b5c9c87ab33 ]--- 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 21 e4 81 0c 00 0f 84 ec 14 00 00 83 3d 50 39 1c 0b 00 74 2d 48 89 f8 48 c1 e8 03 <80> 3c 10 00 74 14 e8 9c 82 67 00 48 8b 7c 24 08 48 ba 00 00 00 00 RSP: 0018:ffffc900010cf800 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: ffff88801358bb80 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f526000 CR3: 000000007c5e9000 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 21 e4 81 0c 00 cmpl $0x0,0xc81e421(%rip) # 0xc81e435 14: 0f 84 ec 14 00 00 je 0x1506 1a: 83 3d 50 39 1c 0b 00 cmpl $0x0,0xb1c3950(%rip) # 0xb1c3971 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 9c 82 67 00 call 0x6782d1 35: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi 3a: 48 rex.W 3b: ba 00 00 00 00 mov $0x0,%edx