Bluetooth: hci3: Opcode 0x0c1a failed: -4 Oops: general protection fault, probably for non-canonical address 0xfbd59c0000000020: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0xdead000000000100-0xdead000000000107] CPU: 1 UID: 0 PID: 7405 Comm: syz.3.337 Not tainted 6.13.0-rc4-syzkaller-00054-gd6ef8b40d075 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:l2cap_conn_del+0x3dd/0x730 net/bluetooth/l2cap_core.c:1781 Code: 8b 40 20 48 89 df ff d0 0f 1f 00 4c 89 f7 e8 8a fd f7 00 4d 8d b4 24 80 04 00 00 48 89 df e8 fa 3e ff ff 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 0f 85 24 02 00 00 49 8b 84 24 80 04 00 00 4c 89 e3 RSP: 0018:ffffc9000e01f310 EFLAGS: 00010a02 RAX: 1bd5a00000000020 RBX: ffff8880682e5000 RCX: ffffc9000cf11000 RDX: 0000000000080000 RSI: ffffffff8a237ce6 RDI: 0000000000000005 RBP: ffff8880219de000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000000 R12: deacfffffffffc80 R13: dffffc0000000000 R14: dead000000000100 R15: 0000000000000068 FS: 0000000000000000(0000) GS:ffff88802b500000(0063) knlGS:00000000f5125b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020032000 CR3: 000000004b88e000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: l2cap_connect_cfm+0x7aa/0xf10 net/bluetooth/l2cap_core.c:7235 hci_connect_cfm include/net/bluetooth/hci_core.h:2057 [inline] hci_conn_failed+0x225/0x3e0 net/bluetooth/hci_conn.c:1266 hci_abort_conn_sync+0x968/0x1030 net/bluetooth/hci_sync.c:5603 hci_disconnect_all_sync.constprop.0+0x104/0x3c0 net/bluetooth/hci_sync.c:5626 hci_suspend_sync+0x772/0xab0 net/bluetooth/hci_sync.c:6103 hci_suspend_dev+0x27d/0x5e0 net/bluetooth/hci_core.c:2831 hci_suspend_notifier+0x28d/0x2f0 net/bluetooth/hci_core.c:2411 notifier_call_chain+0xb7/0x410 kernel/notifier.c:85 notifier_call_chain_robust kernel/notifier.c:120 [inline] blocking_notifier_call_chain_robust kernel/notifier.c:345 [inline] blocking_notifier_call_chain_robust+0xc9/0x170 kernel/notifier.c:333 pm_notifier_call_chain_robust+0x27/0x60 kernel/power/main.c:102 snapshot_open+0x189/0x2b0 kernel/power/user.c:77 misc_open+0x35a/0x420 drivers/char/misc.c:165 chrdev_open+0x237/0x6a0 fs/char_dev.c:414 do_dentry_open+0xf59/0x1ea0 fs/open.c:945 vfs_open+0x82/0x3f0 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x1e6a/0x2d60 fs/namei.c:3987 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_compat_sys_openat fs/open.c:1479 [inline] __se_compat_sys_openat fs/open.c:1477 [inline] __ia32_compat_sys_openat+0x16e/0x210 fs/open.c:1477 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7ff7579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f512555c EFLAGS: 00000296 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 0000000020000340 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:l2cap_conn_del+0x3dd/0x730 net/bluetooth/l2cap_core.c:1781 Code: 8b 40 20 48 89 df ff d0 0f 1f 00 4c 89 f7 e8 8a fd f7 00 4d 8d b4 24 80 04 00 00 48 89 df e8 fa 3e ff ff 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 0f 85 24 02 00 00 49 8b 84 24 80 04 00 00 4c 89 e3 RSP: 0018:ffffc9000e01f310 EFLAGS: 00010a02 RAX: 1bd5a00000000020 RBX: ffff8880682e5000 RCX: ffffc9000cf11000 RDX: 0000000000080000 RSI: ffffffff8a237ce6 RDI: 0000000000000005 RBP: ffff8880219de000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000000 R12: deacfffffffffc80 R13: dffffc0000000000 R14: dead000000000100 R15: 0000000000000068 FS: 0000000000000000(0000) GS:ffff88802b400000(0063) knlGS:00000000f5125b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002ed03ffc CR3: 000000004b88e000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8b 40 20 mov 0x20(%rax),%eax 3: 48 89 df mov %rbx,%rdi 6: ff d0 call *%rax 8: 0f 1f 00 nopl (%rax) b: 4c 89 f7 mov %r14,%rdi e: e8 8a fd f7 00 call 0xf7fd9d 13: 4d 8d b4 24 80 04 00 lea 0x480(%r12),%r14 1a: 00 1b: 48 89 df mov %rbx,%rdi 1e: e8 fa 3e ff ff call 0xffff3f1d 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 0f 85 24 02 00 00 jne 0x259 35: 49 8b 84 24 80 04 00 mov 0x480(%r12),%rax 3c: 00 3d: 4c 89 e3 mov %r12,%rbx