IPv6: ADDRCONF(NETDEV_CHANGE): syzkaller0: link becomes ready ================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:909 Read of size 2 at addr ffff88801db3c5fb by task syz.1.2376/13181 CPU: 1 PID: 13181 Comm: syz.1.2376 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 ieee80211_monitor_select_queue+0x23a/0x240 net/mac80211/iface.c:909 netdev_core_pick_tx+0x118/0x340 net/core/dev.c:4245 __dev_queue_xmit+0xb19/0x37c0 net/core/dev.c:4331 packet_snd net/packet/af_packet.c:3127 [inline] packet_sendmsg+0x3bc3/0x4e60 net/packet/af_packet.c:3158 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x5be/0x970 net/socket.c:2518 ___sys_sendmsg+0x2a2/0x360 net/socket.c:2572 __sys_sendmsg net/socket.c:2601 [inline] __do_sys_sendmsg net/socket.c:2610 [inline] __se_sys_sendmsg+0x1bb/0x2a0 net/socket.c:2608 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f9dd979c819 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:00007f9dda6cd028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9dd9a15fa0 RCX: 00007f9dd979c819 RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000000000000003 RBP: 00007f9dd9832c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9dd9a16038 R14: 00007f9dd9a15fa0 R15: 00007ffec43574b8 Allocated by task 1: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x8e/0xa0 mm/kasan/common.c:384 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:699 [inline] device_private_init drivers/base/core.c:3541 [inline] device_add+0xba/0xfb0 drivers/base/core.c:3591 tty_register_device_attr+0x431/0x980 drivers/tty/tty_io.c:3250 tty_register_device drivers/tty/tty_io.c:3185 [inline] tty_register_driver+0x59c/0xb20 drivers/tty/tty_io.c:3449 legacy_pty_init+0x3a6/0x5fd drivers/tty/pty.c:579 pty_init+0xa/0x12 drivers/tty/pty.c:943 do_one_initcall+0x26a/0x840 init/main.c:1310 do_initcall_level+0x137/0x1e4 init/main.c:1383 do_initcalls+0x4b/0x8a init/main.c:1399 kernel_init_freeable+0x415/0x5be init/main.c:1638 kernel_init+0x19/0x1b0 init/main.c:1526 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 The buggy address belongs to the object at ffff88801db3c400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 507 bytes inside of 512-byte region [ffff88801db3c400, ffff88801db3c600) The buggy address belongs to the physical page: page:ffffea000076cf00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1db3c head:ffffea000076cf00 order:2 compound_mapcount:0 compound_pincount:0 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 dead000000000100 dead000000000122 ffff888017441c80 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 6831768193, free_ts 0 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2559 prep_new_page mm/page_alloc.c:2566 [inline] get_page_from_freelist+0x1a1e/0x1ab0 mm/page_alloc.c:4357 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5657 alloc_page_interleave+0x24/0x1e0 mm/mempolicy.c:2115 alloc_slab_page+0x5d/0x160 mm/slub.c:1799 allocate_slab mm/slub.c:1944 [inline] new_slab+0x87/0x2c0 mm/slub.c:1997 ___slab_alloc+0xbc6/0x1240 mm/slub.c:3154 __slab_alloc mm/slub.c:3240 [inline] slab_alloc_node mm/slub.c:3325 [inline] __kmem_cache_alloc_node+0x1a0/0x260 mm/slub.c:3398 kmalloc_trace+0x26/0xe0 mm/slab_common.c:1026 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:699 [inline] device_private_init drivers/base/core.c:3541 [inline] device_add+0xba/0xfb0 drivers/base/core.c:3591 tty_register_device_attr+0x431/0x980 drivers/tty/tty_io.c:3250 tty_register_device drivers/tty/tty_io.c:3185 [inline] tty_register_driver+0x59c/0xb20 drivers/tty/tty_io.c:3449 legacy_pty_init+0x3a6/0x5fd drivers/tty/pty.c:579 pty_init+0xa/0x12 drivers/tty/pty.c:943 do_one_initcall+0x26a/0x840 init/main.c:1310 do_initcall_level+0x137/0x1e4 init/main.c:1383 page_owner free stack trace missing Memory state around the buggy address: ffff88801db3c480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88801db3c500: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88801db3c580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88801db3c600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88801db3c680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================