------------[ cut here ]------------ ida_free called for id=8192 which is not allocated. WARNING: CPU: 0 PID: 6267 at lib/idr.c:525 ida_free+0x2b8/0x378 lib/idr.c:525 Modules linked in: CPU: 0 PID: 6267 Comm: kworker/u9:3 Not tainted 6.9.0-rc7-syzkaller-gfda5695d692c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci3 hci_rx_work 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 : ffff800099677600 x29: ffff8000996776a0 x28: ffff800091d61700 x27: 1ffff000132ceec4 x26: dfff800000000000 x25: ffff7000132ceec0 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000002000 x19: ffff800099677620 x18: ffff800099676f40 x17: 0000000000015eca x16: ffff800080333944 x15: 0000000000000001 x14: 1fffe000367bb590 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000040000 x10: 0000000000000003 x9 : c424a82443b20900 x8 : c424a82443b20900 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff80008afffb40 x0 : ffff800124fc3000 Call trace: ida_free+0x2b8/0x378 lib/idr.c:525 hci_conn_set_handle+0x148/0x230 net/bluetooth/hci_conn.c:1257 hci_le_create_big_complete_evt+0x2c8/0x99c net/bluetooth/hci_event.c:6952 hci_le_meta_evt+0x2b8/0x47c net/bluetooth/hci_event.c:7231 hci_event_func net/bluetooth/hci_event.c:7542 [inline] hci_event_packet+0x6f4/0x1098 net/bluetooth/hci_event.c:7597 hci_rx_work+0x318/0xa78 net/bluetooth/hci_core.c:4171 process_one_work+0x7b8/0x15d4 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3348 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:3429 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 36704 hardirqs last enabled at (36703): [] raw_spin_rq_unlock_irq+0x14/0x24 kernel/sched/sched.h:1399 hardirqs last disabled at (36704): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (36220): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (36220): [] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (36151): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- sysfs: cannot create duplicate filename '/devices/virtual/bluetooth/hci3/hci3:0' CPU: 0 PID: 6267 Comm: kworker/u9:3 Tainted: G W 6.9.0-rc7-syzkaller-gfda5695d692c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: hci3 hci_rx_work Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 sysfs_warn_dup fs/sysfs/dir.c:30 [inline] sysfs_create_dir_ns+0x278/0x318 fs/sysfs/dir.c:63 create_dir lib/kobject.c:73 [inline] kobject_add_internal+0x598/0xb04 lib/kobject.c:240 kobject_add_varg lib/kobject.c:374 [inline] kobject_add+0x14c/0x224 lib/kobject.c:426 device_add+0x3a0/0xaac drivers/base/core.c:3658 hci_conn_add_sysfs+0xc4/0x1cc net/bluetooth/hci_sysfs.c:58 hci_le_create_big_complete_evt+0x610/0x99c net/bluetooth/hci_event.c:6961 hci_le_meta_evt+0x2b8/0x47c net/bluetooth/hci_event.c:7231 hci_event_func net/bluetooth/hci_event.c:7542 [inline] hci_event_packet+0x6f4/0x1098 net/bluetooth/hci_event.c:7597 hci_rx_work+0x318/0xa78 net/bluetooth/hci_core.c:4171 process_one_work+0x7b8/0x15d4 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3348 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:3429 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 kobject: kobject_add_internal failed for hci3:0 with -EEXIST, don't try to register things with the same name in the same directory. Bluetooth: hci3: failed to register connection device