device syzkaller0 entered promiscuous mode ================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:909 Read of size 2 at addr ffff88807836b1fb by task syz.2.640/6819 CPU: 1 PID: 6819 Comm: syz.2.640 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:0x7f5f4bd9c819 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:00007f5f49ff6028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5f4c015fa0 RCX: 00007f5f4bd9c819 RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000000000000003 RBP: 00007f5f4be32c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5f4c016038 R14: 00007f5f4c015fa0 R15: 00007ffe9fb1a5f8 Allocated by task 4256: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x8e/0xa0 mm/kasan/common.c:384 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:699 [inline] alloc_pipe_info+0xe4/0x4b0 fs/pipe.c:795 get_pipe_inode fs/pipe.c:886 [inline] create_pipe_files+0x85/0x700 fs/pipe.c:918 __do_pipe_flags+0x46/0x1f0 fs/pipe.c:967 do_pipe2+0xa7/0x190 fs/pipe.c:1015 __do_sys_pipe2 fs/pipe.c:1033 [inline] __se_sys_pipe2 fs/pipe.c:1031 [inline] __x64_sys_pipe2+0x56/0x60 fs/pipe.c:1031 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 ffff88807836b000 which belongs to the cache kmalloc-cg-512 of size 512 The buggy address is located 507 bytes inside of 512-byte region [ffff88807836b000, ffff88807836b200) The buggy address belongs to the physical page: page:ffffea0001e0da00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x78368 head:ffffea0001e0da00 order:2 compound_mapcount:0 compound_pincount:0 memcg:ffff888030f51f01 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 dead000000000001 ffff888017442dc0 raw: 0000000000000000 0000000000100010 00000001ffffffff ffff888030f51f01 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 4260, tgid 4260 (udevd), ts 64576054702, free_ts 64566134059 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] __kmem_cache_alloc_node+0x1a0/0x260 mm/slub.c:3398 __do_kmalloc_node mm/slab_common.c:935 [inline] __kmalloc_node_track_caller+0x9e/0x230 mm/slab_common.c:956 kmalloc_reserve net/core/skbuff.c:446 [inline] __alloc_skb+0x22a/0x7e0 net/core/skbuff.c:515 alloc_skb include/linux/skbuff.h:1303 [inline] alloc_skb_with_frags+0xa7/0x710 net/core/skbuff.c:6164 sock_alloc_send_pskb+0x87f/0x9a0 net/core/sock.c:2755 unix_dgram_sendmsg+0x539/0x16e0 net/unix/af_unix.c:1945 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] sock_write_iter+0x2d9/0x3e0 net/socket.c:1143 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x4b1/0xa30 fs/read_write.c:584 ksys_write+0x14c/0x250 fs/read_write.c:637 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 free_large_kmalloc+0xfd/0x190 mm/slab_common.c:913 skb_free_head net/core/skbuff.c:762 [inline] skb_release_data+0x5db/0x7c0 net/core/skbuff.c:791 skb_release_all net/core/skbuff.c:856 [inline] __kfree_skb net/core/skbuff.c:870 [inline] consume_skb+0xa2/0x100 net/core/skbuff.c:1035 __unix_dgram_recvmsg+0xa19/0xdc0 net/unix/af_unix.c:2531 sock_recvmsg_nosec net/socket.c:1022 [inline] sock_recvmsg net/socket.c:1040 [inline] sock_read_iter+0x2db/0x3a0 net/socket.c:1121 do_iter_readv_writev fs/read_write.c:-1 [inline] do_iter_read+0x64d/0xb20 fs/read_write.c:796 vfs_readv fs/read_write.c:916 [inline] do_readv+0x260/0x460 fs/read_write.c:953 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 Memory state around the buggy address: ffff88807836b080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88807836b100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88807836b180: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88807836b200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807836b280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================