Warning: Permanently added '[localhost]:56571' (ECDSA) to the list of known hosts.
2021/12/06 11:27:44 fuzzer started
2021/12/06 11:27:44 dialing manager at localhost:35719
2021/12/06 11:27:44 checking machine...
2021/12/06 11:27:44 checking revisions...
syzkaller login: [ 34.558907] kmemleak: Automatic memory scanning thread ended
2021/12/06 11:27:44 testing simple program...
[ 34.603234] cgroup: Unknown subsys name 'net'
[ 34.604815] cgroup: Unknown subsys name 'net_prio'
[ 34.607920] cgroup: Unknown subsys name 'devices'
[ 34.609720] cgroup: Unknown subsys name 'blkio'
[ 34.631844]
[ 34.632238] =========================
[ 34.633025] WARNING: held lock freed!
[ 34.633819] 5.16.0-rc3-next-20211203 #1 Not tainted
[ 34.634890] -------------------------
[ 34.636003] kworker/0:3/136 is freeing memory ffff88800f7e1000-ffff88800f7e11ff, with a lock still held there!
[ 34.638255] ffff88800f7e1148 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00
[ 34.639990] 3 locks held by kworker/0:3/136:
[ 34.640803] #0: ffff8880080a6138 ((wq_completion)cgroup_destroy){+.+.}-{0:0}, at: process_one_work+0x929/0x1710
[ 34.642763] #1: ffff888018497da8 ((work_completion)(&(&css->destroy_rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x95d/0x1710
[ 34.645015] #2: ffff88800f7e1148 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00
[ 34.646816]
[ 34.646816] stack backtrace:
[ 34.647671] CPU: 0 PID: 136 Comm: kworker/0:3 Not tainted 5.16.0-rc3-next-20211203 #1
[ 34.649182] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 34.651337] Workqueue: cgroup_destroy css_free_rwork_fn
[ 34.652394] Call Trace:
[ 34.652895]
[ 34.653347] dump_stack_lvl+0x8b/0xb3
[ 34.654099] debug_check_no_locks_freed.cold+0xa5/0xb1
[ 34.655139] ? kernfs_put.part.0+0x334/0x540
[ 34.656032] kfree+0xb3/0x5a0
[ 34.656635] ? kmem_cache_free+0xce/0x640
[ 34.657413] kernfs_put.part.0+0x334/0x540
[ 34.658244] kernfs_put+0x42/0x50
[ 34.658885] __kernfs_remove+0x7ce/0xb00
[ 34.659687] ? lock_is_held_type+0xd7/0x130
[ 34.660497] ? kernfs_next_descendant_post+0x2f0/0x2f0
[ 34.661511] ? down_write+0xde/0x150
[ 34.662215] ? down_write_killable_nested+0x180/0x180
[ 34.663226] kernfs_destroy_root+0x89/0xb0
[ 34.663997] css_free_rwork_fn+0xa28/0xf40
[ 34.664805] process_one_work+0xa30/0x1710
[ 34.665626] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 34.666508] ? rwlock_bug.part.0+0x90/0x90
[ 34.667313] ? _raw_spin_lock_irq+0x41/0x50
[ 34.668154] worker_thread+0x62a/0x13e0
[ 34.668933] ? process_one_work+0x1710/0x1710
[ 34.669811] kthread+0x40c/0x500
[ 34.670463] ? set_kthread_struct+0x130/0x130
[ 34.671330] ret_from_fork+0x22/0x30
[ 34.672068]
[ 34.672588] ==================================================================
[ 34.674022] BUG: KASAN: use-after-free in up_write+0x3ac/0x460
[ 34.675161] Read of size 8 at addr ffff88800f7e1140 by task kworker/0:3/136
[ 34.676504]
[ 34.676820] CPU: 0 PID: 136 Comm: kworker/0:3 Not tainted 5.16.0-rc3-next-20211203 #1
[ 34.678354] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 34.680550] Workqueue: cgroup_destroy css_free_rwork_fn
[ 34.681611] Call Trace:
[ 34.682116]
[ 34.682544] dump_stack_lvl+0x8b/0xb3
[ 34.683278] print_address_description.constprop.0+0x1f/0x180
[ 34.684403] ? up_write+0x3ac/0x460
[ 34.685099] ? up_write+0x3ac/0x460
[ 34.685803] kasan_report.cold+0x7f/0x11b
[ 34.686615] ? up_write+0x3ac/0x460
[ 34.687322] up_write+0x3ac/0x460
[ 34.688004] css_free_rwork_fn+0xa28/0xf40
[ 34.688835] process_one_work+0xa30/0x1710
[ 34.689666] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 34.690569] ? rwlock_bug.part.0+0x90/0x90
[ 34.691400] ? _raw_spin_lock_irq+0x41/0x50
[ 34.692235] worker_thread+0x62a/0x13e0
[ 34.693021] ? process_one_work+0x1710/0x1710
[ 34.693917] kthread+0x40c/0x500
[ 34.694571] ? set_kthread_struct+0x130/0x130
[ 34.695434] ret_from_fork+0x22/0x30
[ 34.696174]
[ 34.696627]
[ 34.696939] Allocated by task 283:
[ 34.697632] kasan_save_stack+0x1e/0x40
[ 34.698401] __kasan_kmalloc+0x81/0xa0
[ 34.699153] kernfs_create_root+0x4c/0x410
[ 34.699966] cgroup_setup_root+0x346/0xb60
[ 34.700777] cgroup1_get_tree+0xc1b/0x1370
[ 34.701616] vfs_get_tree+0x8e/0x2f0
[ 34.702345] path_mount+0x131b/0x1f80
[ 34.703077] __x64_sys_mount+0x27e/0x300
[ 34.703865] do_syscall_64+0x3b/0x90
[ 34.704580] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 34.705599]
[ 34.705927] Freed by task 136:
[ 34.706534] kasan_save_stack+0x1e/0x40
[ 34.707311] kasan_set_track+0x21/0x30
[ 34.708070] kasan_set_free_info+0x20/0x30
[ 34.708883] __kasan_slab_free+0x108/0x170
[ 34.709715] kfree+0xc5/0x5a0
[ 34.710324] kernfs_put.part.0+0x334/0x540
[ 34.711140] kernfs_put+0x42/0x50
[ 34.711802] __kernfs_remove+0x7ce/0xb00
[ 34.712577] kernfs_destroy_root+0x89/0xb0
[ 34.713418] css_free_rwork_fn+0xa28/0xf40
[ 34.714231] process_one_work+0xa30/0x1710
[ 34.715058] worker_thread+0x62a/0x13e0
[ 34.715820] kthread+0x40c/0x500
[ 34.716466] ret_from_fork+0x22/0x30
[ 34.717179]
[ 34.717498] The buggy address belongs to the object at ffff88800f7e1000
[ 34.717498] which belongs to the cache kmalloc-512 of size 512
[ 34.719871] The buggy address is located 320 bytes inside of
[ 34.719871] 512-byte region [ffff88800f7e1000, ffff88800f7e1200)
[ 34.722112] The buggy address belongs to the page:
[ 34.723038] page:00000000e606c3c4 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xf7e0
[ 34.724796] head:00000000e606c3c4 order:2 compound_mapcount:0 compound_pincount:0
[ 34.726257] flags: 0x100000000010200(slab|head|node=0|zone=1)
[ 34.727406] raw: 0100000000010200 ffffea000038ef00 dead000000000002 ffff888007841c80
[ 34.728858] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000
[ 34.730342] page dumped because: kasan: bad access detected
[ 34.731412]
[ 34.731715] Memory state around the buggy address:
[ 34.732626] ffff88800f7e1000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.734007] ffff88800f7e1080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.735411] >ffff88800f7e1100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.736795] ^
[ 34.737843] ffff88800f7e1180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 34.739211] ffff88800f7e1200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 34.740580] ==================================================================
[ 34.786178] cgroup: Unknown subsys name 'hugetlb'
[ 34.787539] cgroup: Unknown subsys name 'rlimit'
executing program
executing program
executing program
VM DIAGNOSIS:
11:27:45 Registers:
info registers vcpu 0
RAX=000000000000002d RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8
RSI=ffffffff823640e1 RDI=ffffffff87381a60 RBP=ffffffff87381a20 RSP=ffff888018497648
R8 =0000000000000000 R9 =000000000000002d R10=ffffffff82365d23 R11=000000000000000a
R12=000000000000002d R13=000000000000002d 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=00007fff88ecd000 CR3=000000000f868000 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 3f735b8565d92769
YMM04=0000000000000000 0000000000000000 00007fe5d8b75000 0000000000415710
YMM05=0000000000000000 0000000000000000 000000c0000ae7b0 000000c0005700d0
YMM06=0000000000000000 0000000000000000 0000000000505007 000000c000097fc0
YMM07=0000000000000000 0000000000000000 000000c0000ae7d0 000000c0000ae7c8
YMM08=0000000000000000 0000000000000000 000000c00008c680 000000c0000ae7d8
YMM09=0000000000000000 0000000000000000 00000000004643c1 0000000000000000
YMM10=0000000000000000 0000000000000000 000000c00046a1a0 000000c000158840
YMM11=0000000000000000 0000000000000000 000000c0000ae810 000000c00008ca20
YMM12=0000000000000000 0000000000000000 000000c0000ae820 000000c0000ae818
YMM13=0000000000000000 0000000000000000 000000c0002966f0 000000c000088050
YMM14=0000000000000000 0000000000000000 000000c000296ba0 000000c00008e150
YMM15=0000000000000000 0000000000000000 000000c0000b0900 000000c000296bd0
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=00005582e90a7bd6 CR3=000000000f868000 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 3fe2f3f4a51aef23
YMM02=0000000000000000 0000000000000000 0000000000000000 412bda1000000000
YMM03=0000000000000000 0000000000000000 0000ff0000000000 0000000000000000
YMM04=0000000000000000 0000000000000000 732f6c61636f6c2f 7273752f3d485441
YMM05=0000000000000000 0000000000000000 622f6c61636f6c2f 7273752f3a6e6962
YMM06=0000000000000000 0000000000000000 73752f3a6e696273 2f7273752f3a6e69
YMM07=0000000000000000 0000000000000000 6e69622f3a6e6962 732f3a6e69622f72
YMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000
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