------------[ cut here ]------------ ida_free called for id=8192 which is not allocated. WARNING: CPU: 1 PID: 15365 at lib/idr.c:525 ida_free+0x370/0x420 lib/idr.c:525 Modules linked in: CPU: 1 PID: 15365 Comm: syz-executor Not tainted 6.10.0-rc6-syzkaller-00069-g795c58e4c7fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:ida_free+0x370/0x420 lib/idr.c:525 Code: 10 42 80 3c 28 00 74 05 e8 2d 33 88 f6 48 8b 7c 24 40 4c 89 fe e8 60 a0 17 00 90 48 c7 c7 60 5f eb 8c 89 de e8 71 f5 e7 f5 90 <0f> 0b 90 90 eb 3d e8 15 c7 25 f6 49 bd 00 00 00 00 00 fc ff df 4d RSP: 0018:ffffc9000bb97940 EFLAGS: 00010246 RAX: 585a03680e782e00 RBX: 0000000000002000 RCX: ffff888011e21e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000bb97a30 R08: ffffffff81585742 R09: fffffbfff1c39994 R10: dffffc0000000000 R11: fffffbfff1c39994 R12: ffffc9000bb97980 R13: dffffc0000000000 R14: ffff88802c1e80a0 R15: 0000000000000246 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002008f000 CR3: 00000000795ec000 CR4: 00000000003506f0 Call Trace: hci_conn_cleanup net/bluetooth/hci_conn.c:156 [inline] hci_conn_del+0x746/0xc40 net/bluetooth/hci_conn.c:1154 hci_conn_hash_flush+0x18e/0x240 net/bluetooth/hci_conn.c:2585 hci_dev_close_sync+0x911/0xf60 net/bluetooth/hci_sync.c:5062 hci_dev_do_close net/bluetooth/hci_core.c:556 [inline] hci_unregister_dev+0x1db/0x4e0 net/bluetooth/hci_core.c:2760 vhci_release+0x83/0xd0 drivers/bluetooth/hci_vhci.c:666 __fput+0x24a/0x8a0 fs/file_table.c:422 task_work_run+0x24f/0x310 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa27/0x27e0 kernel/exit.c:874 do_group_exit+0x207/0x2c0 kernel/exit.c:1023 __do_sys_exit_group kernel/exit.c:1034 [inline] __se_sys_exit_group kernel/exit.c:1032 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1032 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc671775bd9 Code: Unable to access opcode bytes at 0x7fc671775baf. RSP: 002b:00007ffd6f3ef548 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fc6717e3587 RCX: 00007fc671775bd9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000016 R08: 00007ffd6f3ed2e6 R09: 00007ffd6f3f0800 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd6f3f0800 R13: 00007fc6717e3515 R14: 0000555594f084a8 R15: 0000000000000007