syzkaller login: [  149.633646] BUG: Bad rss-counter state mm:00000000f5c07a06 type:MM_FILEPAGES val:33
[  149.634848] BUG: Bad rss-counter state mm:00000000f5c07a06 type:MM_ANONPAGES val:22
[  149.681469] ==================================================================
[  149.682424] BUG: KASAN: slab-use-after-free in vma_interval_tree_remove+0xc75/0xec0
[  149.683386] Read of size 8 at addr ffff888018c3fed8 by task sshd/225
[  149.684183] 
[  149.684401] CPU: 0 PID: 225 Comm: sshd Tainted: G             L     6.4.0-rc7-next-20230619 #1
[  149.685442] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[  149.686425] Call Trace:
[  149.686745]  <TASK>
[  149.687030]  dump_stack_lvl+0x91/0xf0
[  149.687522]  print_report+0xcc/0x620
[  149.688023]  ? __virt_addr_valid+0x102/0x340
[  149.688576]  ? vma_interval_tree_remove+0xc75/0xec0
[  149.689197]  ? vma_interval_tree_remove+0xc75/0xec0
[  149.689817]  kasan_report+0xbe/0xf0
[  149.690293]  ? vma_interval_tree_remove+0xc75/0xec0
[  149.690918]  vma_interval_tree_remove+0xc75/0xec0
[  149.691529]  vma_prepare+0xc54/0x11a0
[  149.692027]  __split_vma+0x5af/0x950
[  149.692512]  ? __pfx___split_vma+0x10/0x10
[  149.693163]  ? find_held_lock+0x2c/0x110
[  149.693690]  do_vmi_align_munmap+0x2ba/0x11f0
[  149.694250]  ? lock_is_held_type+0x9f/0x120
[  149.694789]  ? __pfx_do_vmi_align_munmap+0x10/0x10
[  149.695409]  ? mtree_range_walk+0x632/0x900
[  149.695974]  ? mas_walk+0x5c7/0x7c0
[  149.696453]  do_vmi_munmap+0x1f1/0x2b0
[  149.696948]  mmap_region+0x1f9/0x2660
[  149.697440]  ? vm_mmap_pgoff+0x15c/0x3a0
[  149.697954]  ? __pfx_arch_get_unmapped_area_topdown+0x10/0x10
[  149.698672]  ? __pfx_lock_acquire+0x10/0x10
[  149.699215]  ? __pfx_mmap_region+0x10/0x10
[  149.699767]  ? security_mmap_addr+0x7d/0xa0
[  149.700339]  ? get_unmapped_area+0x1f5/0x3f0
[  149.700905]  do_mmap+0x854/0xf00
[  149.701363]  vm_mmap_pgoff+0x1a6/0x3a0
[  149.701874]  ? __pfx_vm_mmap_pgoff+0x10/0x10
[  149.702447]  ksys_mmap_pgoff+0x3af/0x500
[  149.702978]  do_syscall_64+0x3f/0x90
[  149.703473]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[  149.704156] RIP: 0033:0x7fabcc020d82
[  149.704632] Code: eb aa 66 0f 1f 44 00 00 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 33 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 56 5b 5d c3 0f 1f 00 c7 05 ae 03 01 00 16 00
[  149.706850] RSP: 002b:00007fffdf3e9c18 EFLAGS: 00000206 ORIG_RAX: 0000000000000009
[  149.707793] RAX: ffffffffffffffda RBX: 0000000000000812 RCX: 00007fabcc020d82
[  149.708698] RDX: 0000000000000005 RSI: 0000000000001000 RDI: 00007fabcb45a000
[  149.709585] RBP: 00007fabcb45a000 R08: 0000000000000009 R09: 0000000000001000
[  149.710467] R10: 0000000000000812 R11: 0000000000000206 R12: 000055f34423aec0
[  149.711347] R13: 00007fffdf3e9c30 R14: 00007fffdf3e9c60 R15: 00007fffdf3e9fc0
[  149.712250]  </TASK>
[  149.712558] 
[  149.712779] Allocated by task 218:
[  149.713224]  kasan_save_stack+0x22/0x50
[  149.713753]  kasan_set_track+0x25/0x30
[  149.714274]  __kasan_slab_alloc+0x59/0x70
[  149.714819]  kmem_cache_alloc+0x16b/0x370
[  149.715354]  vm_area_dup+0x20/0x160
[  149.715826]  __split_vma+0x170/0x950
[  149.716325]  split_vma+0xc6/0x110
[  149.716784]  mprotect_fixup+0x8d2/0xb30
[  149.717313]  do_mprotect_pkey+0x87e/0xd40
[  149.717856]  __x64_sys_mprotect+0x78/0xc0
[  149.718396]  do_syscall_64+0x3f/0x90
[  149.718886]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[  149.719555] 
[  149.719777] Freed by task 218:
[  149.720195]  kasan_save_stack+0x22/0x50
[  149.720720]  kasan_set_track+0x25/0x30
[  149.721232]  kasan_save_free_info+0x2b/0x50
[  149.721784]  __kasan_slab_free+0x10a/0x190
[  149.722337]  kmem_cache_free+0x10d/0x4d0
[  149.722865]  rcu_core+0x8c8/0x2860
[  149.723322]  __do_softirq+0x1b7/0x7d4
[  149.723815] 
[  149.724051] Last potentially related work creation:
[  149.724669]  kasan_save_stack+0x22/0x50
[  149.725197]  __kasan_record_aux_stack+0x8e/0xa0
[  149.725796]  __call_rcu_common.constprop.0+0x6a/0xb90
[  149.726462]  remove_vma+0x139/0x170
[  149.726941]  do_vmi_align_munmap+0xd4a/0x11f0
[  149.727522]  do_vmi_munmap+0x1f1/0x2b0
[  149.728049]  __vm_munmap+0x138/0x3a0
[  149.728540]  __x64_sys_munmap+0x59/0x80
[  149.729062]  do_syscall_64+0x3f/0x90
[  149.729556]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[  149.730227] 
[  149.730450] The buggy address belongs to the object at ffff888018c3fe80
[  149.730450]  which belongs to the cache vm_area_struct of size 168
[  149.732001] The buggy address is located 88 bytes inside of
[  149.732001]  freed 168-byte region [ffff888018c3fe80, ffff888018c3ff28)
[  149.733471] 
[  149.733696] The buggy address belongs to the physical page:
[  149.734380] page:000000003420ffcc refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x18c3f
[  149.735531] memcg:ffff8880146d2701
[  149.736001] flags: 0x100000000000200(slab|node=0|zone=1)
[  149.736680] page_type: 0xffffffff()
[  149.737148] raw: 0100000000000200 ffff88800879fc80 dead000000000122 0000000000000000
[  149.738105] raw: 0000000000000000 0000000000110011 00000001ffffffff ffff8880146d2701
[  149.739050] page dumped because: kasan: bad access detected
[  149.739733] 
[  149.739963] Memory state around the buggy address:
[  149.740573]  ffff888018c3fd80: fc fc fc 00 00 00 00 00 00 00 00 00 00 00 00 00
[  149.741461]  ffff888018c3fe00: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
[  149.742357] >ffff888018c3fe80: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[  149.743240]                                                     ^
[  149.744010]  ffff888018c3ff00: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc
[  149.744909]  ffff888018c3ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[  149.745790] ==================================================================
[  149.746856] Disabling lock debugging due to kernel taint
[  151.725465] BUG: Bad rss-counter state mm:00000000a50d26f4 type:MM_FILEPAGES val:33
[  151.726631] BUG: Bad rss-counter state mm:00000000a50d26f4 type:MM_ANONPAGES val:22
[  152.100843] BUG: Bad rss-counter state mm:00000000d0ffb31e type:MM_FILEPAGES val:33
[  152.101832] BUG: Bad rss-counter state mm:00000000d0ffb31e type:MM_ANONPAGES val:22
Warning: Permanently added '[localhost]:6001' (ECDSA) to the list of known hosts.
2023/06/20 05:11:50 fuzzer started
2023/06/20 05:11:50 dialing manager at localhost:44161
2023/06/20 05:11:50 checking machine...
2023/06/20 05:11:50 checking revisions...
[  152.868224] kmemleak: Automatic memory scanning thread ended
2023/06/20 05:11:50 testing simple program...
[  152.920695] cgroup: Unknown subsys name 'net'
[  152.970555] cgroup: Unknown subsys name 'rlimit'
executing program
executing program
executing program

