================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:764 Read of size 2 at addr ffff88805f02e1fb by task syz.0.448/6056 CPU: 0 PID: 6056 Comm: syz.0.448 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 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:4171 __dev_queue_xmit+0x756/0x2fd0 net/core/dev.c:4248 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:0x7f796f65aeb9 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:00007f796d8b6028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f796f8d5fa0 RCX: 00007f796f65aeb9 RDX: 0000000000004005 RSI: 0000200000000280 RDI: 0000000000000005 RBP: 00007f796f6c8c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f796f8d6038 R14: 00007f796f8d5fa0 R15: 00007ffcdf757018 Allocated by task 4242: 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 include/linux/slab.h:607 [inline] kzalloc include/linux/slab.h:738 [inline] mca_alloc net/ipv6/mcast.c:880 [inline] __ipv6_dev_mc_inc+0x3fa/0xa90 net/ipv6/mcast.c:935 addrconf_join_solict net/ipv6/addrconf.c:2201 [inline] addrconf_dad_begin net/ipv6/addrconf.c:4016 [inline] addrconf_dad_work+0x3d1/0x1540 net/ipv6/addrconf.c:4143 process_one_work+0x85f/0x1010 kernel/workqueue.c:2310 worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457 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 ffff88805f02e000 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 507 bytes inside of 512-byte region [ffff88805f02e000, ffff88805f02e200) The buggy address belongs to the page: page:ffffea00017c0b00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5f02c head:ffffea00017c0b00 order:2 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 ffffea00017cb800 0000000400000004 ffff888016c41c80 raw: 0000000000000000 0000000000100010 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 0xd28c0(GFP_NOWAIT|__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4184, ts 73958823824, free_ts 24385963559 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:5487 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] __kmalloc_node_track_caller+0x1fc/0x3a0 mm/slub.c:4963 kmalloc_reserve net/core/skbuff.c:356 [inline] pskb_expand_head+0x127/0x10f0 net/core/skbuff.c:1709 netlink_trim+0x180/0x220 net/netlink/af_netlink.c:1299 netlink_broadcast_filtered+0x7c/0x1170 net/netlink/af_netlink.c:1511 netlink_broadcast net/netlink/af_netlink.c:1556 [inline] nlmsg_multicast include/net/netlink.h:1033 [inline] nlmsg_notify+0xec/0x1a0 net/netlink/af_netlink.c:2550 fib_table_insert+0xd36/0x1bb0 net/ipv4/fib_trie.c:1379 fib_magic+0x2e1/0x3c0 net/ipv4/fib_frontend.c:1106 fib_add_ifaddr+0x140/0x5e0 net/ipv4/fib_frontend.c:1128 fib_inetaddr_event+0x13c/0x1c0 net/ipv4/fib_frontend.c:1442 notifier_call_chain kernel/notifier.c:83 [inline] blocking_notifier_call_chain+0x103/0x1b0 kernel/notifier.c:318 __inet_insert_ifa+0x9f7/0xbe0 net/ipv4/devinet.c:567 inet_rtm_newaddr+0x99a/0x1890 net/ipv4/devinet.c:966 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:9406 destroy_args+0xf0/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:1316 do_initcall_level+0x137/0x1f0 init/main.c:1389 do_initcalls+0x4b/0x90 init/main.c:1405 kernel_init_freeable+0x3e9/0x570 init/main.c:1629 kernel_init+0x19/0x1b0 init/main.c:1520 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Memory state around the buggy address: ffff88805f02e080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88805f02e100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc >ffff88805f02e180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88805f02e200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88805f02e280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================