------------[ cut here ]------------ ida_free called for id=8192 which is not allocated. WARNING: CPU: 1 PID: 5085 at lib/idr.c:525 ida_free+0x1fb/0x2f0 lib/idr.c:525 Modules linked in: CPU: 1 PID: 5085 Comm: kworker/u9:2 Not tainted 6.10.0-rc6-syzkaller-00061-ge9d22f7a6655 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: hci2 hci_error_reset RIP: 0010:ida_free+0x1fb/0x2f0 lib/idr.c:525 Code: bb f6 41 83 fe 3e 76 73 e8 f2 fa bb f6 48 8b 7c 24 28 4c 89 ee e8 c5 0c 19 00 90 48 c7 c7 e0 2b 81 8c 89 ee e8 96 15 7e f6 90 <0f> 0b 90 90 e8 cc fa bb f6 48 b8 00 00 00 00 00 fc ff df 48 01 c3 RSP: 0018:ffffc9000320fa38 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 1ffff92000641f48 RCX: ffffffff81500069 RDX: ffff8880698c8000 RSI: ffffffff81500076 RDI: 0000000000000001 RBP: 0000000000002000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000293 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fce752356b8 CR3: 0000000029c46000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_conn_cleanup net/bluetooth/hci_conn.c:156 [inline] hci_conn_del+0x768/0xdb0 net/bluetooth/hci_conn.c:1154 hci_conn_hash_flush+0x18f/0x260 net/bluetooth/hci_conn.c:2585 hci_dev_close_sync+0x591/0x1100 net/bluetooth/hci_sync.c:5062 hci_dev_do_close+0x2e/0x90 net/bluetooth/hci_core.c:556 hci_error_reset+0xbf/0x320 net/bluetooth/hci_core.c:1087 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3248 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x6c8/0xf30 kernel/workqueue.c:3409 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244