Warning: Permanently added '[localhost]:36469' (ECDSA) to the list of known hosts.
2021/12/06 11:34:07 fuzzer started
2021/12/06 11:34:07 dialing manager at localhost:35719
2021/12/06 11:34:07 checking machine...
2021/12/06 11:34:07 checking revisions...
syzkaller login: [ 34.327682] kmemleak: Automatic memory scanning thread ended
2021/12/06 11:34:07 testing simple program...
[ 34.371503] cgroup: Unknown subsys name 'net'
[ 34.373762] cgroup: Unknown subsys name 'net_prio'
[ 34.375410] cgroup: Unknown subsys name 'devices'
[ 34.377398] cgroup: Unknown subsys name 'blkio'
[ 34.407688]
[ 34.408079] =========================
[ 34.408859] WARNING: held lock freed!
[ 34.409631] 5.16.0-rc3-next-20211203 #1 Not tainted
[ 34.410836] -------------------------
[ 34.412387] kworker/1:1/31 is freeing memory ffff888008561000-ffff8880085611ff, with a lock still held there!
[ 34.414443] ffff888008561148 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00
[ 34.416306] 3 locks held by kworker/1:1/31:
[ 34.417184] #0: ffff8880080a6138 ((wq_completion)cgroup_destroy){+.+.}-{0:0}, at: process_one_work+0x929/0x1710
[ 34.419314] #1: ffff88800830fda8 ((work_completion)(&(&css->destroy_rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x95d/0x1710
[ 34.421785] #2: ffff888008561148 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00
[ 34.423739]
[ 34.423739] stack backtrace:
[ 34.424653] CPU: 1 PID: 31 Comm: kworker/1:1 Not tainted 5.16.0-rc3-next-20211203 #1
[ 34.426291] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 34.428681] Workqueue: cgroup_destroy css_free_rwork_fn
[ 34.429811] Call Trace:
[ 34.430348]
[ 34.430815] dump_stack_lvl+0x8b/0xb3
[ 34.431644] debug_check_no_locks_freed.cold+0xa5/0xb1
[ 34.432759] ? kernfs_put.part.0+0x334/0x540
[ 34.433713] kfree+0xb3/0x5a0
[ 34.434371] ? kmem_cache_free+0xce/0x640
[ 34.435246] kernfs_put.part.0+0x334/0x540
[ 34.436158] kernfs_put+0x42/0x50
[ 34.436884] __kernfs_remove+0x7ce/0xb00
[ 34.437736] ? lock_is_held_type+0xd7/0x130
[ 34.438645] ? kernfs_next_descendant_post+0x2f0/0x2f0
[ 34.439774] ? down_write+0xde/0x150
[ 34.440554] ? down_write_killable_nested+0x180/0x180
[ 34.441624] kernfs_destroy_root+0x89/0xb0
[ 34.442496] css_free_rwork_fn+0xa28/0xf40
[ 34.443383] process_one_work+0xa30/0x1710
[ 34.444273] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 34.445235] ? rwlock_bug.part.0+0x90/0x90
[ 34.446109] ? _raw_spin_lock_irq+0x41/0x50
[ 34.447007] worker_thread+0x62a/0x13e0
[ 34.447852] ? process_one_work+0x1710/0x1710
[ 34.448793] kthread+0x40c/0x500
[ 34.449499] ? set_kthread_struct+0x130/0x130
[ 34.450432] ret_from_fork+0x22/0x30
[ 34.451220]
[ 34.451770] ==================================================================
[ 34.453288] BUG: KASAN: use-after-free in up_write+0x3ac/0x460
[ 34.454523] Read of size 8 at addr ffff888008561140 by task kworker/1:1/31
[ 34.455986]
[ 34.456326] CPU: 1 PID: 31 Comm: kworker/1:1 Not tainted 5.16.0-rc3-next-20211203 #1
[ 34.457932] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 34.460270] Workqueue: cgroup_destroy css_free_rwork_fn
[ 34.461370] Call Trace:
[ 34.461895]
[ 34.462354] dump_stack_lvl+0x8b/0xb3
[ 34.463140] print_address_description.constprop.0+0x1f/0x180
[ 34.464387] ? up_write+0x3ac/0x460
[ 34.465150] ? up_write+0x3ac/0x460
[ 34.465909] kasan_report.cold+0x7f/0x11b
[ 34.466789] ? up_write+0x3ac/0x460
[ 34.467572] up_write+0x3ac/0x460
[ 34.468313] css_free_rwork_fn+0xa28/0xf40
[ 34.469217] process_one_work+0xa30/0x1710
[ 34.470122] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 34.471112] ? rwlock_bug.part.0+0x90/0x90
[ 34.472026] ? _raw_spin_lock_irq+0x41/0x50
[ 34.472943] worker_thread+0x62a/0x13e0
[ 34.473786] ? process_one_work+0x1710/0x1710
[ 34.474745] kthread+0x40c/0x500
[ 34.475482] ? set_kthread_struct+0x130/0x130
[ 34.476433] ret_from_fork+0x22/0x30
[ 34.477232]
[ 34.477719]
[ 34.478058] Allocated by task 280:
[ 34.478803] kasan_save_stack+0x1e/0x40
[ 34.479649] __kasan_kmalloc+0x81/0xa0
[ 34.480466] kernfs_create_root+0x4c/0x410
[ 34.481349] cgroup_setup_root+0x346/0xb60
[ 34.482233] cgroup1_get_tree+0xc1b/0x1370
[ 34.483119] vfs_get_tree+0x8e/0x2f0
[ 34.483925] path_mount+0x131b/0x1f80
[ 34.484728] __x64_sys_mount+0x27e/0x300
[ 34.485578] do_syscall_64+0x3b/0x90
[ 34.486351] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 34.487440]
[ 34.487778] Freed by task 31:
[ 34.488419] kasan_save_stack+0x1e/0x40
[ 34.489248] kasan_set_track+0x21/0x30
[ 34.490059] kasan_set_free_info+0x20/0x30
[ 34.490945] __kasan_slab_free+0x108/0x170
[ 34.491852] kfree+0xc5/0x5a0
[ 34.492500] kernfs_put.part.0+0x334/0x540
[ 34.493389] kernfs_put+0x42/0x50
[ 34.494109] __kernfs_remove+0x7ce/0xb00
[ 34.494955] kernfs_destroy_root+0x89/0xb0
[ 34.495860] css_free_rwork_fn+0xa28/0xf40
[ 34.496759] process_one_work+0xa30/0x1710
[ 34.497650] worker_thread+0x62a/0x13e0
[ 34.498481] kthread+0x40c/0x500
[ 34.499185] ret_from_fork+0x22/0x30
[ 34.499982]
[ 34.500324] The buggy address belongs to the object at ffff888008561000
[ 34.500324] which belongs to the cache kmalloc-512 of size 512
[ 34.502899] The buggy address is located 320 bytes inside of
[ 34.502899] 512-byte region [ffff888008561000, ffff888008561200)
[ 34.505335] The buggy address belongs to the page:
[ 34.506340] page:0000000040a7fef9 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8560
[ 34.508267] head:0000000040a7fef9 order:2 compound_mapcount:0 compound_pincount:0
[ 34.509832] flags: 0x100000000010200(slab|head|node=0|zone=1)
[ 34.511051] raw: 0100000000010200 ffffea0000398b00 dead000000000002 ffff888007841c80
[ 34.512673] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000
[ 34.514275] page dumped because: kasan: bad access detected
[ 34.515467]
[ 34.515804] Memory state around the buggy address:
[ 34.516809] ffff888008561000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.518312] ffff888008561080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.519841] >ffff888008561100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.521340] ^
[ 34.522458] ffff888008561180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.523981] ffff888008561200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 34.525508] ==================================================================
[ 34.552020] cgroup: Unknown subsys name 'hugetlb'
[ 34.553382] cgroup: Unknown subsys name 'rlimit'
executing program
executing program
executing program
VM DIAGNOSIS:
11:34:08 Registers:
info registers vcpu 0
RAX=ffffffff84078af0 RBX=ffffffff85032600 RCX=ffffffff8405abe1 RDX=ffffed100d9c7143
RSI=0000000000000001 RDI=ffffffff84078eaf RBP=0000000000000000 RSP=ffffffff85007e40
R8 =0000000000000000 R9 =ffff88806ce38a13 R10=ffffed100d9c7142 R11=0000000000000001
R12=fffffbfff0a064c0 R13=ffffffff858bd8d0 R14=0000000000000000 R15=dffffc0000000000
RIP=ffffffff84078afb 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=00007fe85a3966d0 CR3=0000000018522000 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
YMM00=0000000000000000 0000000000000000 34333a3131203620 206365443e30333c
YMM01=0000000000000000 0000000000000000 6d2e74656e2d7075 6f7267637a797320
YMM02=0000000000000000 0000000000000000 2079746972756365 732078756e694c45
YMM03=0000000000000000 0000000000000000 2064656c69614620 3a656d616e796278
YMM04=0000000000000000 0000000000000000 6456774875434142 334f726f59427469
YMM05=0000000000000000 0000000000000000 485320415352203a 3268737320363737
YMM06=0000000000000000 0000000000000000 206d6f726620746f 6f7220726f662079
YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM08=0000000000000000 0000000000000000 3a67756265642067 6f6c737973720000
YMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000
info registers vcpu 1
RAX=000000000000000a RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8
RSI=ffffffff823640e1 RDI=ffffffff87381a60 RBP=ffffffff87381a20 RSP=ffff88800830f648
R8 =0000000000000000 R9 =000000000000000a R10=ffffffff82365d23 R11=000000000000000a
R12=000000000000000a R13=000000000000000a R14=ffffffff87381a20 R15=dffffc0000000000
RIP=ffffffff82364138 RFL=00000002 [-------] 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 0000000000000000 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=00007fe85a39a530 CR3=000000000e948000 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
YMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM01=0000000000000000 0000000000000000 e75fd0ada68f828b 22422ee65d38e775
YMM02=0000000000000000 0000000000000000 e45775b7bd281a64 0000000000116358
YMM03=0000000000000000 0000000000000000 698e0f81b0932b79 000000000012c6f0
YMM04=0000000000000000 0000000000000000 2ebf7d2c02a4eea1 00000000000ae980
YMM05=0000000000000000 0000000000000000 9ebfcf3a7e7141ea 000000000012c7b8
YMM06=0000000000000000 0000000000000000 698e0f81b0932b79 000000000012c6f0
YMM07=0000000000000000 0000000000000000 e45775b7bd281a64 0000000000116358
YMM08=0000000000000000 0000000000000000 e2de77aa903facfa 00000000001162a8
YMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000