================================================================== BUG: KASAN: use-after-free in ieee80211_monitor_select_queue+0x210/0x214 net/mac80211/iface.c:909 Read of size 2 at addr ffff0000f423b9fb by task syz.4.2612/13455 CPU: 1 PID: 13455 Comm: syz.4.2612 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 5167: 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] batadv_forw_packet_alloc+0x198/0x3bc net/batman-adv/send.c:519 batadv_iv_ogm_aggregate_new net/batman-adv/bat_iv_ogm.c:562 [inline] batadv_iv_ogm_queue_add+0x700/0xb9c net/batman-adv/bat_iv_ogm.c:674 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:848 [inline] batadv_iv_ogm_schedule+0x6cc/0xe3c net/batman-adv/bat_iv_ogm.c:899 batadv_iv_send_outstanding_bat_ogm_packet+0x6e8/0x844 net/batman-adv/bat_iv_ogm.c:1796 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 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 delayed_work_timer_fn+0x74/0x94 kernel/workqueue.c:1646 call_timer_fn+0x1b8/0x96c kernel/time/timer.c:1701 expire_timers kernel/time/timer.c:1747 [inline] __run_timers+0x4d0/0x6d8 kernel/time/timer.c:2023 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:2036 handle_softirqs+0x318/0xc90 kernel/softirq.c:596 __do_softirq+0x14/0x20 kernel/softirq.c:630 The buggy address belongs to the object at ffff0000f423b800 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 507 bytes inside of 512-byte region [ffff0000f423b800, ffff0000f423ba00) The buggy address belongs to the physical page: page:0000000074b4db8a refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff0000f423b000 pfn:0x134238 head:0000000074b4db8a order:2 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 fffffc0003694008 fffffc0003d66a08 ffff0000c0002600 raw: ffff0000f423b000 000000000010000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000f423b880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000f423b900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff0000f423b980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000f423ba00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000f423ba80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================