Bluetooth: hci3: Opcode 0x0406 failed: -4 list_del corruption. prev->next should be ffff888012db3550, but was 0000000000000000. (prev=ffff888012db4550) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:62! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 3 UID: 0 PID: 6956 Comm: syz.1.244 Not tainted 6.13.0-rc3-syzkaller-00193-ge9b8ffafd20a #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:__list_del_entry_valid_or_report+0x12c/0x1c0 lib/list_debug.c:62 Code: e8 99 11 db fc 90 0f 0b 48 89 ca 48 c7 c7 c0 72 b1 8b e8 87 11 db fc 90 0f 0b 48 89 c2 48 c7 c7 20 73 b1 8b e8 75 11 db fc 90 <0f> 0b 48 89 d1 48 c7 c7 a0 73 b1 8b 48 89 c2 e8 60 11 db fc 90 0f RSP: 0018:ffffc9002690f250 EFLAGS: 00010286 RAX: 000000000000006d RBX: ffff888012db3000 RCX: ffffffff8178e1e9 RDX: 0000000000000000 RSI: ffffffff81798976 RDI: 0000000000000005 RBP: ffff888012db3550 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000008 R12: 00000000ffffffff R13: ffff888012db3558 R14: ffff888012db4000 R15: ffff88801284b010 FS: 0000000000000000(0000) GS:ffff88802b700000(0063) knlGS:00000000f50c5b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020e39000 CR3: 0000000066d04000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry_valid include/linux/list.h:124 [inline] __list_del_entry include/linux/list.h:215 [inline] list_del_init include/linux/list.h:287 [inline] bt_accept_unlink+0x34/0x2e0 net/bluetooth/af_bluetooth.c:256 l2cap_sock_teardown_cb+0x1a3/0x3c0 net/bluetooth/l2cap_sock.c:1601 l2cap_chan_del+0xba/0x8f0 net/bluetooth/l2cap_core.c:658 l2cap_conn_del+0x37c/0x730 net/bluetooth/l2cap_core.c:1785 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:0xf7f98579 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:00000000f50c555c EFLAGS: 00000296 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 0000000020000080 RDX: 0000000000040040 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid_or_report+0x12c/0x1c0 lib/list_debug.c:62 Code: e8 99 11 db fc 90 0f 0b 48 89 ca 48 c7 c7 c0 72 b1 8b e8 87 11 db fc 90 0f 0b 48 89 c2 48 c7 c7 20 73 b1 8b e8 75 11 db fc 90 <0f> 0b 48 89 d1 48 c7 c7 a0 73 b1 8b 48 89 c2 e8 60 11 db fc 90 0f RSP: 0018:ffffc9002690f250 EFLAGS: 00010286 RAX: 000000000000006d RBX: ffff888012db3000 RCX: ffffffff8178e1e9 RDX: 0000000000000000 RSI: ffffffff81798976 RDI: 0000000000000005 RBP: ffff888012db3550 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000008 R12: 00000000ffffffff R13: ffff888012db3558 R14: ffff888012db4000 R15: ffff88801284b010 FS: 0000000000000000(0000) GS:ffff88802b700000(0063) knlGS:00000000f50c5b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020e39000 CR3: 0000000066d04000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi