Bluetooth: hci3: hardware error 0x00 ------------[ cut here ]------------ ida_free called for id=8192 which is not allocated. WARNING: CPU: 1 PID: 6293 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 1 PID: 6293 Comm: kworker/u9:3 Not tainted 6.10.0-rc6-syzkaller-g8a03d70c27fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: hci3 hci_error_reset pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ida_free+0x2b8/0x378 lib/idr.c:525 lr : ida_free+0x2b8/0x378 lib/idr.c:525 sp : ffff80009a527880 x29: ffff80009a527930 x28: 1ffff00012423c94 x27: 1ffff000134a4f14 x26: dfff800000000000 x25: ffff7000134a4f10 x24: ffff0000e893c008 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000002000 x19: ffff80009a5278a0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082fcbd70 x15: 0000000000000001 x14: 1fffe000367ae64a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : 699a7d3ddc17e000 x8 : 699a7d3ddc17e000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009a526fd8 x4 : ffff80008f295200 x3 : ffff8000805ef510 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: ida_free+0x2b8/0x378 lib/idr.c:525 hci_conn_cleanup net/bluetooth/hci_conn.c:156 [inline] hci_conn_del+0x5c4/0xaa0 net/bluetooth/hci_conn.c:1154 hci_conn_hash_flush+0x184/0x220 net/bluetooth/hci_conn.c:2585 hci_dev_close_sync+0x76c/0xec0 net/bluetooth/hci_sync.c:5062 hci_dev_do_close net/bluetooth/hci_core.c:556 [inline] hci_error_reset+0x108/0x35c net/bluetooth/hci_core.c:1087 process_one_work+0x79c/0x15b8 kernel/workqueue.c:3248 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x938/0xecc kernel/workqueue.c:3409 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 5470 hardirqs last enabled at (5469): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (5469): [] __console_unlock kernel/printk/printk.c:2731 [inline] hardirqs last enabled at (5469): [] console_unlock+0x18c/0x3d4 kernel/printk/printk.c:3050 hardirqs last disabled at (5470): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (5454): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (5454): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (5263): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- Bluetooth: hci3: Opcode 0x0c03 failed: -110 Bluetooth: hci3: Opcode 0x206c failed: -110 Bluetooth: hci3: Opcode 0x2046 failed: -110