------------[ cut here ]------------ ida_free called for id=8192 which is not allocated. WARNING: CPU: 1 PID: 4486 at lib/idr.c:525 ida_free+0x370/0x420 lib/idr.c:525 Modules linked in: CPU: 1 PID: 4486 Comm: kworker/u9:1 Not tainted 6.9.0-syzkaller-gf4e8d8029285 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: hci0 hci_rx_work RIP: 0010:ida_free+0x370/0x420 lib/idr.c:525 Code: 10 42 80 3c 28 00 74 05 e8 5d ec 87 f6 48 8b 7c 24 40 4c 89 fe e8 30 9f 17 00 90 48 c7 c7 00 20 e8 8c 89 de e8 31 9c e5 f5 90 <0f> 0b 90 90 eb 3d e8 d5 35 23 f6 49 bd 00 00 00 00 00 fc ff df 4d RSP: 0018:ffffc9000e577780 EFLAGS: 00010246 RAX: 893e49e2979b7900 RBX: 0000000000002000 RCX: ffff88802f71bc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000e577880 R08: ffffffff81588e62 R09: 1ffff110172a519a R10: dffffc0000000000 R11: ffffed10172a519b R12: ffffc9000e5777c0 R13: dffffc0000000000 R14: ffff888024ae80a0 R15: 0000000000000246 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005628289ff048 CR3: 000000000e134000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hci_conn_set_handle+0x193/0x270 net/bluetooth/hci_conn.c:1257 hci_le_create_big_complete_evt+0x345/0xae0 net/bluetooth/hci_event.c:6952 hci_event_func net/bluetooth/hci_event.c:7544 [inline] hci_event_packet+0xa53/0x1540 net/bluetooth/hci_event.c:7599 hci_rx_work+0x3e8/0xca0 net/bluetooth/hci_core.c:4170 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3348 worker_thread+0x86d/0xd70 kernel/workqueue.c:3429 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244