netlink: 'syz.2.1661': attribute type 10 has an invalid length. bond1: (slave wlan0): Releasing active interface ================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_add_virtual_monitor+0xa94/0xb30 net/mac80211/iface.c:1255 Read of size 1 at addr ffff8880310b7d50 by task syz.2.1661/12951 CPU: 0 UID: 0 PID: 12951 Comm: syz.2.1661 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcd/0x630 mm/kasan/report.c:482 kasan_report+0xe0/0x110 mm/kasan/report.c:595 ieee80211_add_virtual_monitor+0xa94/0xb30 net/mac80211/iface.c:1255 ieee80211_do_stop+0x1de1/0x2520 net/mac80211/iface.c:746 ieee80211_stop+0x169/0x320 net/mac80211/iface.c:828 __dev_close_many+0x29b/0x700 net/core/dev.c:1756 netif_close_many+0x233/0x630 net/core/dev.c:1781 netif_close net/core/dev.c:1798 [inline] netif_close+0x17f/0x230 net/core/dev.c:1792 dev_close+0xaa/0x240 net/core/dev_api.c:220 __bond_release_one+0xb0c/0x1a60 drivers/net/bonding/bond_main.c:2472 do_set_master+0x172/0x730 net/core/rtnetlink.c:2947 do_setlink.constprop.0+0xbd8/0x4380 net/core/rtnetlink.c:3165 rtnl_changelink net/core/rtnetlink.c:3776 [inline] __rtnl_newlink net/core/rtnetlink.c:3935 [inline] rtnl_newlink+0x1376/0x1f50 net/core/rtnetlink.c:4072 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6958 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8c8/0xdd0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0xa5d/0xc30 net/socket.c:2592 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2646 __sys_sendmsg+0x16d/0x220 net/socket.c:2678 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f098678f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f09849f6038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f09869e6090 RCX: 00007f098678f749 RDX: 0000000000000000 RSI: 0000200000000200 RDI: 0000000000000007 RBP: 00007f0986813f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f09869e6128 R14: 00007f09869e6090 R15: 00007ffee76ad888 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x310b4 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff88803249ed82 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f8(unknown) raw: 00fff00000000040 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000000f8000000 ffff88803249ed82 head: 00fff00000000040 0000000000000000 dead000000000122 0000000000000000 head: 0000000000000000 0000000000000000 00000000f8000000 ffff88803249ed82 head: 00fff00000000002 ffffea0000c42d01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0x446dc0(GFP_KERNEL_ACCOUNT|__GFP_ZERO|__GFP_NOWARN|__GFP_RETRY_MAYFAIL|__GFP_COMP), pid 10361, tgid 10359 (syz.2.1054), ts 335108401254, free_ts 259642507430 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1af/0x220 mm/page_alloc.c:1846 prep_new_page mm/page_alloc.c:1854 [inline] get_page_from_freelist+0xd0b/0x31a0 mm/page_alloc.c:3915 __alloc_frozen_pages_noprof+0x25f/0x2430 mm/page_alloc.c:5210 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486 ___kmalloc_large_node+0x10c/0x150 mm/slub.c:5598 __kmalloc_large_node_noprof+0x1c/0x70 mm/slub.c:5629 __do_kmalloc_node mm/slub.c:5645 [inline] __kvmalloc_node_noprof.cold+0xf/0x8e mm/slub.c:7136 alloc_netdev_mqs+0xd7/0x1550 net/core/dev.c:11997 ieee80211_if_add+0x18a/0x1a10 net/mac80211/iface.c:2227 ieee80211_add_iface+0xaf/0x560 net/mac80211/cfg.c:217 rdev_add_virtual_intf net/wireless/rdev-ops.h:50 [inline] _nl80211_new_interface net/wireless/nl80211.c:4706 [inline] nl80211_new_interface+0x6ba/0x1100 net/wireless/nl80211.c:4764 genl_family_rcv_msg_doit+0x209/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x55c/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1344 page last free pid 977 tgid 977 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0x7df/0x1170 mm/page_alloc.c:2943 kasan_depopulate_vmalloc_pte+0x5b/0x80 mm/kasan/shadow.c:484 apply_to_pte_range mm/memory.c:3182 [inline] apply_to_pmd_range mm/memory.c:3226 [inline] apply_to_pud_range mm/memory.c:3262 [inline] apply_to_p4d_range mm/memory.c:3298 [inline] __apply_to_page_range+0xac1/0x13f0 mm/memory.c:3334 __kasan_release_vmalloc+0xd1/0xe0 mm/kasan/shadow.c:602 kasan_release_vmalloc include/linux/kasan.h:592 [inline] kasan_release_vmalloc_node mm/vmalloc.c:2282 [inline] purge_vmap_node+0x1ba/0xad0 mm/vmalloc.c:2299 __purge_vmap_area_lazy+0x9d2/0xc00 mm/vmalloc.c:2389 drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2423 process_one_work+0x9ba/0x1b20 kernel/workqueue.c:3257 process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3421 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x983/0xb10 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246 Memory state around the buggy address: ffff8880310b7c00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff8880310b7c80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe >ffff8880310b7d00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ^ ffff8880310b7d80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff8880310b7e00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ==================================================================