================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:764 Read of size 2 at addr ffff88802c429dfb by task syz.1.4562/23098 CPU: 1 PID: 23098 Comm: syz.1.4562 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/0x2fd0 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:0x7f6e8609a799 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:00007f6e842f4028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f6e86313fa0 RCX: 00007f6e8609a799 RDX: 0000000000004005 RSI: 0000200000000280 RDI: 0000000000000005 RBP: 00007f6e86130bd9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f6e86314038 R14: 00007f6e86313fa0 R15: 00007ffe16e44cc8 Allocated by task 11431: 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 ipv6_add_dev+0xcd8/0x1190 net/ipv6/addrconf.c:467 addrconf_notify+0x66f/0xf00 net/ipv6/addrconf.c:3576 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391 call_netdevice_notifiers_extack net/core/dev.c:2074 [inline] call_netdevice_notifiers net/core/dev.c:2088 [inline] register_netdevice+0x12a6/0x1710 net/core/dev.c:10441 veth_newlink+0x8d7/0xe30 drivers/net/veth.c:1714 __rtnl_newlink net/core/rtnetlink.c:3526 [inline] rtnl_newlink+0x1359/0x1a50 net/core/rtnetlink.c:3574 rtnetlink_rcv_msg+0x844/0xf30 net/core/rtnetlink.c:5684 netlink_rcv_skb+0x1f5/0x440 net/netlink/af_netlink.c:2507 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x774/0x920 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] __sys_sendto+0x46d/0x620 net/socket.c:2072 __do_sys_sendto net/socket.c:2084 [inline] __se_sys_sendto net/socket.c:2080 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2080 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 Last potentially related work creation: kasan_save_stack+0x35/0x60 mm/kasan/common.c:38 kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348 kvfree_call_rcu+0x105/0x7d0 kernel/rcu/tree.c:3600 ipv6_mc_destroy_dev+0x3b7/0x590 net/ipv6/mcast.c:2818 addrconf_ifdown+0x14cd/0x19c0 net/ipv6/addrconf.c:3918 addrconf_notify+0x445/0xf00 net/ipv6/addrconf.c:-1 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391 call_netdevice_notifiers_extack net/core/dev.c:2074 [inline] call_netdevice_notifiers net/core/dev.c:2088 [inline] unregister_netdevice_many+0x1049/0x19f0 net/core/dev.c:11147 unregister_netdevice_queue+0x324/0x370 net/core/dev.c:11080 unregister_netdevice include/linux/netdevice.h:3029 [inline] __tun_detach+0xd4a/0x1500 drivers/net/tun.c:686 tun_detach drivers/net/tun.c:702 [inline] tun_chr_close+0x109/0x1b0 drivers/net/tun.c:3440 __fput+0x234/0x930 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff88802c429c00 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 507 bytes inside of 512-byte region [ffff88802c429c00, ffff88802c429e00) The buggy address belongs to the page: page:ffffea0000b10a00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88802c428400 pfn:0x2c428 head:ffffea0000b10a00 order:2 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 ffffea0001801408 ffffea0000a3a108 ffff888016c41c80 raw: ffff88802c428400 0000000000100009 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 1, ts 20363903671, 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:5487 alloc_page_interleave+0x24/0x1e0 mm/mempolicy.c:2031 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] device_private_init drivers/base/core.c:3256 [inline] device_add+0xba/0xfb0 drivers/base/core.c:3306 netdev_register_kobject+0x184/0x320 net/core/net-sysfs.c:2014 register_netdevice+0x1042/0x1710 net/core/dev.c:10410 register_netdev+0x37/0x50 net/core/dev.c:10534 rose_proto_init+0x192/0x780 net/rose/af_rose.c:1584 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 page_owner free stack trace missing Memory state around the buggy address: ffff88802c429c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88802c429d00: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc >ffff88802c429d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88802c429e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88802c429e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================