Bluetooth: hci0: hardware error 0x00 ------------[ cut here ]------------ ida_free called for id=65535 which is not allocated. WARNING: CPU: 1 PID: 5071 at lib/idr.c:525 ida_free+0x1fb/0x2e0 lib/idr.c:525 Modules linked in: CPU: 1 PID: 5071 Comm: kworker/u5:2 Not tainted 6.7.0-rc8-syzkaller-00174-g95c8a35f1c01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: hci0 hci_error_reset RIP: 0010:ida_free+0x1fb/0x2e0 lib/idr.c:525 Code: 1b f7 41 83 fe 3e 76 6f e8 32 4f 1b f7 48 8b 7c 24 28 4c 89 ee e8 a5 72 17 00 90 48 c7 c7 80 eb 18 8c 89 ee e8 46 90 e1 f6 90 <0f> 0b 90 90 e8 0c 4f 1b f7 48 b8 00 00 00 00 00 fc ff df 48 01 c3 RSP: 0018:ffffc900039efa78 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff9200073df50 RCX: ffffffff814db559 RDX: ffff888017781dc0 RSI: ffffffff814db566 RDI: 0000000000000001 RBP: 000000000000ffff R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000293 R14: 00000000000003ff R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08b80c56be CR3: 000000000cd77000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_conn_cleanup net/bluetooth/hci_conn.c:157 [inline] hci_conn_del+0x78c/0xe10 net/bluetooth/hci_conn.c:1182 hci_conn_hash_flush+0x189/0x260 net/bluetooth/hci_conn.c:2615 hci_dev_close_sync+0x5a7/0x1160 net/bluetooth/hci_sync.c:5021 hci_dev_do_close+0x2e/0x90 net/bluetooth/hci_core.c:554 hci_error_reset+0xa6/0x190 net/bluetooth/hci_core.c:1059 process_one_work+0x886/0x15d0 kernel/workqueue.c:2627 process_scheduled_works kernel/workqueue.c:2700 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242