WARNING: CPU: 0 PID: 4465 at lib/idr.c:525 ida_free+0x1fb/0x2f0 lib/idr.c:525 Modules linked in: CPU: 0 PID: 4465 Comm: kworker/u9:1 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci0 hci_error_reset RIP: 0010:ida_free+0x1fb/0x2f0 lib/idr.c:525 Code: d0 f6 41 83 fe 3e 76 73 e8 52 73 d0 f6 48 8b 7c 24 28 4c 89 ee e8 95 26 19 00 90 48 c7 c7 c0 2d 5b 8c 89 ee e8 56 29 93 f6 90 <0f> 0b 90 90 e8 2c 73 d0 f6 48 b8 00 00 00 00 00 fc ff df 48 01 c3 RSP: 0018:ffffc9000c8efa40 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff9200191df49 RCX: ffffffff8150f3e9 RDX: ffff88802c5f8000 RSI: ffffffff8150f3f6 RDI: 0000000000000001 RBP: 000000000000ffff R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000293 R14: 00000000000003ff R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3328ba83c8 CR3: 00000000227b0000 CR4: 0000000000350ef0 Call Trace: hci_conn_cleanup net/bluetooth/hci_conn.c:156 [inline] hci_conn_del+0x772/0xe00 net/bluetooth/hci_conn.c:1126 hci_conn_hash_flush+0x18f/0x260 net/bluetooth/hci_conn.c:2567 hci_dev_close_sync+0x59b/0x11e0 net/bluetooth/hci_sync.c:5153 hci_dev_do_close+0x2e/0x90 net/bluetooth/hci_core.c:554 hci_error_reset+0xc7/0x330 net/bluetooth/hci_core.c:1091 process_one_work+0x9ac/0x1a60 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c4/0x3a0 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243