tipc: Resetting bearer ================================================================== BUG: KASAN: slab-out-of-bounds in ieee80211_add_virtual_monitor+0xa42/0xce0 net/mac80211/iface.c:1255 Read of size 1 at addr ffff8880632fbd50 by task syz.4.4721/24622 CPU: 1 UID: 0 PID: 24622 Comm: syz.4.4721 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x240 mm/kasan/report.c:482 kasan_report+0x118/0x150 mm/kasan/report.c:595 ieee80211_add_virtual_monitor+0xa42/0xce0 net/mac80211/iface.c:1255 ieee80211_do_stop+0x1786/0x1f70 net/mac80211/iface.c:746 ieee80211_stop+0x1b1/0x240 net/mac80211/iface.c:828 __dev_close_many+0x344/0x6b0 net/core/dev.c:1756 netif_close_many+0x225/0x410 net/core/dev.c:1781 netif_close+0x158/0x210 net/core/dev.c:1798 dev_close+0x10a/0x220 net/core/dev_api.c:220 cfg80211_shutdown_all_interfaces+0xc4/0x200 net/wireless/core.c:280 cfg80211_rfkill_set_block+0x2d/0x50 net/wireless/core.c:310 rfkill_set_block+0x1d2/0x440 net/rfkill/core.c:346 rfkill_fop_write+0x44b/0x570 net/rfkill/core.c:1301 vfs_write+0x27e/0xb30 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f671638f749 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:00007f67145f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f67165e5fa0 RCX: 00007f671638f749 RDX: 0000000000000008 RSI: 0000200000000080 RDI: 0000000000000007 RBP: 00007f6716413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f67165e6038 R14: 00007f67165e5fa0 R15: 00007ffde4061f78 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880632fba80 pfn:0x632f8 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f8(unknown) raw: 00fff00000000040 0000000000000000 dead000000000122 0000000000000000 raw: ffff8880632fba80 0000000000000000 00000000f8000000 0000000000000000 head: 00fff00000000040 0000000000000000 dead000000000122 0000000000000000 head: ffff8880632fba80 0000000000000000 00000000f8000000 0000000000000000 head: 00fff00000000002 ffffea00018cbe01 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 18164, tgid 18164 (syz-executor), ts 707180206983, free_ts 703848904079 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x234/0x290 mm/page_alloc.c:1846 prep_new_page mm/page_alloc.c:1854 [inline] get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3915 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5210 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2486 ___kmalloc_large_node+0x4e/0x150 mm/slub.c:5598 __kmalloc_large_node_noprof+0x18/0x90 mm/slub.c:5629 __do_kmalloc_node mm/slub.c:5645 [inline] __kvmalloc_node_noprof+0x6e/0x920 mm/slub.c:7134 alloc_netdev_mqs+0xa6/0x11b0 net/core/dev.c:11997 ieee80211_if_add+0x45c/0x1370 net/mac80211/iface.c:2227 ieee80211_register_hw+0x35d9/0x4110 net/mac80211/main.c:1607 mac80211_hwsim_new_radio+0x2f76/0x5320 drivers/net/wireless/virtual/mac80211_hwsim.c:5810 hwsim_new_radio_nl+0xf5b/0x1bd0 drivers/net/wireless/virtual/mac80211_hwsim.c:6504 genl_family_rcv_msg_doit+0x215/0x300 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x60e/0x790 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 page last free pid 18273 tgid 18273 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc8/0xd30 mm/page_alloc.c:2943 discard_slab mm/slub.c:3346 [inline] __put_partials+0x146/0x170 mm/slub.c:3886 put_cpu_partial+0x1f2/0x2d0 mm/slub.c:3961 __slab_free+0x288/0x2a0 mm/slub.c:5952 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x100 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:349 kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4953 [inline] slab_alloc_node mm/slub.c:5263 [inline] kmem_cache_alloc_noprof+0x37d/0x710 mm/slub.c:5270 mt_alloc_one lib/maple_tree.c:174 [inline] mas_alloc_nodes+0x291/0x350 lib/maple_tree.c:1110 mas_preallocate+0x2e0/0x670 lib/maple_tree.c:5194 vma_iter_prealloc mm/vma.h:502 [inline] __mmap_new_vma mm/vma.c:2478 [inline] __mmap_region mm/vma.c:2708 [inline] mmap_region+0xf65/0x1d10 mm/vma.c:2786 do_mmap+0xc45/0x10d0 mm/mmap.c:558 vm_mmap_pgoff+0x2a6/0x4d0 mm/util.c:581 ksys_mmap_pgoff+0x51f/0x760 mm/mmap.c:604 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff8880632fbc00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff8880632fbc80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe >ffff8880632fbd00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ^ ffff8880632fbd80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff8880632fbe00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ==================================================================