================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:764 Read of size 2 at addr ffff88804a92edfb by task syz.2.3623/21377 CPU: 1 PID: 21377 Comm: syz.2.3623 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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:764 netdev_core_pick_tx+0x12c/0x300 net/core/dev.c:4184 __dev_queue_xmit+0x797/0x2e50 net/core/dev.c:4261 packet_snd net/packet/af_packet.c:3094 [inline] packet_sendmsg+0x3cf9/0x50b0 net/packet/af_packet.c:3125 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:0x7f7441d06e59 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:00007f743ff5f028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f7441f8efa0 RCX: 00007f7441d06e59 RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000000000000004 RBP: 00007f7441d9ce6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7441f8f038 R14: 00007f7441f8efa0 R15: 00007fff0e565e18 Allocated by task 18357: 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_array include/linux/slab.h:647 [inline] kcalloc include/linux/slab.h:676 [inline] cache_create_net+0x8e/0x250 net/sunrpc/cache.c:1748 rsc_cache_create_net net/sunrpc/auth_gss/svcauth_gss.c:1949 [inline] gss_svc_init_net+0x54/0x410 net/sunrpc/auth_gss/svcauth_gss.c:1977 ops_init+0x360/0x5f0 net/core/net_namespace.c:138 setup_net+0x39e/0xa10 net/core/net_namespace.c:333 copy_net_ns+0x33e/0x5b0 net/core/net_namespace.c:503 create_new_namespaces+0x3ce/0x700 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x116/0x160 kernel/nsproxy.c:226 ksys_unshare+0x4f6/0x8e0 kernel/fork.c:3177 __do_sys_unshare kernel/fork.c:3254 [inline] __se_sys_unshare kernel/fork.c:3252 [inline] __x64_sys_unshare+0x34/0x40 kernel/fork.c:3252 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 The buggy address belongs to the object at ffff88804a92c000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 3579 bytes to the right of 8192-byte region [ffff88804a92c000, ffff88804a92e000) The buggy address belongs to the page: page:ffffea00012a4a00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4a928 head:ffffea00012a4a00 order:3 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 0000000100000001 ffff888016c42280 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 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 10712, ts 324677480366, free_ts 324565150619 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] _sctp_make_chunk+0x5b/0x430 net/sctp/sm_make_chunk.c:1444 sctp_make_data net/sctp/sm_make_chunk.c:1476 [inline] sctp_make_datafrag_empty+0xa8/0x520 net/sctp/sm_make_chunk.c:741 sctp_datamsg_from_user+0x79b/0xf00 net/sctp/chunk.c:262 sctp_sendmsg_to_asoc+0x14cd/0x1e10 net/sctp/socket.c:1858 sctp_sendmsg+0x1b87/0x2940 net/sctp/socket.c:2039 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:3045 kernel_sendpage+0x250/0x380 net/socket.c:3551 sock_sendpage+0x7a/0xb0 net/socket.c:1028 pipe_to_sendpage+0x22f/0x320 fs/splice.c:364 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] kmem_cache_alloc+0x15d/0x280 mm/slub.c:3238 kmem_cache_zalloc include/linux/slab.h:728 [inline] jbd2_alloc_handle include/linux/jbd2.h:1597 [inline] new_handle fs/jbd2/transaction.c:477 [inline] jbd2__journal_start+0x13c/0x5a0 fs/jbd2/transaction.c:504 __ext4_journal_start_sb+0x167/0x360 fs/ext4/ext4_jbd2.c:105 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline] ext4_dirty_inode+0x8b/0x100 fs/ext4/inode.c:6074 __mark_inode_dirty+0x2c8/0xc90 fs/fs-writeback.c:2480 generic_update_time+0x1cd/0x1f0 fs/inode.c:1881 inode_update_time fs/inode.c:1894 [inline] file_update_time+0x3c0/0x440 fs/inode.c:2083 ext4_page_mkwrite+0x1bc/0x1250 fs/ext4/inode.c:6195 Memory state around the buggy address: ffff88804a92ec80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88804a92ed00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88804a92ed80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88804a92ee00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88804a92ee80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================