================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:772 Read of size 2 at addr ffff88801b7bedfb by task syz.1.1027/8269 CPU: 1 PID: 8269 Comm: syz.1.1027 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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:772 netdev_core_pick_tx+0x12c/0x300 net/core/dev.c:4185 __dev_queue_xmit+0x797/0x2e50 net/core/dev.c:4262 packet_snd net/packet/af_packet.c:3126 [inline] packet_sendmsg+0x3bbd/0x4e70 net/packet/af_packet.c:3157 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] ____sys_sendmsg+0x5be/0x8f0 net/socket.c:2446 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2500 __sys_sendmsg net/socket.c:2529 [inline] __do_sys_sendmsg net/socket.c:2538 [inline] __se_sys_sendmsg+0x1b7/0x2a0 net/socket.c:2536 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:0x7f3ebc134f19 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:00007f3eba382028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f3ebc3b1fa0 RCX: 00007f3ebc134f19 RDX: 0000000000000000 RSI: 00002000000004c0 RDI: 0000000000000005 RBP: 00007f3ebc1c3f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3ebc3b2038 R14: 00007f3ebc3b1fa0 R15: 00007ffdc2c8f328 Allocated by task 8218: 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+0xaf/0xe0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:607 [inline] audit_log_d_path+0xc0/0x260 kernel/audit.c:2173 audit_log_d_path_exe+0x3e/0x70 kernel/audit.c:2244 audit_log_task+0x219/0x2e0 kernel/auditsc.c:2682 audit_seccomp+0x81/0x180 kernel/auditsc.c:2729 seccomp_log kernel/seccomp.c:988 [inline] __seccomp_filter+0xa66/0x1a00 kernel/seccomp.c:1254 syscall_trace_enter+0xd0/0x180 kernel/entry/common.c:71 do_syscall_64+0x24/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Freed by task 8218: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1710 [inline] slab_free_freelist_hook+0xec/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kfree+0xef/0x2a0 mm/slub.c:4564 audit_log_d_path_exe+0x3e/0x70 kernel/audit.c:2244 audit_log_task+0x219/0x2e0 kernel/auditsc.c:2682 audit_seccomp+0x81/0x180 kernel/auditsc.c:2729 seccomp_log kernel/seccomp.c:988 [inline] __seccomp_filter+0xa66/0x1a00 kernel/seccomp.c:1254 syscall_trace_enter+0xd0/0x180 kernel/entry/common.c:71 do_syscall_64+0x24/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff88801b7bc000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 3579 bytes to the right of 8192-byte region [ffff88801b7bc000, ffff88801b7be000) The buggy address belongs to the page: page:ffffea00006dee00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1b7b8 head:ffffea00006dee00 order:3 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 0000000100000001 ffff888017842280 raw: 0000000000000000 0000000080020002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d2a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 5717, ts 151461507085, free_ts 151395501038 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 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+0x807/0xdd0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] __kmalloc_node_track_caller+0x13d/0x3a0 mm/slub.c:4963 kmalloc_reserve net/core/skbuff.c:356 [inline] __alloc_skb+0x22c/0x750 net/core/skbuff.c:427 alloc_skb include/linux/skbuff.h:1162 [inline] netlink_to_full_skb net/netlink/af_netlink.c:171 [inline] __netlink_deliver_tap_skb net/netlink/af_netlink.c:296 [inline] __netlink_deliver_tap+0x2ea/0x7c0 net/netlink/af_netlink.c:323 netlink_deliver_tap+0x16c/0x180 net/netlink/af_netlink.c:336 netlink_deliver_tap_kernel net/netlink/af_netlink.c:345 [inline] netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x7f0/0x9e0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] sock_sendmsg net/socket.c:741 [inline] kernel_sendmsg+0x23e/0x350 net/socket.c:765 sock_no_sendpage+0x12a/0x1a0 net/core/sock.c:3044 kernel_sendpage+0x2cc/0x380 net/socket.c:3549 sock_sendpage+0x7a/0xb0 net/socket.c:1028 pipe_to_sendpage+0x22f/0x320 fs/splice.c:364 splice_from_pipe_feed fs/splice.c:418 [inline] __splice_from_pipe+0x333/0x8e0 fs/splice.c:562 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396 free_slab mm/slub.c:2020 [inline] discard_slab mm/slub.c:2026 [inline] __unfreeze_partials+0x188/0x1e0 mm/slub.c:2512 put_cpu_partial+0x12d/0x190 mm/slub.c:2592 qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] __kmalloc+0x189/0x340 mm/slub.c:4408 kmalloc include/linux/slab.h:612 [inline] tomoyo_realpath_from_path+0xed/0x5e0 security/tomoyo/realpath.c:254 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x23f/0x5d0 security/tomoyo/file.c:822 security_inode_getattr+0xcf/0x120 security/security.c:1398 vfs_getattr+0x26/0x3a0 fs/stat.c:157 vfs_statx+0x146/0x4c0 fs/stat.c:225 vfs_fstatat fs/stat.c:243 [inline] __do_sys_newfstatat fs/stat.c:411 [inline] __se_sys_newfstatat fs/stat.c:405 [inline] __x64_sys_newfstatat+0x15f/0x200 fs/stat.c:405 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 Memory state around the buggy address: ffff88801b7bec80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88801b7bed00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88801b7bed80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88801b7bee00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88801b7bee80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================