kobject: kobject_add_internal failed for hci3:201 with -EEXIST, don't try to register things with the same name in the same directory. Bluetooth: hci3: failed to register connection device ================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_write include/linux/instrumented.h:82 [inline] BUG: KASAN: null-ptr-deref in set_bit include/asm-generic/bitops/instrumented-atomic.h:28 [inline] BUG: KASAN: null-ptr-deref in l2cap_sock_suspend_cb+0x43/0x90 net/bluetooth/l2cap_sock.c:1742 Write of size 8 at addr 0000000000000570 by task kworker/u33:2/5952 CPU: 3 UID: 0 PID: 5952 Comm: kworker/u33:2 Not tainted 6.16.0-rc6-syzkaller-00002-g155a3c003e55 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: hci3 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 kasan_report+0xe0/0x110 mm/kasan/report.c:593 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x100/0x1b0 mm/kasan/generic.c:189 instrument_atomic_write include/linux/instrumented.h:82 [inline] set_bit include/asm-generic/bitops/instrumented-atomic.h:28 [inline] l2cap_sock_suspend_cb+0x43/0x90 net/bluetooth/l2cap_sock.c:1742 l2cap_chan_ready.part.0+0x1c9/0x240 net/bluetooth/l2cap_core.c:1257 l2cap_chan_ready net/bluetooth/l2cap_core.c:1246 [inline] l2cap_le_start+0x1ea/0xe40 net/bluetooth/l2cap_core.c:1375 l2cap_conn_ready net/bluetooth/l2cap_core.c:1628 [inline] l2cap_connect_cfm+0x8f4/0xf80 net/bluetooth/l2cap_core.c:7288 hci_connect_cfm include/net/bluetooth/hci_core.h:2055 [inline] le_conn_complete_evt+0x1665/0x1d70 net/bluetooth/hci_event.c:5755 hci_le_conn_complete_evt+0x23c/0x370 net/bluetooth/hci_event.c:5781 hci_le_meta_evt+0x357/0x5e0 net/bluetooth/hci_event.c:7167 hci_event_func net/bluetooth/hci_event.c:7475 [inline] hci_event_packet+0x685/0x11c0 net/bluetooth/hci_event.c:7532 hci_rx_work+0x2c5/0x16b0 net/bluetooth/hci_core.c:4070 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ==================================================================