================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x210/0x214 net/mac80211/iface.c:941 Read of size 2 at addr ffff0000db2dadfb by task syz.3.122/4825 CPU: 1 PID: 4825 Comm: syz.3.122 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_load2_noabort+0x2c/0x38 mm/kasan/report_generic.c:349 ieee80211_monitor_select_queue+0x210/0x214 net/mac80211/iface.c:941 netdev_core_pick_tx+0x130/0x320 net/core/dev.c:4263 __dev_queue_xmit+0x728/0x3330 net/core/dev.c:4349 dev_queue_xmit+0x24/0x34 include/linux/netdevice.h:3060 packet_snd net/packet/af_packet.c:3170 [inline] packet_sendmsg+0x2e30/0x3dbc net/packet/af_packet.c:3201 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x588/0x90c net/socket.c:2519 ___sys_sendmsg net/socket.c:2573 [inline] __sys_sendmsg+0x288/0x374 net/socket.c:2602 __do_sys_sendmsg net/socket.c:2611 [inline] __se_sys_sendmsg net/socket.c:2609 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2609 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 Allocated by task 4342: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:53 kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:384 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc_node_track_caller+0xcc/0x174 mm/slab_common.c:956 kmemdup+0x5c/0x98 mm/util.c:129 kmemdup include/linux/fortify-string.h:585 [inline] __devinet_sysctl_register+0xc0/0xdac net/ipv4/devinet.c:2600 devinet_sysctl_register+0x14c/0x1c0 net/ipv4/devinet.c:2652 inetdev_init+0x268/0x4a0 net/ipv4/devinet.c:280 inetdev_event+0xef4/0x12dc net/ipv4/devinet.c:1547 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xd8/0x168 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:2014 [inline] call_netdevice_notifiers_extack net/core/dev.c:2052 [inline] call_netdevice_notifiers+0x110/0x198 net/core/dev.c:2066 register_netdevice+0x11c4/0x1650 net/core/dev.c:10299 veth_newlink+0x4a0/0xac4 drivers/net/veth.c:1741 rtnl_newlink_create net/core/rtnetlink.c:3436 [inline] __rtnl_newlink net/core/rtnetlink.c:3656 [inline] rtnl_newlink+0x10b4/0x1af0 net/core/rtnetlink.c:3669 rtnetlink_rcv_msg+0x694/0xcc4 net/core/rtnetlink.c:6166 netlink_rcv_skb+0x220/0x3ec net/netlink/af_netlink.c:2516 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6184 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5fc/0x80c net/netlink/af_netlink.c:1344 netlink_sendmsg+0x6f0/0x9d8 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x324/0x440 net/socket.c:2153 __do_sys_sendto net/socket.c:2165 [inline] __se_sys_sendto net/socket.c:2161 [inline] __arm64_sys_sendto+0xe4/0x104 net/socket.c:2161 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:589 The buggy address belongs to the object at ffff0000db2da000 which belongs to the cache kmalloc-cg-4k of size 4096 The buggy address is located 3579 bytes inside of 4096-byte region [ffff0000db2da000, ffff0000db2db000) The buggy address belongs to the physical page: page:0000000053a462a0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11b2d8 head:0000000053a462a0 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 0000000000000000 dead000000000122 ffff0000c0003500 raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000db2dac80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000db2dad00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000db2dad80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000db2dae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000db2dae80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================