================================================================== BUG: KASAN: slab-out-of-bounds in find_endpoint drivers/usb/gadget/udc/dummy_hcd.c:1618 [inline] BUG: KASAN: slab-out-of-bounds in dummy_timer+0xd11/0x4cf0 drivers/usb/gadget/udc/dummy_hcd.c:1890 Read of size 1 at addr ffff888068c31912 by task kworker/0:0/9 CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: events request_firmware_work_func Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 find_endpoint drivers/usb/gadget/udc/dummy_hcd.c:1618 [inline] dummy_timer+0xd11/0x4cf0 drivers/usb/gadget/udc/dummy_hcd.c:1890 __run_hrtimer kernel/time/hrtimer.c:2068 [inline] __hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2125 hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2142 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:767 irq_exit_rcu+0x9/0x30 kernel/softirq.c:784 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:unwind_next_frame+0x6d9/0x2550 arch/x86/kernel/unwind_orc.c:527 Code: 18 49 8d 55 04 49 8d 5d 05 48 89 d0 48 c1 e8 03 48 89 44 24 30 42 0f b6 04 20 84 c0 48 89 54 24 08 0f 85 93 17 00 00 48 89 d8 <48> c1 e8 03 42 0f b6 04 20 84 c0 0f 85 a3 17 00 00 0f b7 1a c1 eb RSP: 0018:ffffc900000e7120 EFLAGS: 00000246 RAX: ffffffff912027b9 RBX: ffffffff912027b9 RCX: ffffffff909cd6b8 RDX: ffffffff912027b8 RSI: ffffffff91202784 RDI: ffffffff8c6d8d20 RBP: ffffc900000e7200 R08: 0000000000000009 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff8ed5ca60 R12: dffffc0000000000 R13: ffffffff912027b4 R14: ffffc900000e71c8 R15: 1ffff9200001ce39 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 save_stack+0x122/0x230 mm/page_owner.c:183 __set_page_owner+0x8d/0x4c0 mm/page_owner.c:359 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 alloc_pages_mpol+0x21e/0x390 mm/mempolicy.c:2486 ___kmalloc_large_node+0x4f/0x120 mm/slub.c:5353 __kmalloc_large_node_noprof+0x18/0x90 mm/slub.c:5385 __do_kmalloc_node mm/slub.c:5402 [inline] __kmalloc_node_track_caller_noprof+0x15e/0x720 mm/slub.c:5545 kmalloc_reserve net/core/skbuff.c:637 [inline] __alloc_skb+0x2c1/0x7a0 net/core/skbuff.c:715 alloc_skb include/linux/skbuff.h:1384 [inline] ath9k_hif_usb_alloc_rx_urbs drivers/net/wireless/ath/ath9k/hif_usb.c:904 [inline] ath9k_hif_usb_alloc_urbs+0x5dd/0x1060 drivers/net/wireless/ath/ath9k/hif_usb.c:1034 ath9k_hif_usb_dev_init drivers/net/wireless/ath/ath9k/hif_usb.c:1124 [inline] ath9k_hif_usb_firmware_cb+0x123/0x4b0 drivers/net/wireless/ath/ath9k/hif_usb.c:1252 request_firmware_work_func+0xf7/0x2d0 drivers/base/firmware_loader/main.c:1164 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 19738: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x321/0x600 mm/slub.c:5563 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] device_private_init drivers/base/core.c:3606 [inline] device_add+0xb6/0xb80 drivers/base/core.c:3657 netdev_register_kobject+0x197/0x350 net/core/net-sysfs.c:2340 register_netdevice+0x1433/0x1eb0 net/core/dev.c:11503 geneve_configure drivers/net/geneve.c:2106 [inline] geneve_newlink+0xcb3/0x1090 drivers/net/geneve.c:2452 rtnl_newlink_create+0x305/0x7b0 net/core/rtnetlink.c:3969 __rtnl_newlink net/core/rtnetlink.c:4098 [inline] rtnl_newlink+0x166d/0x1c30 net/core/rtnetlink.c:4215 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7132 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2556 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x7bd/0x940 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec+0x13a/0x180 net/socket.c:800 __sock_sendmsg net/socket.c:815 [inline] __sys_sendto+0x408/0x5a0 net/socket.c:2281 __do_sys_sendto net/socket.c:2288 [inline] __se_sys_sendto net/socket.c:2284 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2284 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888068c31800 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 2 bytes to the right of allocated 272-byte region [ffff888068c31800, ffff888068c31910) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888068c32c00 pfn:0x68c30 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000240 ffff88801b041c80 ffffea0000d5a410 ffffea0000cbe210 raw: ffff888068c32c00 000000000010000f 00000000f5000000 0000000000000000 head: 00fff00000000240 ffff88801b041c80 ffffea0000d5a410 ffffea0000cbe210 head: ffff888068c32c00 000000000010000f 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffffffffffff01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5615, tgid 5615 (syz-executor), ts 77220658365 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 alloc_slab_page mm/slub.c:3347 [inline] allocate_slab+0x7d/0x620 mm/slub.c:3462 new_slab mm/slub.c:3513 [inline] refill_objects+0x2d5/0x350 mm/slub.c:7410 refill_sheaf mm/slub.c:2885 [inline] __pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4774 alloc_from_pcs mm/slub.c:4850 [inline] slab_alloc_node mm/slub.c:4984 [inline] __do_kmalloc_node mm/slub.c:5413 [inline] __kmalloc_noprof+0x47b/0x720 mm/slub.c:5439 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] fib6_info_alloc+0x30/0xf0 net/ipv6/ip6_fib.c:155 ip6_route_info_create+0x149/0x890 net/ipv6/route.c:3833 addrconf_f6i_alloc+0x38b/0x630 net/ipv6/route.c:4714 ipv6_add_addr+0x59c/0x1110 net/ipv6/addrconf.c:1132 inet6_addr_add+0x43c/0xb50 net/ipv6/addrconf.c:3074 inet6_rtm_newaddr+0x9fc/0xe00 net/ipv6/addrconf.c:5095 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7132 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2556 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x7bd/0x940 net/netlink/af_netlink.c:1345 page last free pid 5603 tgid 5603 ts 66487307391 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] free_unref_folios+0xdc2/0x14e0 mm/page_alloc.c:3022 folios_put_refs+0x9e9/0xb30 mm/folio.c:1034 free_pages_and_swap_cache+0x2ba/0x490 mm/swap_state.c:592 __tlb_batch_free_encoded_pages mm/mmu_gather.c:138 [inline] tlb_batch_pages_flush mm/mmu_gather.c:151 [inline] tlb_flush_mmu_free mm/mmu_gather.c:417 [inline] tlb_flush_mmu+0x6d3/0xa30 mm/mmu_gather.c:424 tlb_finish_mmu+0xf4/0x220 mm/mmu_gather.c:549 unmap_region+0x2a5/0x330 mm/vma.c:535 vms_clear_ptes mm/vma.c:1383 [inline] vms_complete_munmap_vmas+0x427/0xbe0 mm/vma.c:1425 do_vmi_align_munmap+0x3b7/0x4b0 mm/vma.c:1684 do_vmi_munmap+0x252/0x2d0 mm/vma.c:1732 __vm_munmap+0x241/0x3e0 mm/vma.c:3390 __do_sys_munmap mm/mmap.c:1094 [inline] __se_sys_munmap mm/mmap.c:1091 [inline] __x64_sys_munmap+0x60/0x70 mm/mmap.c:1091 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff888068c31800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888068c31880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888068c31900: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888068c31980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888068c31a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ---------------- Code disassembly (best guess): 0: 18 49 8d sbb %cl,-0x73(%rcx) 3: 55 push %rbp 4: 04 49 add $0x49,%al 6: 8d 5d 05 lea 0x5(%rbp),%ebx 9: 48 89 d0 mov %rdx,%rax c: 48 c1 e8 03 shr $0x3,%rax 10: 48 89 44 24 30 mov %rax,0x30(%rsp) 15: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax 1a: 84 c0 test %al,%al 1c: 48 89 54 24 08 mov %rdx,0x8(%rsp) 21: 0f 85 93 17 00 00 jne 0x17ba 27: 48 89 d8 mov %rbx,%rax * 2a: 48 c1 e8 03 shr $0x3,%rax <-- trapping instruction 2e: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax 33: 84 c0 test %al,%al 35: 0f 85 a3 17 00 00 jne 0x17de 3b: 0f b7 1a movzwl (%rdx),%ebx 3e: c1 .byte 0xc1 3f: eb .byte 0xeb