Warning: Permanently added '[localhost]:4212' (ECDSA) to the list of known hosts. 2021/12/06 11:30:49 fuzzer started 2021/12/06 11:30:49 dialing manager at localhost:35719 2021/12/06 11:30:49 checking machine... 2021/12/06 11:30:49 checking revisions... syzkaller login: [ 34.923846] kmemleak: Automatic memory scanning thread ended 2021/12/06 11:30:49 testing simple program... [ 34.966460] cgroup: Unknown subsys name 'net' [ 34.968191] cgroup: Unknown subsys name 'net_prio' [ 34.969801] cgroup: Unknown subsys name 'devices' [ 34.971189] cgroup: Unknown subsys name 'blkio' [ 34.994596] [ 34.994990] ========================= [ 34.995743] WARNING: held lock freed! [ 34.996514] 5.16.0-rc3-next-20211203 #1 Not tainted [ 34.997653] ------------------------- [ 34.998830] kworker/1:1/31 is freeing memory ffff88800de4ac00-ffff88800de4adff, with a lock still held there! [ 35.001246] ffff88800de4ad48 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00 [ 35.003063] 3 locks held by kworker/1:1/31: [ 35.003945] #0: ffff8880080a6138 ((wq_completion)cgroup_destroy){+.+.}-{0:0}, at: process_one_work+0x929/0x1710 [ 35.006058] #1: ffff88800830fda8 ((work_completion)(&(&css->destroy_rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x95d/0x1710 [ 35.008482] #2: ffff88800de4ad48 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00 [ 35.010370] [ 35.010370] stack backtrace: [ 35.011262] CPU: 1 PID: 31 Comm: kworker/1:1 Not tainted 5.16.0-rc3-next-20211203 #1 [ 35.012833] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 35.015109] Workqueue: cgroup_destroy css_free_rwork_fn [ 35.016196] Call Trace: [ 35.016711] [ 35.017159] dump_stack_lvl+0x8b/0xb3 [ 35.017931] debug_check_no_locks_freed.cold+0xa5/0xb1 [ 35.018993] ? kernfs_put.part.0+0x334/0x540 [ 35.019888] kfree+0xb3/0x5a0 [ 35.020519] ? kmem_cache_free+0xce/0x640 [ 35.021358] kernfs_put.part.0+0x334/0x540 [ 35.022406] kernfs_put+0x42/0x50 [ 35.023118] __kernfs_remove+0x7ce/0xb00 [ 35.023969] ? lock_is_held_type+0xd7/0x130 [ 35.024846] ? kernfs_next_descendant_post+0x2f0/0x2f0 [ 35.025908] ? down_write+0xde/0x150 [ 35.026660] ? down_write_killable_nested+0x180/0x180 [ 35.027708] kernfs_destroy_root+0x89/0xb0 [ 35.028582] css_free_rwork_fn+0xa28/0xf40 [ 35.029449] process_one_work+0xa30/0x1710 [ 35.030316] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 35.031266] ? rwlock_bug.part.0+0x90/0x90 [ 35.032128] ? _raw_spin_lock_irq+0x41/0x50 [ 35.033008] worker_thread+0x62a/0x13e0 [ 35.033823] ? process_one_work+0x1710/0x1710 [ 35.034736] kthread+0x40c/0x500 [ 35.035423] ? set_kthread_struct+0x130/0x130 [ 35.036368] ret_from_fork+0x22/0x30 [ 35.037135] [ 35.037702] ================================================================== [ 35.039169] BUG: KASAN: use-after-free in up_write+0x3ac/0x460 [ 35.040379] Read of size 8 at addr ffff88800de4ad40 by task kworker/1:1/31 [ 35.041782] [ 35.042112] CPU: 1 PID: 31 Comm: kworker/1:1 Not tainted 5.16.0-rc3-next-20211203 #1 [ 35.043686] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 35.046075] Workqueue: cgroup_destroy css_free_rwork_fn [ 35.047161] Call Trace: [ 35.047680] [ 35.048140] dump_stack_lvl+0x8b/0xb3 [ 35.049052] print_address_description.constprop.0+0x1f/0x180 [ 35.050271] ? up_write+0x3ac/0x460 [ 35.051024] ? up_write+0x3ac/0x460 [ 35.051778] kasan_report.cold+0x7f/0x11b [ 35.052665] ? up_write+0x3ac/0x460 [ 35.053421] up_write+0x3ac/0x460 [ 35.054144] css_free_rwork_fn+0xa28/0xf40 [ 35.055032] process_one_work+0xa30/0x1710 [ 35.055928] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 35.056900] ? rwlock_bug.part.0+0x90/0x90 [ 35.057783] ? _raw_spin_lock_irq+0x41/0x50 [ 35.058685] worker_thread+0x62a/0x13e0 [ 35.059519] ? process_one_work+0x1710/0x1710 [ 35.060478] kthread+0x40c/0x500 [ 35.061184] ? set_kthread_struct+0x130/0x130 [ 35.062186] ret_from_fork+0x22/0x30 [ 35.062999] [ 35.063479] [ 35.063845] Allocated by task 282: [ 35.064614] kasan_save_stack+0x1e/0x40 [ 35.065563] __kasan_kmalloc+0x81/0xa0 [ 35.066649] kernfs_create_root+0x4c/0x410 [ 35.067856] cgroup_setup_root+0x346/0xb60 [ 35.069049] cgroup1_get_tree+0xc1b/0x1370 [ 35.070159] vfs_get_tree+0x8e/0x2f0 [ 35.070939] path_mount+0x131b/0x1f80 [ 35.071733] __x64_sys_mount+0x27e/0x300 [ 35.072605] do_syscall_64+0x3b/0x90 [ 35.073379] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 35.074450] [ 35.074787] Freed by task 31: [ 35.075426] kasan_save_stack+0x1e/0x40 [ 35.076282] kasan_set_track+0x21/0x30 [ 35.077089] kasan_set_free_info+0x20/0x30 [ 35.077968] __kasan_slab_free+0x108/0x170 [ 35.078844] kfree+0xc5/0x5a0 [ 35.079484] kernfs_put.part.0+0x334/0x540 [ 35.080348] kernfs_put+0x42/0x50 [ 35.081065] __kernfs_remove+0x7ce/0xb00 [ 35.081906] kernfs_destroy_root+0x89/0xb0 [ 35.082782] css_free_rwork_fn+0xa28/0xf40 [ 35.083663] process_one_work+0xa30/0x1710 [ 35.084563] worker_thread+0x62a/0x13e0 [ 35.085389] kthread+0x40c/0x500 [ 35.086092] ret_from_fork+0x22/0x30 [ 35.086862] [ 35.087198] The buggy address belongs to the object at ffff88800de4ac00 [ 35.087198] which belongs to the cache kmalloc-512 of size 512 [ 35.089785] The buggy address is located 320 bytes inside of [ 35.089785] 512-byte region [ffff88800de4ac00, ffff88800de4ae00) [ 35.092267] The buggy address belongs to the page: [ 35.093271] page:00000000c4bb51ac refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xde48 [ 35.095184] head:00000000c4bb51ac order:2 compound_mapcount:0 compound_pincount:0 [ 35.096749] flags: 0x100000000010200(slab|head|node=0|zone=1) [ 35.097968] raw: 0100000000010200 ffffea00003d6f00 dead000000000002 ffff888007841c80 [ 35.099576] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 35.101184] page dumped because: kasan: bad access detected [ 35.102342] [ 35.102678] Memory state around the buggy address: [ 35.103676] ffff88800de4ac00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.105183] ffff88800de4ac80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.106669] >ffff88800de4ad00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.108253] ^ [ 35.109362] ffff88800de4ad80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.110852] ffff88800de4ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.112367] ================================================================== [ 35.166148] cgroup: Unknown subsys name 'hugetlb' [ 35.168359] cgroup: Unknown subsys name 'rlimit' executing program executing program executing program VM DIAGNOSIS: 11:30:49 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=00007f5ffae54008 CR3=000000000fba8000 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 0000000000000000 0000000000000000 YMM01=0000000000000000 0000000000000000 7465677261742e79 636e656772656d65 YMM02=0000000000000000 0000000000000000 ffffffffffffffff 0f0e0d0c0b0a0908 YMM03=0000000000000000 0000000000000000 0000000000000073 66626c7465677568 YMM04=0000000000000000 0000000000000000 2e2e2e2e2e2e2e2e 2e2e2e2e2e2e2e2e YMM05=0000000000000000 0000000000000000 69642f7665642f20 31303030304d515f YMM06=0000000000000000 0000000000000000 0000000000000021 0000000000000000 YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM08=0000000000000000 0000000000000000 6564636261393837 3635343332313040 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=0000000000000000 RBX=00000000000003f9 RCX=0000000000000000 RDX=00000000000003f9 RSI=ffffffff823640e1 RDI=ffffffff87381a60 RBP=ffffffff87381a20 RSP=ffff88800830f688 R8 =0000000000000000 R9 =ffff88800830f61b R10=ffffffff82372fe3 R11=0000000000000001 R12=0000000000000000 R13=0000000000000001 R14=ffffffff87381a78 R15=ffffffff87381a70 RIP=ffffffff82364138 RFL=00000006 [-----P-] 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=00007ffdadff3fa8 CR3=000000001b64a000 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 3f73a89456106194 YMM04=0000000000000000 0000000000000000 6332313439623231 6135333737626566 YMM05=0000000000000000 0000000000000000 6135373732623864 6220623534303537 YMM06=0000000000000000 0000000000000000 3736353531366532 3039393536333966 YMM07=0000000000000000 0000000000000000 0a32393233623436 3862386234363430 YMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM09=0000000000000000 0000000000000000 00000000004643c1 0000000000000000 YMM10=0000000000000000 0000000000000000 000000c00009ce80 000000c000156b00 YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 YMM13=0000000000000000 0000000000000000 000000c0000841f0 000000c0000841e0 YMM14=0000000000000000 0000000000000000 000000c0000841b0 000000c0000841c0 YMM15=0000000000000000 0000000000000000 000000c0004d0000 000000c0000844a0