Debian GNU/Linux 11 syzkaller ttyS0
Warning: Permanently added '[localhost]:53635' (ECDSA) to the list of known hosts.
2021/12/06 11:21:56 fuzzer started
2021/12/06 11:21:57 dialing manager at localhost:35719
2021/12/06 11:21:57 checking machine...
2021/12/06 11:21:57 checking revisions...
syzkaller login: [ 37.308562] kmemleak: Automatic memory scanning thread ended
2021/12/06 11:21:57 testing simple program...
[ 37.352522] cgroup: Unknown subsys name 'net'
[ 37.353974] cgroup: Unknown subsys name 'net_prio'
[ 37.354972] cgroup: Unknown subsys name 'devices'
[ 37.356935] cgroup: Unknown subsys name 'blkio'
[ 37.416300]
[ 37.416817] =========================
[ 37.417359] WARNING: held lock freed!
[ 37.418804] 5.16.0-rc3-next-20211203 #1 Not tainted
[ 37.419507] -------------------------
[ 37.420057] kworker/0:1/10 is freeing memory ffff88800d7c0800-ffff88800d7c09ff, with a lock still held there!
[ 37.421445] ffff88800d7c0948 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00
[ 37.422754] 3 locks held by kworker/0:1/10:
[ 37.423858] #0: ffff8880080a6138 ((wq_completion)cgroup_destroy){+.+.}-{0:0}, at: process_one_work+0x929/0x1710
[ 37.446798] #1: ffff888008197da8 ((work_completion)(&(&css->destroy_rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x95d/0x1710
[ 37.448312] #2: ffff88800d7c0948 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x627/0xb00
[ 37.449522]
[ 37.449522] stack backtrace:
[ 37.450090] CPU: 0 PID: 10 Comm: kworker/0:1 Not tainted 5.16.0-rc3-next-20211203 #1
[ 37.451157] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 37.452594] Workqueue: cgroup_destroy css_free_rwork_fn
[ 37.453278] Call Trace:
[ 37.453637]
[ 37.453925] dump_stack_lvl+0x8b/0xb3
[ 37.454416] debug_check_no_locks_freed.cold+0xa5/0xb1
[ 37.455479] ? kernfs_put.part.0+0x334/0x540
[ 37.456052] kfree+0xb3/0x5a0
[ 37.456468] ? kmem_cache_free+0xce/0x640
[ 37.457020] kernfs_put.part.0+0x334/0x540
[ 37.457586] kernfs_put+0x42/0x50
[ 37.458056] __kernfs_remove+0x7ce/0xb00
[ 37.458578] ? lock_is_held_type+0xd7/0x130
[ 37.459158] ? kernfs_next_descendant_post+0x2f0/0x2f0
[ 37.459810] ? down_write+0xde/0x150
[ 37.460282] ? down_write_killable_nested+0x180/0x180
[ 37.460930] kernfs_destroy_root+0x89/0xb0
[ 37.461454] css_free_rwork_fn+0xa28/0xf40
[ 37.462046] process_one_work+0xa30/0x1710
[ 37.462583] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 37.463219] ? rwlock_bug.part.0+0x90/0x90
[ 37.463757] ? _raw_spin_lock_irq+0x41/0x50
[ 37.464304] worker_thread+0x62a/0x13e0
[ 37.464828] ? process_one_work+0x1710/0x1710
[ 37.465399] kthread+0x40c/0x500
[ 37.465831] ? set_kthread_struct+0x130/0x130
[ 37.466396] ret_from_fork+0x22/0x30
[ 37.467599]
[ 37.467982] ==================================================================
[ 37.468889] BUG: KASAN: use-after-free in up_write+0x3ac/0x460
[ 37.469643] Read of size 8 at addr ffff88800d7c0940 by task kworker/0:1/10
[ 37.470491]
[ 37.470778] CPU: 0 PID: 10 Comm: kworker/0:1 Not tainted 5.16.0-rc3-next-20211203 #1
[ 37.471744] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
[ 37.473130] Workqueue: cgroup_destroy css_free_rwork_fn
[ 37.473833] Call Trace:
[ 37.474147]
[ 37.474427] dump_stack_lvl+0x8b/0xb3
[ 37.478967] print_address_description.constprop.0+0x1f/0x180
[ 37.479747] ? up_write+0x3ac/0x460
[ 37.480205] ? up_write+0x3ac/0x460
[ 37.480685] kasan_report.cold+0x7f/0x11b
[ 37.481225] ? up_write+0x3ac/0x460
[ 37.481682] up_write+0x3ac/0x460
[ 37.482127] css_free_rwork_fn+0xa28/0xf40
[ 37.482656] process_one_work+0xa30/0x1710
[ 37.483224] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 37.483824] ? rwlock_bug.part.0+0x90/0x90
[ 37.484347] ? _raw_spin_lock_irq+0x41/0x50
[ 37.484887] worker_thread+0x62a/0x13e0
[ 37.485397] ? process_one_work+0x1710/0x1710
[ 37.485977] kthread+0x40c/0x500
[ 37.486413] ? set_kthread_struct+0x130/0x130
[ 37.487100] ret_from_fork+0x22/0x30
[ 37.487581]
[ 37.487916]
[ 37.488125] Allocated by task 281:
[ 37.488569] kasan_save_stack+0x1e/0x40
[ 37.489080] __kasan_kmalloc+0x81/0xa0
[ 37.489582] kernfs_create_root+0x4c/0x410
[ 37.490115] cgroup_setup_root+0x346/0xb60
[ 37.490683] cgroup1_get_tree+0xc1b/0x1370
[ 37.491263] vfs_get_tree+0x8e/0x2f0
[ 37.491748] path_mount+0x131b/0x1f80
[ 37.492246] __x64_sys_mount+0x27e/0x300
[ 37.492797] do_syscall_64+0x3b/0x90
[ 37.493250] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 37.493945]
[ 37.494151] Freed by task 10:
[ 37.494543] kasan_save_stack+0x1e/0x40
[ 37.495091] kasan_set_track+0x21/0x30
[ 37.495575] kasan_set_free_info+0x20/0x30
[ 37.496107] __kasan_slab_free+0x108/0x170
[ 37.496657] kfree+0xc5/0x5a0
[ 37.497088] kernfs_put.part.0+0x334/0x540
[ 37.497620] kernfs_put+0x42/0x50
[ 37.498045] __kernfs_remove+0x7ce/0xb00
[ 37.498540] kernfs_destroy_root+0x89/0xb0
[ 37.499101] css_free_rwork_fn+0xa28/0xf40
[ 37.499611] process_one_work+0xa30/0x1710
[ 37.500182] worker_thread+0x62a/0x13e0
[ 37.500688] kthread+0x40c/0x500
[ 37.501120] ret_from_fork+0x22/0x30
[ 37.501594]
[ 37.501800] The buggy address belongs to the object at ffff88800d7c0800
[ 37.501800] which belongs to the cache kmalloc-512 of size 512
[ 37.503387] The buggy address is located 320 bytes inside of
[ 37.503387] 512-byte region [ffff88800d7c0800, ffff88800d7c0a00)
[ 37.504926] The buggy address belongs to the page:
[ 37.505554] page:00000000c6ea0bb6 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xd7c0
[ 37.510760] head:00000000c6ea0bb6 order:2 compound_mapcount:0 compound_pincount:0
[ 37.511742] flags: 0x100000000010200(slab|head|node=0|zone=1)
[ 37.512491] raw: 0100000000010200 0000000000000000 dead000000000001 ffff888007841c80
[ 37.513516] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000
[ 37.514477] page dumped because: kasan: bad access detected
[ 37.515225]
[ 37.515432] Memory state around the buggy address:
[ 37.516073] ffff88800d7c0800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 37.516984] ffff88800d7c0880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 37.517924] >ffff88800d7c0900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 37.518895] ^
[ 37.519560] ffff88800d7c0980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 37.520456] ffff88800d7c0a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 37.521379] ==================================================================
[ 37.568131] cgroup: Unknown subsys name 'hugetlb'
[ 37.570502] cgroup: Unknown subsys name 'rlimit'
executing program
executing program
executing program
VM DIAGNOSIS:
11:21:57 Registers:
info registers vcpu 0
RAX=dffffc0000000060 RBX=00000000000003fd RCX=0000000000000000 RDX=00000000000003fd
RSI=ffffffff8236405c RDI=ffffffff87381a60 RBP=ffffffff87381a20 RSP=ffff8880081975c8
R8 =0000000000000074 R9 =0000000000000030 R10=ffffffff8234ae1b R11=000000000000000a
R12=0000000000000020 R13=fffffbfff0e70397 R14=fffffbfff0e7034e R15=dffffc0000000000
RIP=ffffffff823640b0 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=00007f142b175bd0 CR3=000000000991c000 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 3f66de536743c4de
YMM04=0000000000000000 0000000000000000 00007faed9479a00 0000000000415710
YMM05=0000000000000000 0000000000000000 0000000000b12758 000000c00044ad70
YMM06=0000000000000000 0000000000000000 0000000000505007 000000c00002a7c0
YMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM08=0000000000000000 0000000000000000 00000000004643c6 0000000000000000
YMM09=0000000000000000 0000000000000000 00000000004643c1 0000000000000000
YMM10=0000000000000000 0000000000000000 000000c00020a060 000000c0001546e0
YMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000
YMM13=0000000000000000 0000000000000000 000000c00000f340 000000c0002f84f0
YMM14=0000000000000000 0000000000000000 000000c00000f350 000000c00000f348
YMM15=0000000000000000 0000000000000000 000000c00000f360 000000c00000f358
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=0000560b26d68d60 CR3=000000000991c000 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 3f61789121967fbc
YMM04=0000000000000000 0000000000000000 0000000000000000 3fc7f85097b0db77
YMM05=0000000000000000 0000000000000000 000000c00000f110 000000c00000f108
YMM06=0000000000000000 0000000000000000 0000000000000000 3fd3333333333333
YMM07=0000000000000000 0000000000000000 0000000000000000 3fd7c968f0742c7d
YMM08=0000000000000000 0000000000000000 0000000000000000 3fe17104d205ee5c
YMM09=0000000000000000 0000000000000000 0000000000000000 3fb1ee8cf695d948
YMM10=0000000000000000 0000000000000000 0000000000000000 3fd189f558777b72
YMM11=0000000000000000 0000000000000000 000000c00000f1f0 000000c00000f1e8
YMM12=0000000000000000 0000000000000000 000000c00000f200 000000c00000f1f8
YMM13=0000000000000000 0000000000000000 000000c00000f210 000000c000083de0
YMM14=0000000000000000 0000000000000000 000000c000083f00 000000c00009b900
YMM15=0000000000000000 0000000000000000 000000c00000f230 000000c00000f228