------------[ cut here ]------------ ida_free called for id=8192 which is not allocated. WARNING: CPU: 0 PID: 7698 at lib/idr.c:525 ida_free+0x1fb/0x2f0 lib/idr.c:525 Modules linked in: CPU: 0 PID: 7698 Comm: syz-executor.0 Not tainted 6.8.0-rc4-syzkaller-00005-gc664e16bb1ba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:ida_free+0x1fb/0x2f0 lib/idr.c:525 Code: dd f6 41 83 fe 3e 76 73 e8 c2 09 dd f6 48 8b 7c 24 28 4c 89 ee e8 25 8d 18 00 90 48 c7 c7 c0 a8 5b 8c 89 ee e8 06 2f a1 f6 90 <0f> 0b 90 90 e8 9c 09 dd f6 48 b8 00 00 00 00 00 fc ff df 48 01 c3 RSP: 0018:ffffc900093cf838 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 1ffff92001279f08 RCX: ffffffff81509959 RDX: ffff88806e785940 RSI: ffffffff81509966 RDI: 0000000000000001 RBP: 0000000000002000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000293 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556159938 CR3: 00000000420f6000 CR4: 0000000000350ef0 Call Trace: hci_conn_cleanup net/bluetooth/hci_conn.c:157 [inline] hci_conn_del+0x795/0xe20 net/bluetooth/hci_conn.c:1188 hci_conn_hash_flush+0x18f/0x260 net/bluetooth/hci_conn.c:2646 hci_dev_close_sync+0x59b/0x1160 net/bluetooth/hci_sync.c:4954 hci_dev_do_close+0x2e/0x90 net/bluetooth/hci_core.c:554 hci_unregister_dev+0x1eb/0x600 net/bluetooth/hci_core.c:2739 vhci_release+0x7f/0x100 drivers/bluetooth/hci_vhci.c:674 __fput+0x273/0xb80 fs/file_table.c:376 task_work_run+0x152/0x250 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa8a/0x2ad0 kernel/exit.c:871 do_group_exit+0xd4/0x2a0 kernel/exit.c:1020 get_signal+0x23b9/0x2790 kernel/signal.c:2893 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x156/0x2b0 kernel/entry/common.c:212 do_syscall_64+0xe5/0x270 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7fa3bd0a91b5 Code: Unable to access opcode bytes at 0x7fa3bd0a918b. RSP: 002b:00007fa3bdd6e010 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: fffffffffffffdfc RBX: 00007fa3bd1ac1f0 RCX: 00007fa3bd0a91b5 RDX: 00007fa3bdd6e050 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fa3bd0ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000006e R14: 00007fa3bd1ac1f0 R15: 00007ffd8a420628