batman_adv: batadv0: Interface deactivated: vlan3
==================================================================
BUG: KASAN: slab-out-of-bounds in ieee80211_add_virtual_monitor+0xaa5/0xd30
Read of size 1 at addr ffff888198b37d50 by task syz.2.10215/8950

CPU: 0 UID: 0 PID: 8950 Comm: syz.2.10215 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x1a9/0x280
 print_report+0xba/0x230
 kasan_report+0x117/0x150
 ieee80211_add_virtual_monitor+0xaa5/0xd30
 ieee80211_do_stop+0x17da/0x1fd0
 ieee80211_stop+0x1af/0x230
 __dev_close_many+0x361/0x6d0
 __dev_change_flags+0x2c8/0x6a0
 netif_change_flags+0x7c/0x1b0
 do_setlink+0xdd6/0x4670
 rtnl_newlink+0x1475/0x1bd0
 rtnetlink_rcv_msg+0x802/0xc00
 netlink_rcv_skb+0x226/0x4a0
 netlink_unicast+0x833/0x9f0
 netlink_sendmsg+0x813/0xb40
 ____sys_sendmsg+0xa67/0xad0
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1bd/0x2a0
 do_syscall_64+0xf0/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f692359ce59
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:00007f692438a028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f6923815fa0 RCX: 00007f692359ce59
RDX: 0000000000000000 RSI: 0000200000000140 RDI: 0000000000000007
RBP: 00007f6923632e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6923816038 R14: 00007f6923815fa0 R15: 00007ffc479d60d8
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888198b36d80 pfn:0x198b34
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff888170487e02
flags: 0x57ff00000000040(head|node=1|zone=2|lastcpupid=0x7ff)
page_type: f8(unknown)
raw: 057ff00000000040 0000000000000000 dead000000000122 0000000000000000
raw: ffff888198b36d80 0000000000000000 00000000f8000000 ffff888170487e02
head: 057ff00000000040 0000000000000000 dead000000000122 0000000000000000
head: ffff888198b36d80 0000000000000000 00000000f8000000 ffff888170487e02
head: 057ff00000000002 ffffea000662cd01 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 32736, tgid 32735 (syz.2.7912), ts 855485407578, free_ts 854553558779
 post_alloc_hook+0x228/0x280
 get_page_from_freelist+0x2343/0x2410
 __alloc_frozen_pages_noprof+0x18d/0x380
 alloc_pages_mpol+0x22b/0x390
 ___kmalloc_large_node+0x4c/0x150
 __kmalloc_large_node_noprof+0x18/0x90
 __kvmalloc_node_noprof+0x6e/0x8e0
 alloc_netdev_mqs+0xa9/0x1210
 ieee80211_if_add+0x41a/0x1280
 ieee80211_add_iface+0xb4/0x5a0
 nl80211_new_interface+0x786/0x1020
 genl_family_rcv_msg_doit+0x233/0x340
 genl_rcv_msg+0x614/0x7a0
 netlink_rcv_skb+0x226/0x4a0
 genl_rcv+0x28/0x40
 netlink_unicast+0x833/0x9f0
page last free pid 32668 tgid 32663 stack trace:
 __free_frozen_pages+0xbe4/0xd60
 __slab_free+0x21b/0x290
 qlist_free_all+0x98/0x100
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 __kmalloc_cache_noprof+0x37f/0x6f0
 __request_module+0x2d0/0x610
 dev_load+0x190/0x1f0
 dev_ioctl+0x680/0x1150
 sock_do_ioctl+0x23e/0x320
 sock_ioctl+0x57a/0x7e0
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0xf0/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888198b37c00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
 ffff888198b37c80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
>ffff888198b37d00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
                                                 ^
 ffff888198b37d80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
 ffff888198b37e00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
==================================================================
