================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x20c/0x210 net/mac80211/iface.c:909 Read of size 2 at addr ffff0000f56f69fb by task syz.8.507/7080 CPU: 0 PID: 7080 Comm: syz.8.507 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/26/2026 Call trace: dump_backtrace+0x1c0/0x1ec 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+0x20c/0x210 net/mac80211/iface.c:909 netdev_core_pick_tx+0x130/0x320 net/core/dev.c:4233 __dev_queue_xmit+0x738/0x3118 net/core/dev.c:4319 dev_queue_xmit+0x24/0x34 include/linux/netdevice.h:3051 packet_snd net/packet/af_packet.c:3127 [inline] packet_sendmsg+0x2f9c/0x3fd0 net/packet/af_packet.c:3158 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x5c8/0x938 net/socket.c:2518 ___sys_sendmsg net/socket.c:2572 [inline] __sys_sendmsg+0x288/0x374 net/socket.c:2601 __do_sys_sendmsg net/socket.c:2610 [inline] __se_sys_sendmsg net/socket.c:2608 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2608 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 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 6963: 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+0xf0/0x17c mm/slab_common.c:943 kmalloc_node include/linux/slab.h:589 [inline] kzalloc_node include/linux/slab.h:710 [inline] qdisc_alloc+0x8c/0x8b8 net/sched/sch_generic.c:951 qdisc_create_dflt+0x6c/0x560 net/sched/sch_generic.c:1012 mq_init+0x264/0x5b4 net/sched/sch_mq.c:90 qdisc_create_dflt+0x114/0x560 net/sched/sch_generic.c:1019 attach_default_qdiscs net/sched/sch_generic.c:1199 [inline] dev_activate+0x1b8/0xf60 net/sched/sch_generic.c:1253 __dev_open+0x384/0x4d4 net/core/dev.c:1510 __dev_change_flags+0x1ac/0x564 net/core/dev.c:8664 dev_change_flags+0x80/0x154 net/core/dev.c:8735 dev_ifsioc+0x138/0xc04 net/core/dev_ioctl.c:326 dev_ioctl+0x4b0/0xc74 net/core/dev_ioctl.c:572 sock_do_ioctl+0x198/0x258 net/socket.c:1215 sock_ioctl+0x238/0x824 net/socket.c:1320 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 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 call_rcu+0x100/0x94c kernel/rcu/tree.c:2849 __qdisc_destroy+0x2a8/0x4f8 net/sched/sch_generic.c:1087 qdisc_put net/sched/sch_generic.c:1107 [inline] shutdown_scheduler_queue+0x168/0x1fc net/sched/sch_generic.c:1160 netdev_for_each_tx_queue include/linux/netdevice.h:2465 [inline] dev_shutdown+0x9c/0x478 net/sched/sch_generic.c:1465 unregister_netdevice_many+0x944/0x177c net/core/dev.c:11007 unregister_netdevice_queue+0x2b0/0x304 net/core/dev.c:10947 unregister_netdevice include/linux/netdevice.h:3075 [inline] __tun_detach+0xb04/0x1224 drivers/net/tun.c:685 tun_detach drivers/net/tun.c:701 [inline] tun_chr_close+0x118/0x1f4 drivers/net/tun.c:3492 __fput+0x1bc/0x7b8 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1ec/0x278 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x1fa0/0x2aa4 arch/arm64/kernel/signal.c:1151 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x128 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 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 call_rcu+0x100/0x94c kernel/rcu/tree.c:2849 __qdisc_destroy+0x2a8/0x4f8 net/sched/sch_generic.c:1087 qdisc_put net/sched/sch_generic.c:1107 [inline] shutdown_scheduler_queue+0x168/0x1fc net/sched/sch_generic.c:1160 netdev_for_each_tx_queue include/linux/netdevice.h:2465 [inline] dev_shutdown+0x9c/0x478 net/sched/sch_generic.c:1465 unregister_netdevice_many+0x944/0x177c net/core/dev.c:11007 unregister_netdevice_queue+0x2b0/0x304 net/core/dev.c:10947 unregister_netdevice include/linux/netdevice.h:3075 [inline] __tun_detach+0xb04/0x1224 drivers/net/tun.c:685 tun_detach drivers/net/tun.c:701 [inline] tun_chr_close+0x118/0x1f4 drivers/net/tun.c:3492 __fput+0x1bc/0x7b8 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1ec/0x278 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x1fa0/0x2aa4 arch/arm64/kernel/signal.c:1151 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x128 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the object at ffff0000f56f6000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 507 bytes to the right of 2048-byte region [ffff0000f56f6000, ffff0000f56f6800) The buggy address belongs to the physical page: page:00000000ff0fd589 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff0000f56f4000 pfn:0x1356f0 head:00000000ff0fd589 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 fffffc0003795008 fffffc00030f8808 ffff0000c0002900 raw: ffff0000f56f4000 0000000000080002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000f56f6880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000f56f6900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000f56f6980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000f56f6a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000f56f6a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================