================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x210/0x214 net/mac80211/iface.c:909 Read of size 2 at addr ffff0000d9e76dfb by task syz.0.695/6715 CPU: 1 PID: 6715 Comm: syz.0.695 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/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:909 netdev_core_pick_tx+0x130/0x320 net/core/dev.c:4245 __dev_queue_xmit+0x730/0x3154 net/core/dev.c:4331 dev_queue_xmit+0x24/0x34 include/linux/netdevice.h:3051 packet_snd net/packet/af_packet.c:3133 [inline] packet_sendmsg+0x3034/0x40ac net/packet/af_packet.c:3164 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/0x128 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:585 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] kmalloc_trace+0x7c/0x94 mm/slab_common.c:1031 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:699 [inline] macvlan_port_create drivers/net/macvlan.c:1233 [inline] macvlan_common_newlink+0x410/0x1374 drivers/net/macvlan.c:1467 macvtap_newlink+0x15c/0x1dc drivers/net/macvtap.c:109 rtnl_newlink_create net/core/rtnetlink.c:3428 [inline] __rtnl_newlink net/core/rtnetlink.c:3648 [inline] rtnl_newlink+0x10b4/0x1af0 net/core/rtnetlink.c:3661 rtnetlink_rcv_msg+0x694/0xcc4 net/core/rtnetlink.c:6158 netlink_rcv_skb+0x220/0x3ec net/netlink/af_netlink.c:2516 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6176 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/0x128 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:585 Last potentially related work creation: kasan_save_stack+0x40/0x70 mm/kasan/common.c:46 __kasan_record_aux_stack+0xc0/0xdc mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:496 insert_work+0x64/0x37c kernel/workqueue.c:1361 __queue_work+0xd00/0x1280 kernel/workqueue.c:1520 queue_work_on+0xc0/0x164 kernel/workqueue.c:1548 queue_work include/linux/workqueue.h:512 [inline] macvlan_broadcast_enqueue drivers/net/macvlan.c:366 [inline] macvlan_handle_frame+0xb44/0xeb8 drivers/net/macvlan.c:487 __netif_receive_skb_core+0xd34/0x31a0 net/core/dev.c:5513 __netif_receive_skb_one_core net/core/dev.c:5617 [inline] __netif_receive_skb+0x78/0x2b0 net/core/dev.c:5733 process_backlog+0x42c/0x748 net/core/dev.c:6061 __napi_poll+0xb8/0x3f4 net/core/dev.c:6628 napi_poll net/core/dev.c:6695 [inline] net_rx_action+0x52c/0xb5c net/core/dev.c:6809 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 run_ksoftirqd+0x7c/0x2ac kernel/softirq.c:968 smpboot_thread_fn+0x4e8/0x960 kernel/smpboot.c:164 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Second to last potentially related work creation: kasan_save_stack+0x40/0x70 mm/kasan/common.c:46 __kasan_record_aux_stack+0xc0/0xdc mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:496 insert_work+0x64/0x37c kernel/workqueue.c:1361 __queue_work+0xd00/0x1280 kernel/workqueue.c:1520 queue_work_on+0xc0/0x164 kernel/workqueue.c:1548 queue_work include/linux/workqueue.h:512 [inline] macvlan_broadcast_enqueue drivers/net/macvlan.c:366 [inline] macvlan_handle_frame+0xb44/0xeb8 drivers/net/macvlan.c:487 __netif_receive_skb_core+0xd34/0x31a0 net/core/dev.c:5513 __netif_receive_skb_one_core net/core/dev.c:5617 [inline] __netif_receive_skb+0x78/0x2b0 net/core/dev.c:5733 process_backlog+0x42c/0x748 net/core/dev.c:6061 __napi_poll+0xb8/0x3f4 net/core/dev.c:6628 napi_poll net/core/dev.c:6695 [inline] net_rx_action+0x52c/0xb5c net/core/dev.c:6809 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 run_ksoftirqd+0x7c/0x2ac kernel/softirq.c:968 smpboot_thread_fn+0x4e8/0x960 kernel/smpboot.c:164 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 The buggy address belongs to the object at ffff0000d9e74000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 3579 bytes to the right of 8192-byte region [ffff0000d9e74000, ffff0000d9e76000) The buggy address belongs to the physical page: page:00000000aef1c7b9 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x119e70 head:00000000aef1c7b9 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 fffffc0003ddfa00 dead000000000004 ffff0000c0002c00 raw: 0000000000000000 0000000080020002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d9e76c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000d9e76d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000d9e76d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000d9e76e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000d9e76e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================