------------[ cut here ]------------ ida_free called for id=57576 which is not allocated. WARNING: CPU: 3 PID: 12301 at lib/idr.c:525 ida_free+0x1fb/0x2f0 lib/idr.c:525 Modules linked in: CPU: 3 PID: 12301 Comm: syz.0.2073 Not tainted 6.10.0-rc5-syzkaller-00282-g8282d5af7be8 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ida_free+0x1fb/0x2f0 lib/idr.c:525 Code: c7 f6 41 83 fe 3e 76 73 e8 c2 a9 c7 f6 48 8b 7c 24 28 4c 89 ee e8 c5 c1 18 00 90 48 c7 c7 60 d3 7f 8c 89 ee e8 16 2a 8a f6 90 <0f> 0b 90 90 e8 9c a9 c7 f6 48 b8 00 00 00 00 00 fc ff df 48 01 c3 RSP: 0018:ffffc90002cffa98 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 1ffff9200059ff54 RCX: ffffffff81511289 RDX: ffff8880209e2440 RSI: ffffffff81511296 RDI: 0000000000000001 RBP: 000000000000e0e8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000293 R14: 00000000000000e8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c300000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005deac000 CR4: 0000000000352ef0 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+0x534/0x11c0 net/bluetooth/hci_sync.c:5062 hci_dev_do_close+0x2e/0x90 net/bluetooth/hci_core.c:556 hci_unregister_dev+0x1e3/0x5f0 net/bluetooth/hci_core.c:2760 vhci_release+0x7f/0x100 drivers/bluetooth/hci_vhci.c:666 __fput+0x408/0xbb0 fs/file_table.c:422 task_work_run+0x14e/0x250 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa9b/0x2ba0 kernel/exit.c:874 do_group_exit+0xd3/0x2a0 kernel/exit.c:1023 __do_sys_exit_group kernel/exit.c:1034 [inline] __se_sys_exit_group kernel/exit.c:1032 [inline] __ia32_sys_exit_group+0x3e/0x50 kernel/exit.c:1032 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf73df579 Code: Unable to access opcode bytes at 0xf73df54f. RSP: 002b:00000000fff118ec EFLAGS: 00000286 ORIG_RAX: 00000000000000fc RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000ffffff9c RDI: 00000000f73cbff4 RBP: 00000000fff119f4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000