VM DIAGNOSIS:
05:09:59  Registers:
info registers vcpu 0
RAX=ffff88806ce35000 RBX=0000000000000000 RCX=ffffffff8450c50e RDX=ffffed100d9c6a01
RSI=0000000000000004 RDI=ffffffff812889a5 RBP=dffffc0000000000 RSP=ffffffff85407e10
R8 =0000000000000000 R9 =ffffed100d9c6a00 R10=ffff88806ce35003 R11=0000000000000001
R12=ffffffff85d3bed0 R13=1ffffffff0a80fc7 R14=0000000000000000 R15=0000000000000000
RIP=ffffffff8450d49f RFL=00000246 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=1
ES =0000 0000000000000000 00000000 00000000
CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0000 0000000000000000 00000000 00000000
FS =0000 0000000000000000 00000000 00000000
GS =0000 ffff88806ce00000 00000000 00000000
LDT=0000 fffffe0000000000 00000000 00000000
TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy
GDT=     fffffe0000001000 0000007f
IDT=     fffffe0000000000 00000fff
CR0=80050033 CR2=00007fb0ee756220 CR3=0000000016bc4000 CR4=00350ef0
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000d01
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=2039343a31313a3530203032206e754a XMM01=73732878696e755f6d6170203a5d3433
XMM02=65736f6c63206e6f6973736573203a29 XMM03=755f6d6170203a5d3433325b64687373
XMM04=69662068637573206f4e203a656c6163 XMM05=3a656c696620766e65206e65706f206f
XMM06=65733a6468737328766e655f6d617020 XMM07=6b7a79732039343a31313a3530203032
XMM08=00007fd1cc0338100000004a00000080 XMM09=00000000000000000000000000000000
XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000
XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000
XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000
info registers vcpu 1
RAX=1ffff11002bb0f7b RBX=ffff888015d87c28 RCX=ffff888015d87c30 RDX=ffff888015d88000
RSI=ffff888015d87c28 RDI=ffff888015d87ba0 RBP=dffffc0000000000 RSP=ffff888015d87b40
R8 =0000000000000001 R9 =ffff888015d87bd0 R10=0000000000038001 R11=0000000000003c0d
R12=ffffed1002bb0f74 R13=ffffed1002bb0f73 R14=ffff888015d87bd8 R15=ffff888015d87b90
RIP=ffffffff81132ff0 RFL=00000287 [--S--PC] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0000 0000000000000000 00000000 00000000
CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0000 0000000000000000 00000000 00000000
FS =0000 00007f06af53d900 00000000 00000000
GS =0000 ffff88806cf00000 00000000 00000000
LDT=0000 fffffe0000000000 00000000 00000000
TR =0040 fffffe000004a000 00004087 00008b00 DPL=0 TSS64-busy
GDT=     fffffe0000048000 0000007f
IDT=     fffffe0000000000 00000fff
CR0=80050033 CR2=00007f06af909328 CR3=000000000efd0000 CR4=00350ee0
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000d01
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=652022746f6f72223d74636361207469
XMM02=3d6c616e696d72657420322e322e302e XMM03=3d656d616e74736f682022646873732f
XMM04=40404040404040404040404040404040 XMM05=5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a
XMM06=20202020202020202020202020202020 XMM07=00000000000000000000000000000000
XMM08=652075253d64692073253d706f000000 XMM09=00000000000000000000000000000000
XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000
XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000
XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000