Bluetooth: hci2: Opcode 0x0c1a failed: -4
Bluetooth: hci2: Error when powering off device on rfkill (-4)
tipc: Resetting bearer <eth:syzkaller0>
==================================================================
BUG: KASAN: slab-out-of-bounds in ieee80211_add_virtual_monitor+0xa52/0xd00
Read of size 1 at addr ffff888173767d50 by task syz.0.2371/14998

CPU: 0 UID: 0 PID: 14998 Comm: syz.0.2371 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+0x189/0x250
 print_report+0xca/0x240
 kasan_report+0x118/0x150
 ieee80211_add_virtual_monitor+0xa52/0xd00
 ieee80211_do_stop+0x1786/0x1f60
 ieee80211_stop+0x1b1/0x240
 __dev_close_many+0x364/0x6f0
 netif_close_many+0x225/0x410
 netif_close+0x158/0x210
 dev_close+0x10a/0x220
 cfg80211_shutdown_all_interfaces+0xd4/0x220
 cfg80211_rfkill_set_block+0x2d/0x50
 rfkill_set_block+0x1d2/0x440
 rfkill_fop_write+0x44b/0x570
 vfs_write+0x27e/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fadf038f7c9
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:00007fadf11db038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fadf05e5fa0 RCX: 00007fadf038f7c9
RDX: 0000000000000008 RSI: 0000200000000080 RDI: 0000000000000003
RBP: 00007fadf03f297f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fadf05e6038 R14: 00007fadf05e5fa0 R15: 00007fffe0e12eb8
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x173764
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x57ff00000000040(head|node=1|zone=2|lastcpupid=0x7ff)
page_type: f8(unknown)
raw: 057ff00000000040 0000000000000000 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000
head: 057ff00000000040 0000000000000000 dead000000000122 0000000000000000
head: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000
head: 057ff00000000002 ffffea0005cdd901 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 5817, tgid 5817 (syz-executor), ts 65806922742, free_ts 56856927327
 post_alloc_hook+0x234/0x290
 get_page_from_freelist+0x2365/0x2440
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 ___kmalloc_large_node+0x5f/0x1b0
 __kmalloc_large_node_noprof+0x18/0x90
 __kvmalloc_node_noprof+0x6e/0x910
 alloc_netdev_mqs+0xa6/0x11b0
 ieee80211_if_add+0x46c/0x1390
 ieee80211_register_hw+0x35a5/0x40d0
 mac80211_hwsim_new_radio+0x2f9a/0x5260
 hwsim_new_radio_nl+0xf5b/0x1bd0
 genl_family_rcv_msg_doit+0x215/0x300
 genl_rcv_msg+0x60e/0x790
 netlink_rcv_skb+0x208/0x470
 genl_rcv+0x28/0x40
page last free pid 5802 tgid 5802 stack trace:
 __free_frozen_pages+0xbc4/0xd30
 __put_partials+0x146/0x170
 put_cpu_partial+0x1f2/0x2e0
 __slab_free+0x2b9/0x390
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_noprof+0x367/0x6e0
 vm_area_dup+0x2b/0x680
 __split_vma+0x1a9/0xa00
 vms_gather_munmap_vmas+0x4c6/0x12e0
 mmap_region+0x722/0x2110
 do_mmap+0xc45/0x10d0
 vm_mmap_pgoff+0x2a6/0x4d0
 ksys_mmap_pgoff+0x51f/0x760
 do_syscall_64+0xfa/0xfa0

Memory state around the buggy address:
 ffff888173767c00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
 ffff888173767c80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
>ffff888173767d00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
                                                 ^
 ffff888173767d80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
 ffff888173767e00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
==================================================================
