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: wild-memory-access in instrument_atomic_read include/linux/instrumented.h:72 [inline] BUG: KASAN: wild-memory-access in atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] BUG: KASAN: wild-memory-access in l2cap_chan_lock include/net/bluetooth/l2cap.h:863 [inline] BUG: KASAN: wild-memory-access in l2cap_conn_ready net/bluetooth/l2cap_core.c:1783 [inline] BUG: KASAN: wild-memory-access in l2cap_connect_cfm+0x4f0/0xd64 net/bluetooth/l2cap_core.c:8340 Read of size 4 at addr deacfffffffffc84 by task kworker/u5:2/4302 CPU: 0 PID: 4302 Comm: kworker/u5:2 Not tainted 6.1.140-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: hci3 hci_rx_work Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 print_report+0x40/0x68 mm/kasan/report.c:430 kasan_report+0xa8/0x100 mm/kasan/report.c:531 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x260/0x2a0 mm/kasan/generic.c:189 __kasan_check_read+0x2c/0x3c mm/kasan/shadow.c:31 instrument_atomic_read include/linux/instrumented.h:72 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] l2cap_chan_lock include/net/bluetooth/l2cap.h:863 [inline] l2cap_conn_ready net/bluetooth/l2cap_core.c:1783 [inline] l2cap_connect_cfm+0x4f0/0xd64 net/bluetooth/l2cap_core.c:8340 hci_connect_cfm+0x98/0x130 include/net/bluetooth/hci_core.h:1787 le_conn_complete_evt+0xaa4/0xf8c net/bluetooth/hci_event.c:5871 hci_le_conn_complete_evt+0x114/0x3f8 net/bluetooth/hci_event.c:5897 hci_le_meta_evt+0x2c0/0x4a4 net/bluetooth/hci_event.c:7067 hci_event_func net/bluetooth/hci_event.c:7378 [inline] hci_event_packet+0x6ac/0xf08 net/bluetooth/hci_event.c:7433 hci_rx_work+0x324/0xaa0 net/bluetooth/hci_core.c:4090 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 ================================================================== Unable to handle kernel paging request at virtual address fbd51fffffffff90 KASAN: maybe wild-memory-access in range [0xdeacfffffffffc80-0xdeacfffffffffc87] Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation fault Data abort info: ISV = 0, ISS = 0x00000004 CM = 0, WnR = 0 [fbd51fffffffff90] address between user and kernel address ranges Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4302 Comm: kworker/u5:2 Tainted: G B 6.1.140-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: hci3 hci_rx_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : atomic_read include/linux/atomic/atomic-instrumented.h:28 [inline] pc : l2cap_chan_lock include/net/bluetooth/l2cap.h:863 [inline] pc : l2cap_conn_ready net/bluetooth/l2cap_core.c:1783 [inline] pc : l2cap_connect_cfm+0x4fc/0xd64 net/bluetooth/l2cap_core.c:8340 lr : instrument_atomic_read include/linux/instrumented.h:72 [inline] lr : atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] lr : l2cap_chan_lock include/net/bluetooth/l2cap.h:863 [inline] lr : l2cap_conn_ready net/bluetooth/l2cap_core.c:1783 [inline] lr : l2cap_connect_cfm+0x4f0/0xd64 net/bluetooth/l2cap_core.c:8340 sp : ffff800020817620 x29: ffff8000208176a0 x28: dfff800000000000 x27: 1fffe0001e3a2807 x26: 0000000000000001 x25: 0000000000000080 x24: deacfffffffffc84 x23: ffff0000defba81a x22: dead000000000100 x21: ffff0000defbaa60 x20: ffff0000f1d14039 x19: ffff0000defba800 x18: ffff800011a7bd00 x17: 0000000000000000 x16: ffff800008042940 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000100000 x11: 000000000003431f x10: ffff80003348e000 x9 : 0000000000000007 x8 : 1bd59fffffffff90 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800020816ff8 x4 : ffff800015154740 x3 : ffff800008190ed8 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: atomic_read include/linux/atomic/atomic-instrumented.h:28 [inline] l2cap_chan_lock include/net/bluetooth/l2cap.h:863 [inline] l2cap_conn_ready net/bluetooth/l2cap_core.c:1783 [inline] l2cap_connect_cfm+0x4fc/0xd64 net/bluetooth/l2cap_core.c:8340 hci_connect_cfm+0x98/0x130 include/net/bluetooth/hci_core.h:1787 le_conn_complete_evt+0xaa4/0xf8c net/bluetooth/hci_event.c:5871 hci_le_conn_complete_evt+0x114/0x3f8 net/bluetooth/hci_event.c:5897 hci_le_meta_evt+0x2c0/0x4a4 net/bluetooth/hci_event.c:7067 hci_event_func net/bluetooth/hci_event.c:7378 [inline] hci_event_packet+0x6ac/0xf08 net/bluetooth/hci_event.c:7433 hci_rx_work+0x324/0xaa0 net/bluetooth/hci_core.c:4090 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 Code: 97d0c103 d343ff08 12000b09 11000d29 (38fc6908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 97d0c103 bl 0xffffffffff43040c 4: d343ff08 lsr x8, x24, #3 8: 12000b09 and w9, w24, #0x7 c: 11000d29 add w9, w9, #0x3 * 10: 38fc6908 ldrsb w8, [x8, x28] <-- trapping instruction