------------[ cut here ]------------ ida_free called for id=8192 which is not allocated. WARNING: CPU: 0 PID: 8512 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 0 PID: 8512 Comm: kworker/0:9 Not tainted 6.10.0-rc6-syzkaller-g8a03d70c27fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events rfkill_op_handler pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ida_free+0x2b8/0x378 lib/idr.c:525 lr : ida_free+0x2b8/0x378 lib/idr.c:525 sp : ffff8000a00b7780 x29: ffff8000a00b7830 x28: 1ffff00012423c94 x27: 1ffff00014016ef4 x26: dfff800000000000 x25: ffff700014016ef0 x24: ffff0000d0c6c008 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000002000 x19: ffff8000a00b77a0 x18: 1fffe000367a9dde x17: ffff80008f1ad000 x16: ffff800080338a18 x15: 0000000000000001 x14: 1fffe000367aca00 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : 7a3fd55d555cc100 x8 : 7a3fd55d555cc100 x7 : ffff8000802af1b8 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008b1f0460 x0 : ffff800124c58000 Call trace: ida_free+0x2b8/0x378 lib/idr.c:525 hci_conn_cleanup net/bluetooth/hci_conn.c:156 [inline] hci_conn_del+0x5c4/0xaa0 net/bluetooth/hci_conn.c:1154 hci_conn_hash_flush+0x184/0x220 net/bluetooth/hci_conn.c:2585 hci_dev_close_sync+0x76c/0xec0 net/bluetooth/hci_sync.c:5062 hci_dev_do_close+0x38/0x9c net/bluetooth/hci_core.c:556 hci_rfkill_set_block+0x1c4/0x2a8 net/bluetooth/hci_core.c:982 rfkill_set_block+0x18c/0x37c net/rfkill/core.c:346 rfkill_epo+0x8c/0x158 net/rfkill/core.c:466 __rfkill_handle_global_op net/rfkill/input.c:60 [inline] rfkill_op_handler+0x170/0x288 net/rfkill/input.c:108 process_one_work+0x79c/0x15b8 kernel/workqueue.c:3248 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x938/0xecc kernel/workqueue.c:3409 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 214970 hardirqs last enabled at (214969): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1418 [inline] hardirqs last enabled at (214969): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5162 hardirqs last disabled at (214970): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (213444): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (213444): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (213343): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---