================================================================== BUG: KASAN: use-after-free in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:764 Read of size 2 at addr ffff888023c5e442 by task syz.1.118/4714 CPU: 1 PID: 4714 Comm: syz.1.118 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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+0x118/0x2e0 net/core/dev.c:4184 __dev_queue_xmit+0x756/0x2f80 net/core/dev.c:4261 packet_snd net/packet/af_packet.c:3089 [inline] packet_sendmsg+0x3dba/0x5060 net/packet/af_packet.c:3120 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] ____sys_sendmsg+0x5b7/0x8f0 net/socket.c:2445 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2499 __sys_sendmsg net/socket.c:2528 [inline] __do_sys_sendmsg net/socket.c:2537 [inline] __se_sys_sendmsg+0x1af/0x290 net/socket.c:2535 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:0x7f0858159819 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:00007f08563b3028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f08583d2fa0 RCX: 00007f0858159819 RDX: 008bb3a321ef809a RSI: 0000200000000280 RDI: 0000000000000009 RBP: 00007f08581efc91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f08583d3038 R14: 00007f08583d2fa0 R15: 00007fff20945ed8 Allocated by task 14: 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+0xb5/0xf0 mm/kasan/common.c:522 kmalloc_reserve net/core/skbuff.c:356 [inline] __alloc_skb+0x22c/0x750 net/core/skbuff.c:427 skb_copy_expand+0x133/0xa30 net/core/skbuff.c:1916 ieee80211_make_monitor_skb net/mac80211/rx.c:738 [inline] ieee80211_rx_monitor net/mac80211/rx.c:842 [inline] ieee80211_rx_list+0xf17/0x2790 net/mac80211/rx.c:4986 ieee80211_rx_napi+0x178/0x390 net/mac80211/rx.c:5018 ieee80211_rx include/net/mac80211.h:4573 [inline] ieee80211_handle_queued_frames+0x105/0x1b0 net/mac80211/main.c:237 tasklet_action_common+0x2ad/0x410 kernel/softirq.c:806 handle_softirqs+0x339/0x830 kernel/softirq.c:576 run_ksoftirqd+0xa4/0x100 kernel/softirq.c:943 smpboot_thread_fn+0x4f6/0x970 kernel/smpboot.c:164 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 The buggy address belongs to the object at ffff888023c5e400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 66 bytes inside of 512-byte region [ffff888023c5e400, ffff888023c5e600) The buggy address belongs to the page: page:ffffea00008f1700 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x23c5c head:ffffea00008f1700 order:2 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 0000000100000001 ffff888016c41c80 raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 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 1681, ts 9366349215, free_ts 0 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1bbd/0x1ca0 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+0x80a/0xdd0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc_trace+0x1a5/0x2a0 mm/slub.c:3250 kmalloc include/linux/slab.h:607 [inline] kzalloc include/linux/slab.h:738 [inline] alloc_bprm+0x56/0x6a0 fs/exec.c:1516 kernel_execve+0x49/0x900 fs/exec.c:1978 call_usermodehelper_exec_async+0x207/0x350 kernel/umh.c:112 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 page_owner free stack trace missing Memory state around the buggy address: ffff888023c5e300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888023c5e380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888023c5e400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888023c5e480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888023c5e500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================