[ OK ] Started Daily apt download activities. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Reached target Timers. Starting System Logging Service... Starting getty on tty2-tty6 if dbus and logind are not available... Starting OpenBSD Secure Shell server... [ OK ] Started Permit User Sessions. [ OK ] Started System Logging Service. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. [ OK ] Started Getty on tty6. [ OK ] Started Getty on tty5. [ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. Starting Load/Save RF Kill Switch Status... [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.160' (ECDSA) to the list of known hosts. 2021/11/29 15:17:28 fuzzer started 2021/11/29 15:17:28 connecting to host at 10.128.0.169:38501 2021/11/29 15:17:28 checking machine... 2021/11/29 15:17:28 checking revisions... 2021/11/29 15:17:28 testing simple program... syzkaller login: [ 72.885588][ T6539] cgroup: Unknown subsys name 'net' [ 72.891762][ T6539] [ 72.894090][ T6539] ========================= [ 72.898580][ T6539] WARNING: held lock freed! [ 72.903069][ T6539] 5.16.0-rc2-next-20211129-syzkaller #0 Not tainted [ 72.909651][ T6539] ------------------------- [ 72.914135][ T6539] syz-executor/6539 is freeing memory ffff888022978800-ffff8880229789ff, with a lock still held there! [ 72.925133][ T6539] ffff888022978948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_destroy_root+0x81/0xb0 [ 72.934881][ T6539] 2 locks held by syz-executor/6539: [ 72.940171][ T6539] #0: ffffffff8bbc5d08 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock_and_drain_offline+0xa5/0x900 [ 72.950719][ T6539] #1: ffff888022978948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_destroy_root+0x81/0xb0 [ 72.960910][ T6539] [ 72.960910][ T6539] stack backtrace: [ 72.966791][ T6539] CPU: 0 PID: 6539 Comm: syz-executor Not tainted 5.16.0-rc2-next-20211129-syzkaller #0 [ 72.976510][ T6539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 72.986559][ T6539] Call Trace: [ 72.989830][ T6539] [ 72.992754][ T6539] dump_stack_lvl+0xcd/0x134 [ 72.997353][ T6539] debug_check_no_locks_freed.cold+0x9d/0xa9 [ 73.003331][ T6539] ? lockdep_hardirqs_on+0x79/0x100 [ 73.008540][ T6539] slab_free_freelist_hook+0x73/0x1c0 [ 73.014005][ T6539] ? kernfs_put.part.0+0x331/0x540 [ 73.019129][ T6539] kfree+0xe0/0x430 [ 73.022936][ T6539] ? kmem_cache_free+0xba/0x4a0 [ 73.027788][ T6539] ? rwlock_bug.part.0+0x90/0x90 [ 73.032725][ T6539] ? __sanitizer_cov_trace_const_cmp8+0x1d/0x70 [ 73.038972][ T6539] kernfs_put.part.0+0x331/0x540 [ 73.043913][ T6539] kernfs_put+0x42/0x50 [ 73.048071][ T6539] __kernfs_remove+0x7a3/0xb20 [ 73.052840][ T6539] ? kernfs_next_descendant_post+0x2f0/0x2f0 [ 73.058824][ T6539] ? down_write+0xde/0x150 [ 73.063324][ T6539] ? down_write_killable_nested+0x180/0x180 [ 73.069218][ T6539] kernfs_destroy_root+0x89/0xb0 [ 73.074455][ T6539] cgroup_setup_root+0x3a6/0xad0 [ 73.079395][ T6539] ? rebind_subsystems+0x10e0/0x10e0 [ 73.084683][ T6539] ? __sanitizer_cov_trace_const_cmp1+0x22/0x80 [ 73.090928][ T6539] cgroup1_get_tree+0xd33/0x1390 [ 73.095867][ T6539] vfs_get_tree+0x89/0x2f0 [ 73.100280][ T6539] path_mount+0x1320/0x1fa0 [ 73.104960][ T6539] ? kmem_cache_free+0xba/0x4a0 [ 73.109833][ T6539] ? finish_automount+0xaf0/0xaf0 [ 73.114882][ T6539] ? putname+0xfe/0x140 [ 73.119049][ T6539] __x64_sys_mount+0x27f/0x300 [ 73.123824][ T6539] ? copy_mnt_ns+0xae0/0xae0 [ 73.128540][ T6539] ? syscall_enter_from_user_mode+0x21/0x70 [ 73.134442][ T6539] do_syscall_64+0x35/0xb0 [ 73.138873][ T6539] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 73.144784][ T6539] RIP: 0033:0x7f37f3eb901a [ 73.149195][ T6539] Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 73.168898][ T6539] RSP: 002b:00007ffc06b5c688 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 73.177315][ T6539] RAX: ffffffffffffffda RBX: 00007ffc06b5c818 RCX: 00007f37f3eb901a [ 73.185300][ T6539] RDX: 00007f37f3f1bfe2 RSI: 00007f37f3f1229a RDI: 00007f37f3f10d71 [ 73.193269][ T6539] RBP: 00007f37f3f1229a R08: 00007f37f3f123f7 R09: 0000000000000026 [ 73.201263][ T6539] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc06b5c690 [ 73.209324][ T6539] R13: 00007ffc06b5c838 R14: 00007ffc06b5c760 R15: 00007f37f3f123f1 [ 73.217314][ T6539] [ 73.221307][ T6539] ================================================================== [ 73.229446][ T6539] BUG: KASAN: use-after-free in up_write+0x3ac/0x470 [ 73.236316][ T6539] Read of size 8 at addr ffff888022978940 by task syz-executor/6539 [ 73.244292][ T6539] [ 73.246609][ T6539] CPU: 1 PID: 6539 Comm: syz-executor Not tainted 5.16.0-rc2-next-20211129-syzkaller #0 [ 73.256324][ T6539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 73.266375][ T6539] Call Trace: [ 73.269730][ T6539] [ 73.272670][ T6539] dump_stack_lvl+0xcd/0x134 [ 73.277264][ T6539] print_address_description.constprop.0.cold+0xa5/0x3ed [ 73.284298][ T6539] ? up_write+0x3ac/0x470 [ 73.288631][ T6539] ? up_write+0x3ac/0x470 [ 73.293126][ T6539] kasan_report.cold+0x83/0xdf [ 73.297900][ T6539] ? up_write+0x3ac/0x470 [ 73.302237][ T6539] up_write+0x3ac/0x470 [ 73.306395][ T6539] cgroup_setup_root+0x3a6/0xad0 [ 73.311347][ T6539] ? rebind_subsystems+0x10e0/0x10e0 [ 73.316644][ T6539] ? __sanitizer_cov_trace_const_cmp1+0x22/0x80 [ 73.322906][ T6539] cgroup1_get_tree+0xd33/0x1390 [ 73.327854][ T6539] vfs_get_tree+0x89/0x2f0 [ 73.332290][ T6539] path_mount+0x1320/0x1fa0 [ 73.336887][ T6539] ? kmem_cache_free+0xba/0x4a0 [ 73.341752][ T6539] ? finish_automount+0xaf0/0xaf0 [ 73.346793][ T6539] ? putname+0xfe/0x140 [ 73.350968][ T6539] __x64_sys_mount+0x27f/0x300 [ 73.355732][ T6539] ? copy_mnt_ns+0xae0/0xae0 [ 73.360331][ T6539] ? syscall_enter_from_user_mode+0x21/0x70 [ 73.366668][ T6539] do_syscall_64+0x35/0xb0 [ 73.371084][ T6539] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 73.376990][ T6539] RIP: 0033:0x7f37f3eb901a [ 73.381407][ T6539] Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 73.401011][ T6539] RSP: 002b:00007ffc06b5c688 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 73.409415][ T6539] RAX: ffffffffffffffda RBX: 00007ffc06b5c818 RCX: 00007f37f3eb901a [ 73.417378][ T6539] RDX: 00007f37f3f1bfe2 RSI: 00007f37f3f1229a RDI: 00007f37f3f10d71 [ 73.425340][ T6539] RBP: 00007f37f3f1229a R08: 00007f37f3f123f7 R09: 0000000000000026 [ 73.433301][ T6539] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc06b5c690 [ 73.441263][ T6539] R13: 00007ffc06b5c838 R14: 00007ffc06b5c760 R15: 00007f37f3f123f1 [ 73.449240][ T6539] [ 73.452249][ T6539] [ 73.454562][ T6539] Allocated by task 6539: [ 73.459481][ T6539] kasan_save_stack+0x1e/0x50 [ 73.464158][ T6539] __kasan_kmalloc+0xa9/0xd0 [ 73.468742][ T6539] kernfs_create_root+0x4c/0x410 [ 73.473673][ T6539] cgroup_setup_root+0x243/0xad0 [ 73.478612][ T6539] cgroup1_get_tree+0xd33/0x1390 [ 73.483548][ T6539] vfs_get_tree+0x89/0x2f0 [ 73.487957][ T6539] path_mount+0x1320/0x1fa0 [ 73.492454][ T6539] __x64_sys_mount+0x27f/0x300 [ 73.497212][ T6539] do_syscall_64+0x35/0xb0 [ 73.501625][ T6539] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 73.507513][ T6539] [ 73.509829][ T6539] Freed by task 6539: [ 73.513794][ T6539] kasan_save_stack+0x1e/0x50 [ 73.518486][ T6539] kasan_set_track+0x21/0x30 [ 73.523071][ T6539] kasan_set_free_info+0x20/0x30 [ 73.528008][ T6539] __kasan_slab_free+0x103/0x170 [ 73.532943][ T6539] slab_free_freelist_hook+0x8b/0x1c0 [ 73.538309][ T6539] kfree+0xe0/0x430 [ 73.542111][ T6539] kernfs_put.part.0+0x331/0x540 [ 73.547068][ T6539] kernfs_put+0x42/0x50 [ 73.551226][ T6539] __kernfs_remove+0x7a3/0xb20 [ 73.555986][ T6539] kernfs_destroy_root+0x89/0xb0 [ 73.560931][ T6539] cgroup_setup_root+0x3a6/0xad0 [ 73.565875][ T6539] cgroup1_get_tree+0xd33/0x1390 [ 73.570803][ T6539] vfs_get_tree+0x89/0x2f0 [ 73.575228][ T6539] path_mount+0x1320/0x1fa0 [ 73.579724][ T6539] __x64_sys_mount+0x27f/0x300 [ 73.584484][ T6539] do_syscall_64+0x35/0xb0 [ 73.588913][ T6539] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 73.594804][ T6539] [ 73.597118][ T6539] The buggy address belongs to the object at ffff888022978800 [ 73.597118][ T6539] which belongs to the cache kmalloc-512 of size 512 [ 73.611215][ T6539] The buggy address is located 320 bytes inside of [ 73.611215][ T6539] 512-byte region [ffff888022978800, ffff888022978a00) [ 73.624483][ T6539] The buggy address belongs to the page: [ 73.630097][ T6539] page:ffffea00008a5e00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888022978400 pfn:0x22978 [ 73.641542][ T6539] head:ffffea00008a5e00 order:2 compound_mapcount:0 compound_pincount:0 [ 73.649854][ T6539] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 73.657840][ T6539] raw: 00fff00000010200 dead000000000100 dead000000000122 ffff888010c41c80 [ 73.666508][ T6539] raw: ffff888022978400 000000008010000c 00000001ffffffff 0000000000000000 [ 73.675074][ T6539] page dumped because: kasan: bad access detected [ 73.681559][ T6539] page_owner tracks the page as allocated [ 73.687251][ T6539] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 2728, ts 14075359459, free_ts 14049419066 [ 73.706441][ T6539] get_page_from_freelist+0xa72/0x2f40 [ 73.711899][ T6539] __alloc_pages+0x1b2/0x500 [ 73.716484][ T6539] alloc_pages+0x1a7/0x300 [ 73.720896][ T6539] new_slab+0x261/0x460 [ 73.725056][ T6539] ___slab_alloc+0x798/0xf30 [ 73.729642][ T6539] __slab_alloc.constprop.0+0x4d/0xa0 [ 73.735010][ T6539] kmem_cache_alloc_trace+0x289/0x2c0 [ 73.740375][ T6539] alloc_bprm+0x51/0x8f0 [ 73.744610][ T6539] kernel_execve+0x55/0x460 [ 73.749101][ T6539] call_usermodehelper_exec_async+0x2e3/0x580 [ 73.755170][ T6539] ret_from_fork+0x1f/0x30 [ 73.759601][ T6539] page last free stack trace: [ 73.764257][ T6539] free_pcp_prepare+0x414/0xb60 [ 73.769112][ T6539] free_unref_page+0x19/0x690 [ 73.773867][ T6539] __stack_depot_save+0x16d/0x4f0 [ 73.778884][ T6539] kasan_save_stack+0x38/0x50 [ 73.783733][ T6539] __kasan_kmalloc+0xa9/0xd0 [ 73.788752][ T6539] alloc_workqueue_attrs+0x38/0x80 [ 73.793868][ T6539] apply_wqattrs_prepare+0xbc/0x890 [ 73.799068][ T6539] apply_workqueue_attrs_locked+0xc1/0x140 [ 73.804877][ T6539] alloc_workqueue+0xa45/0xf00 [ 73.809741][ T6539] tipc_topsrv_init_net+0x54c/0xb90 [ 73.814938][ T6539] ops_init+0xaf/0x470 [ 73.819013][ T6539] register_pernet_operations+0x35a/0x850 [ 73.824754][ T6539] register_pernet_device+0x26/0x70 [ 73.829955][ T6539] tipc_init+0x9e/0x1b6 [ 73.834102][ T6539] do_one_initcall+0x103/0x650 [ 73.838864][ T6539] kernel_init_freeable+0x6b1/0x73a [ 73.844067][ T6539] [ 73.846380][ T6539] Memory state around the buggy address: [ 73.852030][ T6539] ffff888022978800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.860081][ T6539] ffff888022978880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.868131][ T6539] >ffff888022978900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.876177][ T6539] ^ [ 73.882316][ T6539] ffff888022978980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.890366][ T6539] ffff888022978a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 73.898413][ T6539] ================================================================== [ 73.908796][ T6539] Kernel panic - not syncing: panic_on_warn set ... [ 73.915394][ T6539] CPU: 1 PID: 6539 Comm: syz-executor Tainted: G B 5.16.0-rc2-next-20211129-syzkaller #0 [ 73.926505][ T6539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 73.936561][ T6539] Call Trace: [ 73.939843][ T6539] [ 73.942771][ T6539] dump_stack_lvl+0xcd/0x134 [ 73.947356][ T6539] panic+0x2b0/0x6dd [ 73.951240][ T6539] ? __warn_printk+0xf3/0xf3 [ 73.955816][ T6539] ? preempt_schedule_common+0x59/0xc0 [ 73.961261][ T6539] ? up_write+0x3ac/0x470 [ 73.965573][ T6539] ? preempt_schedule_thunk+0x16/0x18 [ 73.970930][ T6539] ? trace_hardirqs_on+0x38/0x1c0 [ 73.975953][ T6539] ? trace_hardirqs_on+0x51/0x1c0 [ 73.980960][ T6539] ? up_write+0x3ac/0x470 [ 73.985277][ T6539] ? up_write+0x3ac/0x470 [ 73.989590][ T6539] end_report.cold+0x63/0x6f [ 73.994186][ T6539] kasan_report.cold+0x71/0xdf [ 73.998953][ T6539] ? up_write+0x3ac/0x470 [ 74.003269][ T6539] up_write+0x3ac/0x470 [ 74.007426][ T6539] cgroup_setup_root+0x3a6/0xad0 [ 74.012352][ T6539] ? rebind_subsystems+0x10e0/0x10e0 [ 74.017633][ T6539] ? __sanitizer_cov_trace_const_cmp1+0x22/0x80 [ 74.023955][ T6539] cgroup1_get_tree+0xd33/0x1390 [ 74.028905][ T6539] vfs_get_tree+0x89/0x2f0 [ 74.033310][ T6539] path_mount+0x1320/0x1fa0 [ 74.037837][ T6539] ? kmem_cache_free+0xba/0x4a0 [ 74.042683][ T6539] ? finish_automount+0xaf0/0xaf0 [ 74.047696][ T6539] ? putname+0xfe/0x140 [ 74.051940][ T6539] __x64_sys_mount+0x27f/0x300 [ 74.056694][ T6539] ? copy_mnt_ns+0xae0/0xae0 [ 74.061355][ T6539] ? syscall_enter_from_user_mode+0x21/0x70 [ 74.067426][ T6539] do_syscall_64+0x35/0xb0 [ 74.071926][ T6539] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 74.077813][ T6539] RIP: 0033:0x7f37f3eb901a [ 74.082317][ T6539] Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 74.101909][ T6539] RSP: 002b:00007ffc06b5c688 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 74.110311][ T6539] RAX: ffffffffffffffda RBX: 00007ffc06b5c818 RCX: 00007f37f3eb901a [ 74.118270][ T6539] RDX: 00007f37f3f1bfe2 RSI: 00007f37f3f1229a RDI: 00007f37f3f10d71 [ 74.126227][ T6539] RBP: 00007f37f3f1229a R08: 00007f37f3f123f7 R09: 0000000000000026 [ 74.134303][ T6539] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc06b5c690 [ 74.142264][ T6539] R13: 00007ffc06b5c838 R14: 00007ffc06b5c760 R15: 00007f37f3f123f1 [ 74.150233][ T6539] [ 74.153568][ T6539] Kernel Offset: disabled [ 74.157884][ T6539] Rebooting in 86400 seconds..