================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:909 Read of size 2 at addr ffff8880769afdfb by task syz.4.2281/11159 CPU: 1 PID: 11159 Comm: syz.4.2281 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/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:4245 __dev_queue_xmit+0xb19/0x37c0 net/core/dev.c:4331 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:0x7f68eb19ce59 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:00007f68ec016028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f68eb416360 RCX: 00007f68eb19ce59 RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000000000000004 RBP: 00007f68eb232d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f68eb4163f8 R14: 00007f68eb416360 R15: 00007ffee3e4c0b8 Allocated by task 11143: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 __kasan_slab_alloc+0x6b/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737 kmem_cache_alloc_bulk+0x3ba/0x4e0 mm/slub.c:3880 mt_alloc_bulk lib/maple_tree.c:159 [inline] mas_alloc_nodes+0x449/0x890 lib/maple_tree.c:1301 mas_node_count_gfp lib/maple_tree.c:1361 [inline] mas_preallocate+0x161/0x3c0 lib/maple_tree.c:5809 __vma_adjust+0x30d/0x1cd0 mm/mmap.c:724 vma_adjust include/linux/mm.h:2810 [inline] __split_vma+0x3a7/0x500 mm/mmap.c:-1 mprotect_fixup+0x5b1/0x800 mm/mprotect.c:623 do_mprotect_pkey+0x7fe/0xba0 mm/mprotect.c:792 __do_sys_mprotect mm/mprotect.c:819 [inline] __se_sys_mprotect mm/mprotect.c:816 [inline] __x64_sys_mprotect+0x7c/0x90 mm/mprotect.c:816 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 The buggy address belongs to the object at ffff8880769afc00 which belongs to the cache maple_node of size 256 The buggy address is located 251 bytes to the right of 256-byte region [ffff8880769afc00, ffff8880769afd00) The buggy address belongs to the physical page: page:ffffea0001da6b80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x769ae head:ffffea0001da6b80 order:1 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 dead000000000122 ffff8880174c5000 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 1, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 11143, tgid 11142 (syz.3.2279), ts 524793488363, free_ts 490877961285 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_slab_page+0x5d/0x160 mm/slub.c:1799 allocate_slab mm/slub.c:1944 [inline] new_slab+0x87/0x2c0 mm/slub.c:1997 ___slab_alloc+0xbc6/0x1240 mm/slub.c:3154 __slab_alloc mm/slub.c:3240 [inline] slab_alloc_node mm/slub.c:3325 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x1b7/0x2f0 mm/slub.c:3383 mt_alloc_one lib/maple_tree.c:154 [inline] mas_alloc_nodes+0x2ec/0x890 lib/maple_tree.c:1279 mas_node_count_gfp lib/maple_tree.c:1361 [inline] mas_preallocate+0x161/0x3c0 lib/maple_tree.c:5809 __vma_adjust+0x30d/0x1cd0 mm/mmap.c:724 vma_adjust include/linux/mm.h:2810 [inline] __split_vma+0x3a7/0x500 mm/mmap.c:-1 do_mas_align_munmap+0x7b9/0x12b0 mm/mmap.c:2501 do_mas_munmap+0x240/0x2b0 mm/mmap.c:2650 __vm_munmap+0x1ac/0x2d0 mm/mmap.c:2936 __do_sys_munmap mm/mmap.c:2961 [inline] __se_sys_munmap mm/mmap.c:2958 [inline] __x64_sys_munmap+0x5c/0x70 mm/mmap.c:2958 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 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 vb2_vmalloc_put+0x64/0xa0 drivers/media/common/videobuf2/videobuf2-vmalloc.c:68 __vb2_buf_mem_free+0x113/0x2c0 drivers/media/common/videobuf2/videobuf2-core.c:266 __vb2_free_mem drivers/media/common/videobuf2/videobuf2-core.c:496 [inline] __vb2_queue_free+0x447/0xd80 drivers/media/common/videobuf2/videobuf2-core.c:541 vb2_core_queue_release+0x5b/0x80 drivers/media/common/videobuf2/videobuf2-core.c:2477 v4l2_m2m_ctx_release+0x1a/0x30 drivers/media/v4l2-core/v4l2-mem2mem.c:1273 vicodec_release+0x93/0x110 drivers/media/test-drivers/vicodec/vicodec-core.c:1933 v4l2_release+0x1f9/0x390 drivers/media/v4l2-core/v4l2-dev.c:456 __fput+0x22c/0x920 fs/file_table.c:320 task_work_run+0x1d0/0x260 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 Memory state around the buggy address: ffff8880769afc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880769afd00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880769afd80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880769afe00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880769afe80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================