list_del corruption. next->prev should be ffff888090d6d638, but was ffff8880a4bf4878 ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:54! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 30871 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:__list_del_entry_valid.cold+0x48/0x4a lib/list_debug.c:54 Code: e8 ec 42 f7 ff 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 e0 e3 b3 88 e8 d8 42 f7 ff 0f 0b 48 89 ee 48 c7 c7 a0 e4 b3 88 e8 c7 42 f7 ff <0f> 0b 41 83 c7 01 b8 ff ff 37 00 44 89 3d 5a 85 3a 05 48 c1 e0 2a RSP: 0018:ffff8880b1637718 EFLAGS: 00010282 RAX: 0000000000000054 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10162c6ed5 RBP: ffff888090d6d638 R08: 0000000000000054 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880af83f5b8 R13: ffff8880a4a9a7f8 R14: ffffed10121adaca R15: ffff88823a5220d8 FS: 00007f30ecba8700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f30ee72efb8 CR3: 00000000ab21f000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:117 [inline] list_del include/linux/list.h:125 [inline] klist_release lib/klist.c:190 [inline] kref_put include/linux/kref.h:70 [inline] klist_dec_and_del+0x97/0x480 lib/klist.c:207 klist_put+0x7a/0x150 lib/klist.c:218 device_del+0x370/0xaf0 drivers/base/core.c:2337 hci_conn_del_sysfs+0xdc/0x180 net/bluetooth/hci_sysfs.c:78 hci_conn_cleanup+0x24b/0x550 net/bluetooth/hci_conn.c:128 hci_conn_del+0x2a0/0x780 net/bluetooth/hci_conn.c:611 hci_conn_hash_flush+0x19c/0x260 net/bluetooth/hci_conn.c:1513 hci_dev_do_close+0x6bc/0x1020 net/bluetooth/hci_core.c:1687 hci_unregister_dev+0x14f/0x460 net/bluetooth/hci_core.c:3288 vhci_release+0x70/0xe0 drivers/bluetooth/hci_vhci.c:354 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xbf3/0x2be0 kernel/exit.c:870 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f30ee65a2d1 Code: Bad RIP value. RSP: 002b:00007f30ecba80b0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: fffffffffffffdfc RBX: 00007f30ee755f80 RCX: 00007f30ee65a2d1 RDX: 00007f30ecba80f0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f30ee6907b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffdde882bbf R14: 00007f30ecba8300 R15: 0000000000022000 Modules linked in: ---[ end trace 9c8c583356976ddc ]--- RIP: 0010:__list_del_entry_valid.cold+0x48/0x4a lib/list_debug.c:54 Code: e8 ec 42 f7 ff 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 e0 e3 b3 88 e8 d8 42 f7 ff 0f 0b 48 89 ee 48 c7 c7 a0 e4 b3 88 e8 c7 42 f7 ff <0f> 0b 41 83 c7 01 b8 ff ff 37 00 44 89 3d 5a 85 3a 05 48 c1 e0 2a RSP: 0018:ffff8880b1637718 EFLAGS: 00010282 RAX: 0000000000000054 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10162c6ed5 RBP: ffff888090d6d638 R08: 0000000000000054 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880af83f5b8 R13: ffff8880a4a9a7f8 R14: ffffed10121adaca R15: ffff88823a5220d8 FS: 00007f30ecba8700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f30ee65a2a7 CR3: 0000000009e6d000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400