------------[ cut here ]------------ ida_free called for id=43690 which is not allocated. WARNING: CPU: 1 PID: 6291 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 1 PID: 6291 Comm: syz-executor Not tainted 6.10.0-rc6-syzkaller-g8a03d70c27fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 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 : ffff800098ab73c0 x29: ffff800098ab7470 x28: 1ffff00012423c94 x27: 1ffff00013156e7c x26: dfff800000000000 x25: ffff700013156e78 x24: ffff0000f1068008 x23: 00000000000002aa x22: 0000000000000000 x21: 0000000000000000 x20: 000000000000aaaa x19: ffff800098ab73e0 x18: 1ffff00013166de2 x17: ffff80008f1ad000 x16: ffff800080338a18 x15: 0000000000000001 x14: 1fffe000367b1200 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : e975835ed728ad00 x8 : e975835ed728ad00 x7 : ffff8000802af1b8 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008b1f0460 x0 : ffff800124c7c000 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_unregister_dev+0x1d8/0x49c net/bluetooth/hci_core.c:2760 vhci_release+0x7c/0xd0 drivers/bluetooth/hci_vhci.c:666 __fput+0x334/0x760 fs/file_table.c:422 ____fput+0x20/0x30 fs/file_table.c:450 task_work_run+0x230/0x2e0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x4e4/0x1ac8 kernel/exit.c:874 do_group_exit+0x194/0x22c kernel/exit.c:1023 get_signal+0x1414/0x1530 kernel/signal.c:2909 do_signal+0x238/0x3e8c arch/arm64/kernel/signal.c:1308 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 697422 hardirqs last enabled at (697421): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1418 [inline] hardirqs last enabled at (697421): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5162 hardirqs last disabled at (697422): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (696974): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (696974): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (696955): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ida_free called for id=48042 which is not allocated. WARNING: CPU: 0 PID: 6291 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 0 PID: 6291 Comm: syz-executor Tainted: G W 6.10.0-rc6-syzkaller-g8a03d70c27fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 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 : ffff800098ab73c0 x29: ffff800098ab7470 x28: 1ffff00012423c94 x27: 1ffff00013156e7c x26: dfff800000000000 x25: ffff700013156e78 x24: ffff0000f106c008 x23: 00000000000003aa x22: 0000000000000000 x21: 0000000000000000 x20: 000000000000bbaa x19: ffff800098ab73e0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082fcbd70 x15: 0000000000000001 x14: 1fffe000367a9e4a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : e975835ed728ad00 x8 : e975835ed728ad00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800098ab6b18 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_unregister_dev+0x1d8/0x49c net/bluetooth/hci_core.c:2760 vhci_release+0x7c/0xd0 drivers/bluetooth/hci_vhci.c:666 __fput+0x334/0x760 fs/file_table.c:422 ____fput+0x20/0x30 fs/file_table.c:450 task_work_run+0x230/0x2e0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x4e4/0x1ac8 kernel/exit.c:874 do_group_exit+0x194/0x22c kernel/exit.c:1023 get_signal+0x1414/0x1530 kernel/signal.c:2909 do_signal+0x238/0x3e8c arch/arm64/kernel/signal.c:1308 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 697810 hardirqs last enabled at (697809): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (697809): [] __console_unlock kernel/printk/printk.c:2731 [inline] hardirqs last enabled at (697809): [] console_unlock+0x18c/0x3d4 kernel/printk/printk.c:3050 hardirqs last disabled at (697810): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (697736): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (697736): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (697425): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ida_free called for id=8192 which is not allocated. WARNING: CPU: 1 PID: 6291 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 1 PID: 6291 Comm: syz-executor Tainted: G W 6.10.0-rc6-syzkaller-g8a03d70c27fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 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 : ffff800098ab73c0 x29: ffff800098ab7470 x28: 1ffff00012423c94 x27: 1ffff00013156e7c x26: dfff800000000000 x25: ffff700013156e78 x24: ffff0000e7844fe0 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000002000 x19: ffff800098ab73e0 x18: 1fffe000367ae5de x17: ffff80008f1ad000 x16: ffff800080338a18 x15: 0000000000000001 x14: 1fffe000367b1200 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000000003 x9 : e975835ed728ad00 x8 : e975835ed728ad00 x7 : ffff8000802af1b8 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008b1f0460 x0 : ffff800124c7c000 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_unregister_dev+0x1d8/0x49c net/bluetooth/hci_core.c:2760 vhci_release+0x7c/0xd0 drivers/bluetooth/hci_vhci.c:666 __fput+0x334/0x760 fs/file_table.c:422 ____fput+0x20/0x30 fs/file_table.c:450 task_work_run+0x230/0x2e0 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x4e4/0x1ac8 kernel/exit.c:874 do_group_exit+0x194/0x22c kernel/exit.c:1023 get_signal+0x1414/0x1530 kernel/signal.c:2909 do_signal+0x238/0x3e8c arch/arm64/kernel/signal.c:1308 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 698096 hardirqs last enabled at (698095): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1418 [inline] hardirqs last enabled at (698095): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5162 hardirqs last disabled at (698096): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (697982): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (697982): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (697813): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---