------------[ cut here ]------------ ida_free called for id=53202 which is not allocated. WARNING: CPU: 1 PID: 7562 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 1 PID: 7562 Comm: syz.1.124 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 : ffff8000993873c0 x29: ffff800099387470 x28: 1ffff000124706cc x27: 1ffff00013270e7c x26: dfff800000000000 x25: ffff700013270e78 x24: ffff0000d9ecc008 x23: 00000000000003d2 x22: 0000000000000000 x21: 0000000000000000 x20: 000000000000cfd2 x19: ffff8000993873e0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082fdb8f0 x15: 0000000000000001 x14: 1fffe000367a4a4a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : 17fca90856a32000 x8 : 17fca90856a32000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800099386b38 x4 : ffff80008f4a4f60 x3 : ffff8000805f5694 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: 36764 hardirqs last enabled at (36763): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (36763): [] __console_unlock kernel/printk/printk.c:2746 [inline] hardirqs last enabled at (36763): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3065 hardirqs last disabled at (36764): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (36288): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (36288): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (36283): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ida_free called for id=60998 which is not allocated. WARNING: CPU: 0 PID: 7562 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 0 PID: 7562 Comm: syz.1.124 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 : ffff8000993873c0 x29: ffff800099387470 x28: 1ffff000124706cc x27: 1ffff00013270e7c x26: dfff800000000000 x25: ffff700013270e78 x24: ffff0000cf450008 x23: 0000000000000246 x22: 0000000000000000 x21: 0000000000000000 x20: 000000000000ee46 x19: ffff8000993873e0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff80008b13c770 x15: ffff700011e8660c x14: 1ffff00011e8660c x13: 0000000000000004 x12: ffffffffffffffff x11: 0000000000000002 x10: 0000000000ff0100 x9 : 17fca90856a32000 x8 : 17fca90856a32000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800099386b38 x4 : ffff80008f4a4f60 x3 : ffff800080374488 x2 : 0000000000000000 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: 36916 hardirqs last enabled at (36915): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (36915): [] __console_unlock kernel/printk/printk.c:2746 [inline] hardirqs last enabled at (36915): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3065 hardirqs last disabled at (36916): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (36840): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (36840): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (36767): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ida_free called for id=31565 which is not allocated. WARNING: CPU: 1 PID: 7562 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 1 PID: 7562 Comm: syz.1.124 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 : ffff8000993873c0 x29: ffff800099387470 x28: 1ffff000124706cc x27: 1ffff00013270e7c x26: dfff800000000000 x25: ffff700013270e78 x24: ffff0000d18f8008 x23: 000000000000034d x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000007b4d x19: ffff8000993873e0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082fdb8f0 x15: 0000000000000001 x14: 1fffe000367a4a4a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : 17fca90856a32000 x8 : 17fca90856a32000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800099386b38 x4 : ffff80008f4a4f60 x3 : ffff8000805f5694 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: 37076 hardirqs last enabled at (37075): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (37075): [] __console_unlock kernel/printk/printk.c:2746 [inline] hardirqs last enabled at (37075): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3065 hardirqs last disabled at (37076): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (37002): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (37002): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (36919): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ida_free called for id=60006 which is not allocated. WARNING: CPU: 1 PID: 7562 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 1 PID: 7562 Comm: syz.1.124 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 : ffff8000993873c0 x29: ffff800099387470 x28: 1ffff000124706cc x27: 1ffff00013270e7c x26: dfff800000000000 x25: ffff700013270e78 x24: ffff0000cce20008 x23: 0000000000000266 x22: 0000000000000000 x21: 0000000000000000 x20: 000000000000ea66 x19: ffff8000993873e0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082fdb8f0 x15: 0000000000000001 x14: 1fffe000367a4a4a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : 17fca90856a32000 x8 : 17fca90856a32000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800099386b38 x4 : ffff80008f4a4f60 x3 : ffff8000805f5694 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: 37436 hardirqs last enabled at (37435): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (37435): [] __console_unlock kernel/printk/printk.c:2746 [inline] hardirqs last enabled at (37435): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3065 hardirqs last disabled at (37436): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (37362): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (37362): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (37079): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ida_free called for id=24165 which is not allocated. WARNING: CPU: 1 PID: 7562 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 1 PID: 7562 Comm: syz.1.124 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 : ffff8000993873c0 x29: ffff800099387470 x28: 1ffff000124706cc x27: 1ffff00013270e7c x26: dfff800000000000 x25: ffff700013270e78 x24: ffff0000c637c008 x23: 0000000000000265 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000005e65 x19: ffff8000993873e0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082fdb8f0 x15: 0000000000000001 x14: 1fffe000367a4a4a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : 17fca90856a32000 x8 : 17fca90856a32000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800099386b38 x4 : ffff80008f4a4f60 x3 : ffff8000805f5694 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: 37654 hardirqs last enabled at (37653): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (37653): [] __console_unlock kernel/printk/printk.c:2746 [inline] hardirqs last enabled at (37653): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3065 hardirqs last disabled at (37654): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (37542): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (37542): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (37439): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ida_free called for id=7839 which is not allocated. WARNING: CPU: 1 PID: 7562 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 1 PID: 7562 Comm: syz.1.124 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 : ffff8000993873c0 x29: ffff800099387470 x28: 1ffff000124706cc x27: 1ffff00013270e7c x26: dfff800000000000 x25: ffff700013270e78 x24: ffff0000ed490008 x23: 000000000000029f x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000001e9f x19: ffff8000993873e0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082fdb8f0 x15: 0000000000000001 x14: 1fffe000367a4a4a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : 17fca90856a32000 x8 : 17fca90856a32000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800099386b38 x4 : ffff80008f4a4f60 x3 : ffff8000805f5694 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: 38178 hardirqs last enabled at (38177): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (38177): [] __console_unlock kernel/printk/printk.c:2746 [inline] hardirqs last enabled at (38177): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3065 hardirqs last disabled at (38178): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (38110): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (38110): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (37657): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ida_free called for id=60361 which is not allocated. WARNING: CPU: 1 PID: 7562 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 1 PID: 7562 Comm: syz.1.124 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 : ffff8000993873c0 x29: ffff800099387470 x28: 1ffff000124706cc x27: 1ffff00013270e7c x26: dfff800000000000 x25: ffff700013270e78 x24: ffff0000d94b0008 x23: 00000000000003c9 x22: 0000000000000000 x21: 0000000000000000 x20: 000000000000ebc9 x19: ffff8000993873e0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082fdb8f0 x15: 0000000000000001 x14: 1fffe000367a4a4a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : 17fca90856a32000 x8 : 17fca90856a32000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800099386b38 x4 : ffff80008f4a4f60 x3 : ffff8000805f5694 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: 38502 hardirqs last enabled at (38501): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (38501): [] __console_unlock kernel/printk/printk.c:2746 [inline] hardirqs last enabled at (38501): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3065 hardirqs last disabled at (38502): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (38434): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (38434): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (38181): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ ida_free called for id=38376 which is not allocated. WARNING: CPU: 1 PID: 7562 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 1 PID: 7562 Comm: syz.1.124 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 : ffff8000993873c0 x29: ffff800099387470 x28: 1ffff000124706cc x27: 1ffff00013270e7c x26: dfff800000000000 x25: ffff700013270e78 x24: ffff0000c61a4fe0 x23: 00000000000001e8 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000000095e8 x19: ffff8000993873e0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082fdb8f0 x15: 0000000000000001 x14: 1fffe000367a4a4a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000ff0100 x9 : 17fca90856a32000 x8 : 17fca90856a32000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800099386b38 x4 : ffff80008f4a4f60 x3 : ffff8000805f5694 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: 38878 hardirqs last enabled at (38877): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (38877): [] __console_unlock kernel/printk/printk.c:2746 [inline] hardirqs last enabled at (38877): [] console_unlock+0x17c/0x3d4 kernel/printk/printk.c:3065 hardirqs last disabled at (38878): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (38810): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (38810): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (38505): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---