list_del corruption. next->prev should be ffff0000c93870c8, but was 0000000000000000. (next=ffff0000c0c0b6c8) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:64! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 3066 Comm: syz-executor.1 Not tainted 6.0.0-rc3-syzkaller-16800-g85413d1e802e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __list_del_entry_valid+0xcc/0xd0 lib/list_debug.c:62 lr : __list_del_entry_valid+0xcc/0xd0 lib/list_debug.c:62 sp : ffff8000128939d0 x29: ffff8000128939d0 x28: 00000000000e0003 x27: 0000000000002000 x26: 0000000000000000 x25: 0000000000000000 x24: ffff0000c0deca80 x23: ffff0000c5f90000 x22: ffff800009a6f1e0 x21: ffff0000c0f30549 x20: ffff0000c93870c0 x19: ffff0000c93870d8 x18: 00000000000000c0 x17: 20747562202c3863 x16: ffff80000dbb8658 x15: ffff0000c5f90000 x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000c5f90000 x11: ff808000081c39d0 x10: 0000000000000000 x9 : cbd667f458cd9700 x8 : cbd667f458cd9700 x7 : ffff800008197c80 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0001fefbecd0 x1 : 0000000100000001 x0 : 000000000000006d Call trace: __list_del_entry_valid+0xcc/0xd0 lib/list_debug.c:62 generic_test_bit include/asm-generic/bitops/generic-non-atomic.h:128 [inline] wb_exit mm/backing-dev.c:360 [inline] release_bdi mm/backing-dev.c:967 [inline] kref_put+0x6c/0x224 include/linux/kref.h:65 klist_dec_and_del lib/klist.c:206 [inline] klist_put lib/klist.c:217 [inline] klist_del+0x58/0xb0 lib/klist.c:230 device_del+0x280/0x5bc drivers/base/core.c:3699 hci_conn_del_sysfs+0xb0/0xfc net/bluetooth/hci_sysfs.c:78 hci_conn_cleanup+0x2d4/0x36c net/bluetooth/hci_conn.c:147 hci_conn_del+0x144/0x294 net/bluetooth/hci_conn.c:1022 hci_conn_hash_flush+0xe8/0x148 net/bluetooth/hci_conn.c:2367 hci_dev_close_sync+0x478/0x8e0 net/bluetooth/hci_sync.c:4476 hci_dev_do_close net/bluetooth/hci_core.c:554 [inline] hci_unregister_dev+0xe4/0x270 net/bluetooth/hci_core.c:2682 vhci_release+0x44/0x80 drivers/bluetooth/hci_vhci.c:568 __fput+0x198/0x3bc fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:353 task_work_run+0xc4/0x208 kernel/task_work.c:177 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x26c/0xbb8 kernel/exit.c:795 do_group_exit+0x60/0xe8 kernel/exit.c:925 __do_sys_exit_group kernel/exit.c:936 [inline] __se_sys_exit_group kernel/exit.c:934 [inline] __wake_up_parent+0x0/0x40 kernel/exit.c:934 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x154 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:624 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:642 el0t_64_sync+0x18c/0x190 Code: d4210000 b001b600 910fb800 94a81eba (d4210000) ---[ end trace 0000000000000000 ]---