list_del corruption. prev->next should be ffff888014c52f00, but was 0000000000000000 ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:51! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 19427 Comm: syz-executor.1 Not tainted 5.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid.cold+0xf/0x4a lib/list_debug.c:51 Code: e8 46 b8 f2 ff 0f 0b 48 89 f1 48 c7 c7 c0 1a c2 89 4c 89 e6 e8 32 b8 f2 ff 0f 0b 48 89 ee 48 c7 c7 60 1c c2 89 e8 21 b8 f2 ff <0f> 0b 4c 89 ea 48 89 ee 48 c7 c7 a0 1b c2 89 e8 0d b8 f2 ff 0f 0b RSP: 0018:ffffc90002d0fb30 EFLAGS: 00010282 RAX: 0000000000000054 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff815c4cf5 RDI: fffff520005a1f58 RBP: ffff888014c52f00 R08: 0000000000000054 R09: 0000000000000000 R10: ffffffff815bda8e R11: 0000000000000000 R12: ffff8880262f6580 R13: ffffffff8a8f6d20 R14: fffffbfff1b0e984 R15: 0000000000000067 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000f5512b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000816e834 CR3: 000000007b6cc000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:132 [inline] list_del_rcu include/linux/rculist.h:166 [inline] hci_chan_del+0x4e/0x200 net/bluetooth/hci_conn.c:1774 l2cap_conn_del+0x478/0x7b0 net/bluetooth/l2cap_core.c:1906 l2cap_disconn_cfm net/bluetooth/l2cap_core.c:8168 [inline] l2cap_disconn_cfm+0x98/0xd0 net/bluetooth/l2cap_core.c:8161 hci_disconn_cfm include/net/bluetooth/hci_core.h:1486 [inline] hci_conn_hash_flush+0x127/0x260 net/bluetooth/hci_conn.c:1598 hci_dev_do_close+0x569/0x1110 net/bluetooth/hci_core.c:1778 hci_rfkill_set_block+0x19c/0x1d0 net/bluetooth/hci_core.c:2217 rfkill_set_block+0x1f9/0x540 net/rfkill/core.c:343 rfkill_fop_write+0x267/0x500 net/rfkill/core.c:1267 vfs_write+0x28e/0xa30 fs/read_write.c:603 ksys_write+0x1ee/0x250 fs/read_write.c:658 do_syscall_32_irqs_on arch/x86/entry/common.c:77 [inline] __do_fast_syscall_32+0x56/0x90 arch/x86/entry/common.c:140 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:165 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f18549 Code: 03 74 c0 01 10 05 03 74 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 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:00000000f55125fc EFLAGS: 00000296 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200000c0 RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace dcc96082982bbe85 ]--- RIP: 0010:__list_del_entry_valid.cold+0xf/0x4a lib/list_debug.c:51 Code: e8 46 b8 f2 ff 0f 0b 48 89 f1 48 c7 c7 c0 1a c2 89 4c 89 e6 e8 32 b8 f2 ff 0f 0b 48 89 ee 48 c7 c7 60 1c c2 89 e8 21 b8 f2 ff <0f> 0b 4c 89 ea 48 89 ee 48 c7 c7 a0 1b c2 89 e8 0d b8 f2 ff 0f 0b RSP: 0018:ffffc90002d0fb30 EFLAGS: 00010282 RAX: 0000000000000054 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff815c4cf5 RDI: fffff520005a1f58 RBP: ffff888014c52f00 R08: 0000000000000054 R09: 0000000000000000 R10: ffffffff815bda8e R11: 0000000000000000 R12: ffff8880262f6580 R13: ffffffff8a8f6d20 R14: fffffbfff1b0e984 R15: 0000000000000067 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000f5512b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000816f59c CR3: 000000007b6cc000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400