kobject: kobject_add_internal failed for hci2:201 with -EEXIST, don't try to register things with the same name in the same directory. Bluetooth: hci2: failed to register connection device ================================================================== BUG: KASAN: wild-memory-access in instrument_atomic_read include/linux/instrumented.h:68 [inline] BUG: KASAN: wild-memory-access in atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] BUG: KASAN: wild-memory-access in l2cap_chan_lock include/net/bluetooth/l2cap.h:827 [inline] BUG: KASAN: wild-memory-access in l2cap_conn_ready net/bluetooth/l2cap_core.c:1621 [inline] BUG: KASAN: wild-memory-access in l2cap_connect_cfm+0x538/0xde4 net/bluetooth/l2cap_core.c:7280 Read of size 4 at addr deacfffffffffc8c by task kworker/u9:3/6431 CPU: 1 UID: 0 PID: 6431 Comm: kworker/u9:3 Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: hci2 hci_rx_work Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:466 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 print_report+0xf8/0x538 mm/kasan/report.c:492 kasan_report+0xd8/0x138 mm/kasan/report.c:602 kasan_check_range+0x268/0x2a8 mm/kasan/generic.c:189 __kasan_check_read+0x20/0x30 mm/kasan/shadow.c:31 instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] l2cap_chan_lock include/net/bluetooth/l2cap.h:827 [inline] l2cap_conn_ready net/bluetooth/l2cap_core.c:1621 [inline] l2cap_connect_cfm+0x538/0xde4 net/bluetooth/l2cap_core.c:7280 hci_connect_cfm+0x120/0x1d4 include/net/bluetooth/hci_core.h:2057 le_conn_complete_evt+0xa24/0xf14 net/bluetooth/hci_event.c:5763 hci_le_conn_complete_evt+0x114/0x404 net/bluetooth/hci_event.c:5789 hci_le_meta_evt+0x2a4/0x478 net/bluetooth/hci_event.c:7162 hci_event_func net/bluetooth/hci_event.c:7470 [inline] hci_event_packet+0x890/0x106c net/bluetooth/hci_event.c:7525 hci_rx_work+0x31c/0xb04 net/bluetooth/hci_core.c:4035 process_one_work+0x7a8/0x15cc kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 ================================================================== Unable to handle kernel paging request at virtual address fbd51fffffffff91 KASAN: maybe wild-memory-access in range [0xdeacfffffffffc88-0xdeacfffffffffc8f] 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, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [fbd51fffffffff91] address between user and kernel address ranges Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP Modules linked in: CPU: 1 UID: 0 PID: 6431 Comm: kworker/u9:3 Tainted: G B 6.13.0-rc3-syzkaller-g573067a5a685 #0 Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: hci2 hci_rx_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline] pc : atomic_read include/linux/atomic/atomic-instrumented.h:33 [inline] pc : l2cap_chan_lock include/net/bluetooth/l2cap.h:827 [inline] pc : l2cap_conn_ready net/bluetooth/l2cap_core.c:1621 [inline] pc : l2cap_connect_cfm+0x53c/0xde4 net/bluetooth/l2cap_core.c:7280 lr : instrument_atomic_read include/linux/instrumented.h:68 [inline] lr : atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] lr : l2cap_chan_lock include/net/bluetooth/l2cap.h:827 [inline] lr : l2cap_conn_ready net/bluetooth/l2cap_core.c:1621 [inline] lr : l2cap_connect_cfm+0x538/0xde4 net/bluetooth/l2cap_core.c:7280 sp : ffff8000a1e974e0 x29: ffff8000a1e97580 x28: ffff0000cf96b000 x27: 1fffe0001e447e03 x26: dfff800000000000 x25: ffff0000cf96b4b0 x24: ffff0000f223f01a x23: dead000000000100 x22: ffff0000f223f2c0 x21: 1fffe0001ad1f807 x20: ffff0000d68fc03d x19: deacfffffffffc8c x18: 1fffe00036700a7e x17: ffff80008f99d000 x16: ffff80008b6a0244 x15: 0000000000000001 x14: 1ffff000125d8af0 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000100000 x10: 000000000001ea7e x9 : 0000000000000000 x8 : 1bd59fffffffff91 x7 : 1fffe00036700a7f x6 : ffff8000803cf9cc x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000802f5550 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline] (P) atomic_read include/linux/atomic/atomic-instrumented.h:33 [inline] (P) l2cap_chan_lock include/net/bluetooth/l2cap.h:827 [inline] (P) l2cap_conn_ready net/bluetooth/l2cap_core.c:1621 [inline] (P) l2cap_connect_cfm+0x53c/0xde4 net/bluetooth/l2cap_core.c:7280 (P) hci_connect_cfm+0x120/0x1d4 include/net/bluetooth/hci_core.h:2057 le_conn_complete_evt+0xa24/0xf14 net/bluetooth/hci_event.c:5763 hci_le_conn_complete_evt+0x114/0x404 net/bluetooth/hci_event.c:5789 hci_le_meta_evt+0x2a4/0x478 net/bluetooth/hci_event.c:7162 hci_event_func net/bluetooth/hci_event.c:7470 [inline] hci_event_packet+0x890/0x106c net/bluetooth/hci_event.c:7525 hci_rx_work+0x31c/0xb04 net/bluetooth/hci_core.c:4035 process_one_work+0x7a8/0x15cc kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Code: 52800081 aa1303e0 975a8e9c d343fe68 (38fa6908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 52800081 mov w1, #0x4 // #4 4: aa1303e0 mov x0, x19 8: 975a8e9c bl 0xfffffffffd6a3a78 c: d343fe68 lsr x8, x19, #3 * 10: 38fa6908 ldrsb w8, [x8, x26] <-- trapping instruction