Warning: Permanently added '[localhost]:13343' (ECDSA) to the list of known hosts.
2021/12/06 11:26:44 fuzzer started
2021/12/06 11:26:45 dialing manager at localhost:35719
2021/12/06 11:26:45 checking machine...
2021/12/06 11:26:45 checking revisions...
syzkaller login: [ 34.608268] kmemleak: Automatic memory scanning thread ended
2021/12/06 11:26:45 testing simple program...
[ 34.636813] cgroup: Unknown subsys name 'net'
[ 34.638556] cgroup: Unknown subsys name 'net_prio'
[ 34.639740] cgroup: Unknown subsys name 'devices'
[ 34.640931] cgroup: Unknown subsys name 'blkio'
[ 34.655195]
[ 34.655468] =========================
[ 34.656015] WARNING: held lock freed!
[ 34.656547] 5.16.0-rc3-next-20211203 #1 Not tainted
[ 34.657311] -------------------------
[ 34.657987] kworker/0:2/48 is freeing memory ffff88800e5a4000-ffff88800e5a41ff, with a lock still held there!
[ 34.660128] ffff88800e5a4148 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00
[ 34.661409] 3 locks held by kworker/0:2/48:
[ 34.662008] #0: ffff8880080a6138 ((wq_completion)cgroup_destroy){+.+.}-{0:0}, at: process_one_work+0x929/0x1710
[ 34.663458] #1: ffff888009c9fda8 ((work_completion)(&(&css->destroy_rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x95d/0x1710
[ 34.665109] #2: ffff88800e5a4148 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00
[ 34.666418]
[ 34.666418] stack backtrace:
[ 34.667044] CPU: 0 PID: 48 Comm: kworker/0:2 Not tainted 5.16.0-rc3-next-20211203 #1
[ 34.668126] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 34.669731] Workqueue: cgroup_destroy css_free_rwork_fn
[ 34.670486] Call Trace:
[ 34.670846]
[ 34.671162] dump_stack_lvl+0x8b/0xb3
[ 34.671697] debug_check_no_locks_freed.cold+0xa5/0xb1
[ 34.672447] ? kernfs_put.part.0+0x334/0x540
[ 34.673067] kfree+0xb3/0x5a0
[ 34.673605] ? kmem_cache_free+0xce/0x640
[ 34.674351] kernfs_put.part.0+0x334/0x540
[ 34.675094] kernfs_put+0x42/0x50
[ 34.675588] __kernfs_remove+0x7ce/0xb00
[ 34.676108] ? lock_is_held_type+0xd7/0x130
[ 34.676671] ? kernfs_next_descendant_post+0x2f0/0x2f0
[ 34.677345] ? down_write+0xde/0x150
[ 34.677833] ? down_write_killable_nested+0x180/0x180
[ 34.678499] kernfs_destroy_root+0x89/0xb0
[ 34.679037] css_free_rwork_fn+0xa28/0xf40
[ 34.679577] process_one_work+0xa30/0x1710
[ 34.680119] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 34.680718] ? rwlock_bug.part.0+0x90/0x90
[ 34.681267] ? _raw_spin_lock_irq+0x41/0x50
[ 34.681835] worker_thread+0x62a/0x13e0
[ 34.682346] ? process_one_work+0x1710/0x1710
[ 34.682924] kthread+0x40c/0x500
[ 34.683379] ? set_kthread_struct+0x130/0x130
[ 34.683962] ret_from_fork+0x22/0x30
[ 34.684450]
[ 34.684817] ==================================================================
[ 34.685783] BUG: KASAN: use-after-free in up_write+0x3ac/0x460
[ 34.686545] Read of size 8 at addr ffff88800e5a4140 by task kworker/0:2/48
[ 34.687441]
[ 34.687653] CPU: 0 PID: 48 Comm: kworker/0:2 Not tainted 5.16.0-rc3-next-20211203 #1
[ 34.688662] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 34.690133] Workqueue: cgroup_destroy css_free_rwork_fn
[ 34.690846] Call Trace:
[ 34.691183]
[ 34.691468] dump_stack_lvl+0x8b/0xb3
[ 34.691971] print_address_description.constprop.0+0x1f/0x180
[ 34.692735] ? up_write+0x3ac/0x460
[ 34.693215] ? up_write+0x3ac/0x460
[ 34.693732] kasan_report.cold+0x7f/0x11b
[ 34.694305] ? up_write+0x3ac/0x460
[ 34.694807] up_write+0x3ac/0x460
[ 34.695285] css_free_rwork_fn+0xa28/0xf40
[ 34.695874] process_one_work+0xa30/0x1710
[ 34.696470] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 34.697111] ? rwlock_bug.part.0+0x90/0x90
[ 34.697699] ? _raw_spin_lock_irq+0x41/0x50
[ 34.698297] worker_thread+0x62a/0x13e0
[ 34.698849] ? process_one_work+0x1710/0x1710
[ 34.699466] kthread+0x40c/0x500
[ 34.699930] ? set_kthread_struct+0x130/0x130
[ 34.700546] ret_from_fork+0x22/0x30
[ 34.701059]
[ 34.701385]
[ 34.701611] Allocated by task 282:
[ 34.702089] kasan_save_stack+0x1e/0x40
[ 34.702637] __kasan_kmalloc+0x81/0xa0
[ 34.703173] kernfs_create_root+0x4c/0x410
[ 34.703756] cgroup_setup_root+0x346/0xb60
[ 34.704346] cgroup1_get_tree+0xc1b/0x1370
[ 34.704924] vfs_get_tree+0x8e/0x2f0
[ 34.705458] path_mount+0x131b/0x1f80
[ 34.705982] __x64_sys_mount+0x27e/0x300
[ 34.706539] do_syscall_64+0x3b/0x90
[ 34.707043] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 34.707747]
[ 34.707967] Freed by task 48:
[ 34.708386] kasan_save_stack+0x1e/0x40
[ 34.708929] kasan_set_track+0x21/0x30
[ 34.709446] kasan_set_free_info+0x20/0x30
[ 34.709961] __kasan_slab_free+0x108/0x170
[ 34.710470] kfree+0xc5/0x5a0
[ 34.710845] kernfs_put.part.0+0x334/0x540
[ 34.711368] kernfs_put+0x42/0x50
[ 34.711795] __kernfs_remove+0x7ce/0xb00
[ 34.712288] kernfs_destroy_root+0x89/0xb0
[ 34.712798] css_free_rwork_fn+0xa28/0xf40
[ 34.713330] process_one_work+0xa30/0x1710
[ 34.713848] worker_thread+0x62a/0x13e0
[ 34.714341] kthread+0x40c/0x500
[ 34.714756] ret_from_fork+0x22/0x30
[ 34.715214]
[ 34.715410] The buggy address belongs to the object at ffff88800e5a4000
[ 34.715410] which belongs to the cache kmalloc-512 of size 512
[ 34.716959] The buggy address is located 320 bytes inside of
[ 34.716959] 512-byte region [ffff88800e5a4000, ffff88800e5a4200)
[ 34.718454] The buggy address belongs to the page:
[ 34.719071] page:00000000f4817fb6 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xe5a4
[ 34.720247] head:00000000f4817fb6 order:2 compound_mapcount:0 compound_pincount:0
[ 34.721210] flags: 0x100000000010200(slab|head|node=0|zone=1)
[ 34.721964] raw: 0100000000010200 ffffea0000267600 dead000000000002 ffff888007841c80
[ 34.722959] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000
[ 34.723938] page dumped because: kasan: bad access detected
[ 34.724658]
[ 34.724874] Memory state around the buggy address:
[ 34.725521] ffff88800e5a4000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.726476] ffff88800e5a4080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.727411] >ffff88800e5a4100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.728330] ^
[ 34.729019] ffff88800e5a4180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.729977] ffff88800e5a4200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 34.730917] ==================================================================
[ 34.769560] cgroup: Unknown subsys name 'hugetlb'
[ 34.771131] cgroup: Unknown subsys name 'rlimit'
executing program
executing program
executing program
VM DIAGNOSIS:
11:26:45 Registers:
info registers vcpu 0
RAX=000000000000006b RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8
RSI=ffffffff823640e1 RDI=ffffffff87381a60 RBP=ffffffff87381a20 RSP=ffff888009c9f648
R8 =0000000000000000 R9 =000000000000006b R10=ffffffff82365d23 R11=000000000000000a
R12=000000000000006b R13=000000000000006b 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 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=00007ffc8cd41bf8 CR3=000000001d1f4000 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=00001fa0
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 692b202c6c6f7274 6e6f635f65657274
YMM02=0000000000000000 0000000000000000 202c6c6f72746e6f 635f656572746275
YMM03=0000000000000000 0000000000000000 0a3232203a64656c 69616620296f692b
YMM04=0000000000000000 0000000000000000 00007f33576db400 0000000000415710
YMM05=0000000000000000 0000000000000000 0000000000b12758 000000c0000ae4e0
YMM06=0000000000000000 0000000000000000 0000000000505007 000000c0003997c0
YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM08=0000000000000000 0000000000000000 00000000004643c6 0000000000000000
YMM09=0000000000000000 0000000000000000 00000000004643c1 0000000000000000
YMM10=0000000000000000 0000000000000000 000000c000084d40 000000c000158840
YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM13=0000000000000000 0000000000000000 29286e69616d2074 6e690a64656c6c61
YMM14=0000000000000000 0000000000000000 6f6c6c6548222866 746e697270207b20
YMM15=0000000000000000 0000000000000000 0a7d203b29226e5c 21646c726f57202c
info registers vcpu 1
RAX=0000000000000053 RBX=0000000000000000 RCX=00000000077faa7c RDX=0000000000000380
RSI=0000000000000053 RDI=00007fb6077faa7c RBP=0000562de6a015b0 RSP=00007ffebac4f6a8
R8 =00007fb607897040 R9 =0000562de6997430 R10=a168f22a4c41271b R11=0000562de6997430
R12=0000562de6a04708 R13=00007fb6077faa7c R14=000000000000005a R15=0000562de6a046e0
RIP=00007fb60747d4e0 RFL=00000212 [----A--] CPL=3 II=0 A20=1 SMM=0 HLT=0
ES =0000 0000000000000000 00000000 00000000
CS =0033 0000000000000000 ffffffff 00a0fb00 DPL=3 CS64 [-RA]
SS =002b 0000000000000000 ffffffff 00c0f300 DPL=3 DS [-WA]
DS =0000 0000000000000000 00000000 00000000
FS =0000 00007fb606c3f900 00000000 00000000
GS =0000 0000000000000000 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=00007fcbfbbd5e00 CR3=000000000fa3e000 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=5353535353535353 5353535353535353 5353535353535353 5353535353535353
YMM01=0000000000000000 0000000000000000 ffffffffffffff00 ffff000000000000
YMM02=0000000000000000 0000000000000000 6434613739663335 3937322d35333038
YMM03=0000000000000000 0000000000000000 0038643461373966 33353937322d3533
YMM04=0000000000000000 0000000000000000 702f687461702d79 622f6b7369643a53
YMM05=0000000000000000 0000000000000000 2d79622f6b736964 3a530a312d617461
YMM06=0000000000000000 0000000000000000 3937322d35333038 2d636539342d3131
YMM07=0000000000000000 0000000000000000 3030302d6963702f 687461702d79622f
YMM08=0000000000000000 0000000000000000 7368746150796c6e 4f64616552646e69
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