================================================================== BUG: KASAN: use-after-free in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:909 Read of size 2 at addr ffff8880590379fb by task syz.5.469/6343 CPU: 0 PID: 6343 Comm: syz.5.469 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:909 netdev_core_pick_tx+0x118/0x340 net/core/dev.c:4233 __dev_queue_xmit+0xb19/0x37c0 net/core/dev.c:4319 packet_snd net/packet/af_packet.c:3127 [inline] packet_sendmsg+0x3bc3/0x4e60 net/packet/af_packet.c:3158 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x5be/0x970 net/socket.c:2518 ___sys_sendmsg+0x2a2/0x360 net/socket.c:2572 __sys_sendmsg net/socket.c:2601 [inline] __do_sys_sendmsg net/socket.c:2610 [inline] __se_sys_sendmsg+0x1bb/0x2a0 net/socket.c:2608 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f974979c819 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:00007f974a6bb028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9749a15fa0 RCX: 00007f974979c819 RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000000000000004 RBP: 00007f9749832c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9749a16038 R14: 00007f9749a15fa0 R15: 00007ffd87de8b48 The buggy address belongs to the physical page: page:ffffea0001640dc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x59037 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea0000a5f748 ffffea0001f0dd88 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as freed page last allocated via order 0, migratetype Unmovable, gfp_mask 0x102dc2(GFP_HIGHUSER|__GFP_NOWARN|__GFP_ZERO), pid 2, tgid 2 (kthreadd), ts 259493890642, free_ts 261482570744 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2559 prep_new_page mm/page_alloc.c:2566 [inline] get_page_from_freelist+0x1a1e/0x1ab0 mm/page_alloc.c:4357 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5657 __alloc_pages_bulk+0x49a/0x920 mm/page_alloc.c:5605 vm_area_alloc_pages mm/vmalloc.c:2968 [inline] __vmalloc_area_node mm/vmalloc.c:3071 [inline] __vmalloc_node_range+0x70f/0x13b0 mm/vmalloc.c:3243 alloc_thread_stack_node kernel/fork.c:312 [inline] dup_task_struct+0x3d3/0x6b0 kernel/fork.c:994 copy_process+0x5fa/0x4030 kernel/fork.c:2186 kernel_clone+0x24b/0x900 kernel/fork.c:2762 kernel_thread+0x118/0x180 kernel/fork.c:2822 create_kthread kernel/kthread.c:399 [inline] kthreadd+0x555/0x700 kernel/kthread.c:748 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1486 [inline] free_pcp_prepare mm/page_alloc.c:1536 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3413 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3508 __vunmap+0x856/0xa00 mm/vmalloc.c:2726 free_work+0x56/0x80 mm/vmalloc.c:97 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Memory state around the buggy address: ffff888059037880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888059037900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888059037980: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888059037a00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888059037a80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================