Warning: Permanently added '[localhost]:51434' (ECDSA) to the list of known hosts.
2021/12/06 11:39:53 fuzzer started
2021/12/06 11:39:53 dialing manager at localhost:35719
2021/12/06 11:39:53 checking machine...
2021/12/06 11:39:53 checking revisions...
syzkaller login: [ 32.956301] kmemleak: Automatic memory scanning thread ended
2021/12/06 11:39:53 testing simple program...
[ 32.993705] cgroup: Unknown subsys name 'net'
[ 32.995351] cgroup: Unknown subsys name 'net_prio'
[ 32.998278] cgroup: Unknown subsys name 'devices'
[ 33.000394] cgroup: Unknown subsys name 'blkio'
[ 33.033819]
[ 33.034221] =========================
[ 33.035036] WARNING: held lock freed!
[ 33.035834] 5.16.0-rc3-next-20211203 #1 Not tainted
[ 33.037226] -------------------------
[ 33.038932] kworker/0:1/10 is freeing memory ffff88800cb24c00-ffff88800cb24dff, with a lock still held there!
[ 33.041376] ffff88800cb24d48 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00
[ 33.043258] 3 locks held by kworker/0:1/10:
[ 33.044136] #0: ffff8880080a6138 ((wq_completion)cgroup_destroy){+.+.}-{0:0}, at: process_one_work+0x929/0x1710
[ 33.046290] #1: ffff888008197da8 ((work_completion)(&(&css->destroy_rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x95d/0x1710
[ 33.048724] #2: ffff88800cb24d48 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00
[ 33.050648]
[ 33.050648] stack backtrace:
[ 33.051562] CPU: 0 PID: 10 Comm: kworker/0:1 Not tainted 5.16.0-rc3-next-20211203 #1
[ 33.053182] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 33.055557] Workqueue: cgroup_destroy css_free_rwork_fn
[ 33.056671] Call Trace:
[ 33.057202]
[ 33.057673] dump_stack_lvl+0x8b/0xb3
[ 33.058464] debug_check_no_locks_freed.cold+0xa5/0xb1
[ 33.059558] ? kernfs_put.part.0+0x334/0x540
[ 33.060490] kfree+0xb3/0x5a0
[ 33.061143] ? kmem_cache_free+0xce/0x640
[ 33.062028] kernfs_put.part.0+0x334/0x540
[ 33.062928] kernfs_put+0x42/0x50
[ 33.063655] __kernfs_remove+0x7ce/0xb00
[ 33.064502] ? lock_is_held_type+0xd7/0x130
[ 33.065401] ? kernfs_next_descendant_post+0x2f0/0x2f0
[ 33.066532] ? down_write+0xde/0x150
[ 33.067323] ? down_write_killable_nested+0x180/0x180
[ 33.068396] kernfs_destroy_root+0x89/0xb0
[ 33.069266] css_free_rwork_fn+0xa28/0xf40
[ 33.070166] process_one_work+0xa30/0x1710
[ 33.071042] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 33.072001] ? rwlock_bug.part.0+0x90/0x90
[ 33.072871] ? _raw_spin_lock_irq+0x41/0x50
[ 33.073770] worker_thread+0x62a/0x13e0
[ 33.074595] ? process_one_work+0x1710/0x1710
[ 33.075525] kthread+0x40c/0x500
[ 33.076233] ? set_kthread_struct+0x130/0x130
[ 33.077171] ret_from_fork+0x22/0x30
[ 33.077967]
[ 33.078546] ==================================================================
[ 33.080044] BUG: KASAN: use-after-free in up_write+0x3ac/0x460
[ 33.081270] Read of size 8 at addr ffff88800cb24d40 by task kworker/0:1/10
[ 33.082725]
[ 33.083063] CPU: 0 PID: 10 Comm: kworker/0:1 Not tainted 5.16.0-rc3-next-20211203 #1
[ 33.084669] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 33.087011] Workqueue: cgroup_destroy css_free_rwork_fn
[ 33.088114] Call Trace:
[ 33.088638]
[ 33.089094] dump_stack_lvl+0x8b/0xb3
[ 33.089919] print_address_description.constprop.0+0x1f/0x180
[ 33.091127] ? up_write+0x3ac/0x460
[ 33.091873] ? up_write+0x3ac/0x460
[ 33.092631] kasan_report.cold+0x7f/0x11b
[ 33.093514] ? up_write+0x3ac/0x460
[ 33.094270] up_write+0x3ac/0x460
[ 33.094995] css_free_rwork_fn+0xa28/0xf40
[ 33.095882] process_one_work+0xa30/0x1710
[ 33.096767] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 33.097749] ? rwlock_bug.part.0+0x90/0x90
[ 33.098627] ? _raw_spin_lock_irq+0x41/0x50
[ 33.099526] worker_thread+0x62a/0x13e0
[ 33.100365] ? process_one_work+0x1710/0x1710
[ 33.101302] kthread+0x40c/0x500
[ 33.102012] ? set_kthread_struct+0x130/0x130
[ 33.102950] ret_from_fork+0x22/0x30
[ 33.103730]
[ 33.104210]
[ 33.104546] Allocated by task 283:
[ 33.105272] kasan_save_stack+0x1e/0x40
[ 33.106118] __kasan_kmalloc+0x81/0xa0
[ 33.106927] kernfs_create_root+0x4c/0x410
[ 33.107803] cgroup_setup_root+0x346/0xb60
[ 33.108696] cgroup1_get_tree+0xc1b/0x1370
[ 33.109588] vfs_get_tree+0x8e/0x2f0
[ 33.110365] path_mount+0x131b/0x1f80
[ 33.111158] __x64_sys_mount+0x27e/0x300
[ 33.111997] do_syscall_64+0x3b/0x90
[ 33.112770] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 33.113861]
[ 33.114191] Freed by task 10:
[ 33.114829] kasan_save_stack+0x1e/0x40
[ 33.115657] kasan_set_track+0x21/0x30
[ 33.116460] kasan_set_free_info+0x20/0x30
[ 33.117350] __kasan_slab_free+0x108/0x170
[ 33.118239] kfree+0xc5/0x5a0
[ 33.118888] kernfs_put.part.0+0x334/0x540
[ 33.119768] kernfs_put+0x42/0x50
[ 33.120484] __kernfs_remove+0x7ce/0xb00
[ 33.121326] kernfs_destroy_root+0x89/0xb0
[ 33.122220] css_free_rwork_fn+0xa28/0xf40
[ 33.123097] process_one_work+0xa30/0x1710
[ 33.123973] worker_thread+0x62a/0x13e0
[ 33.124803] kthread+0x40c/0x500
[ 33.125517] ret_from_fork+0x22/0x30
[ 33.126288]
[ 33.126619] The buggy address belongs to the object at ffff88800cb24c00
[ 33.126619] which belongs to the cache kmalloc-512 of size 512
[ 33.129165] The buggy address is located 320 bytes inside of
[ 33.129165] 512-byte region [ffff88800cb24c00, ffff88800cb24e00)
[ 33.131608] The buggy address belongs to the page:
[ 33.132622] page:000000009a868e4b refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xcb24
[ 33.134549] head:000000009a868e4b order:2 compound_mapcount:0 compound_pincount:0
[ 33.136113] flags: 0x100000000010200(slab|head|node=0|zone=1)
[ 33.137336] raw: 0100000000010200 dead000000000100 dead000000000122 ffff888007841c80
[ 33.138974] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000
[ 33.140579] page dumped because: kasan: bad access detected
[ 33.141749]
[ 33.142084] Memory state around the buggy address:
[ 33.143086] ffff88800cb24c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 33.144582] ffff88800cb24c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 33.146088] >ffff88800cb24d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 33.147580] ^
[ 33.148691] ffff88800cb24d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 33.150203] ffff88800cb24e00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 33.151701] ==================================================================
[ 33.200841] cgroup: Unknown subsys name 'hugetlb'
[ 33.202074] cgroup: Unknown subsys name 'rlimit'
executing program
executing program
executing program
VM DIAGNOSIS:
11:39:54 Registers:
info registers vcpu 0
RAX=0000000000000033 RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8
RSI=ffffffff823640e1 RDI=ffffffff87381a60 RBP=ffffffff87381a20 RSP=ffff888008197648
R8 =0000000000000000 R9 =0000000000000033 R10=ffffffff82365d23 R11=000000000000000a
R12=0000000000000033 R13=0000000000000033 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=00007f5726872e10 CR3=000000000cbac000 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 0000000000000000 3f847ae147ae147b
YMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM03=0000000000000000 0000000000000000 0000000000000000 3f73ff356be127e4
YMM04=0000000000000000 0000000000000000 00007ff5d2b5d500 0000000000415710
YMM05=0000000000000000 0000000000000000 0000000000000000 000000c0001fa978
YMM06=0000000000000000 0000000000000000 0000000000505007 000000c000028fc0
YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM09=0000000000000000 0000000000000000 00000000004643c1 0000000000000000
YMM10=0000000000000000 0000000000000000 000000c00009c380 000000c0001b02c0
YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM13=0000000000000000 0000000000000000 7246656361526174 61440e010096ff01
YMM14=0000000000000000 0000000000000000 467265766f431101 0096ff0173656d61
YMM15=0000000000000000 0000000000000000 0000000a0170616d 7469427265746c69
info registers vcpu 1
RAX=ffffffff84078af0 RBX=ffff8880081a9ac0 RCX=ffffffff8405abe1 RDX=ffffed100d9e7143
RSI=0000000000000001 RDI=ffffffff84078eaf RBP=0000000000000001 RSP=ffff888008207e78
R8 =0000000000000000 R9 =ffff88806cf38a13 R10=ffffed100d9e7142 R11=0000000000000001
R12=ffffed1001035358 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 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=00007ffc71df0000 CR3=000000000cbac000 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=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 0000000000000000 3f847ae147ae147b
YMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM03=0000000000000000 0000000000000000 0000000000000000 3f727849bcee1af6
YMM04=0000000000000000 0000000000000000 00007ff5d2b78f00 0000000000415710
YMM05=0000000000000000 0000000000000000 0000000000b12758 000000c0000c0410
YMM06=0000000000000000 0000000000000000 0000000000505007 000000c0000297c0
YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM08=0000000000000000 0000000000000000 00000000004643c6 0000000000000000
YMM09=0000000000000000 0000000000000000 00000000004643c1 0000000000000000
YMM10=0000000000000000 0000000000000000 000000c00009d760 000000c000156c60
YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM13=0000000000000000 0000000000000000 000000c0000875f0 000000c000146c90
YMM14=0000000000000000 0000000000000000 000000c000146cf0 000000c000146cc0
YMM15=0000000000000000 0000000000000000 000000c000146d50 000000c000146d20