================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:764 Read of size 2 at addr ffff88805a7b2dfb by task syz.2.314/5590 CPU: 1 PID: 5590 Comm: syz.2.314 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:764 netdev_core_pick_tx+0x12c/0x300 net/core/dev.c:4184 __dev_queue_xmit+0x797/0x2e50 net/core/dev.c:4261 packet_snd net/packet/af_packet.c:3094 [inline] packet_sendmsg+0x3cf9/0x50b0 net/packet/af_packet.c:3125 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] ____sys_sendmsg+0x5be/0x8f0 net/socket.c:2446 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2500 __sys_sendmsg net/socket.c:2529 [inline] __do_sys_sendmsg net/socket.c:2538 [inline] __se_sys_sendmsg+0x1b7/0x2a0 net/socket.c:2536 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f99c5528e59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f99c3781028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f99c57b0fa0 RCX: 00007f99c5528e59 RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000000000000005 RBP: 00007f99c55bee6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f99c57b1038 R14: 00007f99c57b0fa0 R15: 00007ffc9099dba8 Allocated by task 5006: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] __kasan_kmalloc+0xaf/0xe0 mm/kasan/common.c:522 kmalloc_node include/linux/slab.h:630 [inline] kvmalloc_node+0x84/0x130 mm/util.c:619 kvmalloc include/linux/mm.h:816 [inline] kvmalloc_array include/linux/mm.h:834 [inline] __ptr_ring_init_queue_alloc include/linux/ptr_ring.h:471 [inline] ptr_ring_init include/linux/ptr_ring.h:489 [inline] skb_array_init include/linux/skb_array.h:182 [inline] pfifo_fast_init+0x35f/0x6a0 net/sched/sch_generic.c:809 qdisc_create_dflt+0x11a/0x410 net/sched/sch_generic.c:960 attach_one_default_qdisc net/sched/sch_generic.c:1116 [inline] netdev_for_each_tx_queue include/linux/netdevice.h:2388 [inline] attach_default_qdiscs net/sched/sch_generic.c:1134 [inline] dev_activate+0x33d/0x1330 net/sched/sch_generic.c:1193 __dev_open+0x33b/0x430 net/core/dev.c:1559 __dev_change_flags+0x1e4/0x6a0 net/core/dev.c:8879 dev_change_flags+0x78/0x1a0 net/core/dev.c:8950 do_setlink+0xca4/0x29d0 net/core/rtnetlink.c:2785 __rtnl_newlink net/core/rtnetlink.c:3456 [inline] rtnl_newlink+0x15bb/0x1920 net/core/rtnetlink.c:3578 rtnetlink_rcv_msg+0x82c/0xf00 net/core/rtnetlink.c:5688 netlink_rcv_skb+0x1e9/0x430 net/netlink/af_netlink.c:2512 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x78f/0x940 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1923 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] __sys_sendto+0x46d/0x620 net/socket.c:2073 __do_sys_sendto net/socket.c:2085 [inline] __se_sys_sendto net/socket.c:2081 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2081 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff88805a7b0000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 3579 bytes to the right of 8192-byte region [ffff88805a7b0000, ffff88805a7b2000) The buggy address belongs to the page: page:ffffea000169ec00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5a7b0 head:ffffea000169ec00 order:3 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 0000000100000001 ffff888016c42280 raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 4411, ts 81197068405, free_ts 23853706023 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 alloc_slab_page mm/slub.c:1780 [inline] allocate_slab mm/slub.c:1917 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1980 ___slab_alloc+0x807/0xdd0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] __kmalloc_node+0x142/0x3a0 mm/slub.c:4456 kmalloc_node include/linux/slab.h:630 [inline] kvmalloc_node+0x84/0x130 mm/util.c:619 kvmalloc include/linux/mm.h:816 [inline] kvmalloc_array include/linux/mm.h:834 [inline] __ptr_ring_init_queue_alloc include/linux/ptr_ring.h:471 [inline] ptr_ring_init include/linux/ptr_ring.h:489 [inline] skb_array_init include/linux/skb_array.h:182 [inline] pfifo_fast_init+0x35f/0x6a0 net/sched/sch_generic.c:809 qdisc_create_dflt+0x11a/0x410 net/sched/sch_generic.c:960 mq_init+0x2c4/0x650 net/sched/sch_mq.c:90 qdisc_create_dflt+0x11a/0x410 net/sched/sch_generic.c:960 attach_default_qdiscs net/sched/sch_generic.c:1139 [inline] dev_activate+0x192/0x1330 net/sched/sch_generic.c:1193 __dev_open+0x33b/0x430 net/core/dev.c:1559 __dev_change_flags+0x1e4/0x6a0 net/core/dev.c:8879 dev_change_flags+0x78/0x1a0 net/core/dev.c:8950 devinet_ioctl+0x810/0x1ba0 net/ipv4/devinet.c:1152 inet_ioctl+0x2fa/0x460 net/ipv4/af_inet.c:987 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396 free_contig_range+0x96/0xf0 mm/page_alloc.c:9428 destroy_args+0xef/0xa00 mm/debug_vm_pgtable.c:1018 debug_vm_pgtable+0x321/0x380 mm/debug_vm_pgtable.c:1336 do_one_initcall+0x272/0x730 init/main.c:1315 do_initcall_level+0x13d/0x1f0 init/main.c:1388 do_initcalls+0x4b/0x90 init/main.c:1404 kernel_init_freeable+0x3d5/0x560 init/main.c:1628 kernel_init+0x19/0x1b0 init/main.c:1519 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Memory state around the buggy address: ffff88805a7b2c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88805a7b2d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88805a7b2d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88805a7b2e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88805a7b2e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================