================================================================== BUG: KASAN: slab-out-of-bounds in hci_chan_del+0x40/0x1bc net/bluetooth/hci_conn.c:2780 Read of size 8 at addr ffff0000c2db2018 by task syz.1.209/5370 CPU: 1 PID: 5370 Comm: syz.1.209 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call trace: dump_backtrace+0x1c4/0x1f0 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+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_load8_noabort+0x2c/0x38 mm/kasan/report_generic.c:351 hci_chan_del+0x40/0x1bc net/bluetooth/hci_conn.c:2780 l2cap_conn_free net/bluetooth/l2cap_core.c:1868 [inline] kref_put include/linux/kref.h:65 [inline] l2cap_conn_put+0x80/0x10c net/bluetooth/l2cap_core.c:1882 l2cap_chan_destroy net/bluetooth/l2cap_core.c:502 [inline] kref_put include/linux/kref.h:65 [inline] l2cap_chan_put+0x194/0x26c net/bluetooth/l2cap_core.c:529 l2cap_sock_release+0x160/0x1c8 net/bluetooth/l2cap_sock.c:1494 __sock_release net/socket.c:654 [inline] sock_close+0xac/0x1ec net/socket.c:1400 __fput+0x1b4/0x7b0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1f4/0x280 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x54c/0x19ac kernel/exit.c:887 do_group_exit+0x198/0x238 kernel/exit.c:1030 get_signal+0x11f4/0x133c kernel/signal.c:2884 do_signal arch/arm64/kernel/signal.c:1110 [inline] do_notify_resume+0x364/0x2c84 arch/arm64/kernel/signal.c:1163 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x12c arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 Allocated by task 6164: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc_node_track_caller+0xcc/0x174 mm/slab_common.c:956 kstrdup mm/util.c:61 [inline] kstrdup_const+0x90/0xdc mm/util.c:84 __kernfs_new_node+0xb0/0x5fc fs/kernfs/dir.c:610 kernfs_new_node+0x120/0x230 fs/kernfs/dir.c:690 __kernfs_create_file+0x60/0x2e0 fs/kernfs/file.c:1068 sysfs_add_file_mode_ns+0x1e8/0x2a4 fs/sysfs/file.c:298 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x3e8/0xb24 fs/sysfs/group.c:148 internal_create_groups fs/sysfs/group.c:188 [inline] sysfs_create_groups+0x60/0x134 fs/sysfs/group.c:214 setup_port drivers/infiniband/core/sysfs.c:1255 [inline] ib_setup_port_attrs+0xb38/0x1a14 drivers/infiniband/core/sysfs.c:1441 add_one_compat_dev+0x338/0x4e8 drivers/infiniband/core/device.c:979 rdma_dev_init_net+0x1f0/0x270 drivers/infiniband/core/device.c:1195 ops_init+0x2b0/0x53c net/core/net_namespace.c:138 setup_net+0x494/0xb6c net/core/net_namespace.c:336 copy_net_ns+0x2b8/0x578 net/core/net_namespace.c:508 create_new_namespaces+0x30c/0x604 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x108/0x160 kernel/nsproxy.c:226 ksys_unshare+0x3f0/0x70c kernel/fork.c:3289 __do_sys_unshare kernel/fork.c:3363 [inline] __se_sys_unshare kernel/fork.c:3361 [inline] __arm64_sys_unshare+0x3c/0x50 kernel/fork.c:3361 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 Last potentially related work creation: kasan_save_stack+0x40/0x70 mm/kasan/common.c:46 __kasan_record_aux_stack+0xc0/0xdc mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:496 kvfree_call_rcu+0xb4/0x6f0 kernel/rcu/tree.c:3405 kernfs_unlink_open_file+0x370/0x41c fs/kernfs/file.c:653 kernfs_fop_release+0x128/0x194 fs/kernfs/file.c:825 __fput+0x1b4/0x7b0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1f4/0x280 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x20f8/0x2c84 arch/arm64/kernel/signal.c:1166 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x12c arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 The buggy address belongs to the object at ffff0000c2db2000 which belongs to the cache kmalloc-128 of size 128 The buggy address is located 24 bytes inside of 128-byte region [ffff0000c2db2000, ffff0000c2db2080) The buggy address belongs to the physical page: page:00000000a2d244d7 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102db2 flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000200 fffffc000333fe00 dead000000000003 ffff0000c0002300 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000c2db1f00: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc ffff0000c2db1f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000c2db2000: 04 fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000c2db2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000c2db2100: 04 fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== Unable to handle kernel paging request at virtual address dfff800000000155 KASAN: null-ptr-deref in range [0x0000000000000aa8-0x0000000000000aaf] Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 [dfff800000000155] address between user and kernel address ranges Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 5370 Comm: syz.1.209 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : hci_chan_del+0x4c/0x1bc net/bluetooth/hci_conn.c:2781 lr : hci_chan_del+0x40/0x1bc net/bluetooth/hci_conn.c:2780 sp : ffff8000228e7710 x29: ffff8000228e7710 x28: 1fffe0001bcdd374 x27: dfff800000000000 x26: 0000000000000000 x25: 1fffe0001bcdd375 x24: ffff0000d702e498 x23: ffff0000d702e490 x22: dfff800000000000 x21: 0000000000000aa8 x20: 0000000000000000 x19: ffff0000c2db2000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800008043dd4 x15: 0000000000000000 x14: 0000000000000001 x13: 1ffff000031fab68 x12: 0000000000000000 x11: ff00800008196270 x10: 0000000000000000 x9 : 0000000000000000 x8 : 0000000000000155 x7 : 205b5d3131343530 x6 : ffff80000831ae74 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008196234 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000001 dump_backtrace(regs = 00000000986a239b tsk = 0000000000000000) Call trace: hci_chan_del+0x4c/0x1bc net/bluetooth/hci_conn.c:2781 l2cap_conn_free net/bluetooth/l2cap_core.c:1868 [inline] kref_put include/linux/kref.h:65 [inline] l2cap_conn_put+0x80/0x10c net/bluetooth/l2cap_core.c:1882 l2cap_chan_destroy net/bluetooth/l2cap_core.c:502 [inline] kref_put include/linux/kref.h:65 [inline] l2cap_chan_put+0x194/0x26c net/bluetooth/l2cap_core.c:529 l2cap_sock_release+0x160/0x1c8 net/bluetooth/l2cap_sock.c:1494 __sock_release net/socket.c:654 [inline] sock_close+0xac/0x1ec net/socket.c:1400 __fput+0x1b4/0x7b0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1f4/0x280 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x54c/0x19ac kernel/exit.c:887 do_group_exit+0x198/0x238 kernel/exit.c:1030 get_signal+0x11f4/0x133c kernel/signal.c:2884 do_signal arch/arm64/kernel/signal.c:1110 [inline] do_notify_resume+0x364/0x2c84 arch/arm64/kernel/signal.c:1163 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x12c arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 Code: 97c9de61 f9400294 912aa295 d343fea8 (38766908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 97c9de61 bl 0xffffffffff277984 4: f9400294 ldr x20, [x20] 8: 912aa295 add x21, x20, #0xaa8 c: d343fea8 lsr x8, x21, #3 * 10: 38766908 ldrb w8, [x8, x22] <-- trapping instruction