Warning: Permanently added '10.128.0.107' (ECDSA) to the list of known hosts. [ 38.208823][ T4308] cgroup: Unknown subsys name 'net' [ 38.570154][ T4308] cgroup: Unknown subsys name 'rlimit' executing program [ 38.906469][ T4311] [ 38.907164][ T4311] ====================================================== [ 38.908609][ T4311] WARNING: possible circular locking dependency detected [ 38.910118][ T4311] 6.1.21-syzkaller #0 Not tainted [ 38.911157][ T4311] ------------------------------------------------------ [ 38.912702][ T4311] syz-executor241/4311 is trying to acquire lock: [ 38.914125][ T4311] ffff8000155f5450 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_slow_inc+0x1c/0x38 [ 38.916177][ T4311] [ 38.916177][ T4311] but task is already holding lock: [ 38.917792][ T4311] ffff800015786748 (freezer_mutex){+.+.}-{3:3}, at: freezer_write+0xc0/0x434 [ 38.919669][ T4311] [ 38.919669][ T4311] which lock already depends on the new lock. [ 38.919669][ T4311] [ 38.921871][ T4311] [ 38.921871][ T4311] the existing dependency chain (in reverse order) is: [ 38.923794][ T4311] [ 38.923794][ T4311] -> #2 (freezer_mutex){+.+.}-{3:3}: [ 38.925417][ T4311] __mutex_lock_common+0x190/0x21a0 [ 38.926659][ T4311] mutex_lock_nested+0x38/0x44 [ 38.927791][ T4311] freezer_attach+0xa8/0x268 [ 38.928860][ T4311] cgroup_migrate_execute+0x6f4/0xd34 [ 38.930264][ T4311] cgroup_migrate+0x1c8/0x1e0 [ 38.931336][ T4311] cgroup_attach_task+0x548/0x9e8 [ 38.932515][ T4311] __cgroup1_procs_write+0x2fc/0x404 [ 38.933800][ T4311] cgroup1_procs_write+0x38/0x4c [ 38.935000][ T4311] cgroup_file_write+0x258/0x5ac [ 38.936135][ T4311] kernfs_fop_write_iter+0x334/0x48c [ 38.937461][ T4311] vfs_write+0x610/0x914 [ 38.938502][ T4311] ksys_write+0x15c/0x26c [ 38.939575][ T4311] __arm64_sys_write+0x7c/0x90 [ 38.940740][ T4311] invoke_syscall+0x98/0x2c0 [ 38.941825][ T4311] el0_svc_common+0x138/0x258 [ 38.942956][ T4311] do_el0_svc+0x64/0x218 [ 38.943981][ T4311] el0_svc+0x58/0x168 [ 38.945011][ T4311] el0t_64_sync_handler+0x84/0xf0 [ 38.946227][ T4311] el0t_64_sync+0x18c/0x190 [ 38.947332][ T4311] [ 38.947332][ T4311] -> #1 (cgroup_threadgroup_rwsem){++++}-{0:0}: [ 38.949195][ T4311] percpu_down_write+0x78/0x320 [ 38.950345][ T4311] cgroup_procs_write_start+0x1ac/0x5f0 [ 38.951667][ T4311] __cgroup_procs_write+0xec/0x410 [ 38.952938][ T4311] cgroup_procs_write+0x34/0x60 [ 38.954104][ T4311] cgroup_file_write+0x258/0x5ac [ 38.955316][ T4311] kernfs_fop_write_iter+0x334/0x48c [ 38.956579][ T4311] vfs_write+0x610/0x914 [ 38.957617][ T4311] ksys_write+0x15c/0x26c [ 38.958752][ T4311] __arm64_sys_write+0x7c/0x90 [ 38.959931][ T4311] invoke_syscall+0x98/0x2c0 [ 38.961105][ T4311] el0_svc_common+0x138/0x258 [ 38.962275][ T4311] do_el0_svc+0x64/0x218 [ 38.963254][ T4311] el0_svc+0x58/0x168 [ 38.964232][ T4311] el0t_64_sync_handler+0x84/0xf0 [ 38.965407][ T4311] el0t_64_sync+0x18c/0x190 [ 38.966479][ T4311] [ 38.966479][ T4311] -> #0 (cpu_hotplug_lock){++++}-{0:0}: [ 38.968199][ T4311] __lock_acquire+0x3338/0x764c [ 38.969464][ T4311] lock_acquire+0x26c/0x7cc [ 38.970549][ T4311] cpus_read_lock+0x70/0x2bc [ 38.971630][ T4311] static_key_slow_inc+0x1c/0x38 [ 38.972803][ T4311] freezer_apply_state+0x18c/0x3d0 [ 38.973973][ T4311] freezer_write+0x28c/0x434 [ 38.975036][ T4311] cgroup_file_write+0x258/0x5ac [ 38.976266][ T4311] kernfs_fop_write_iter+0x334/0x48c [ 38.977481][ T4311] vfs_write+0x610/0x914 [ 38.978459][ T4311] ksys_write+0x15c/0x26c [ 38.979493][ T4311] __arm64_sys_write+0x7c/0x90 [ 38.980671][ T4311] invoke_syscall+0x98/0x2c0 [ 38.981735][ T4311] el0_svc_common+0x138/0x258 [ 38.982847][ T4311] do_el0_svc+0x64/0x218 [ 38.983885][ T4311] el0_svc+0x58/0x168 [ 38.984903][ T4311] el0t_64_sync_handler+0x84/0xf0 [ 38.986109][ T4311] el0t_64_sync+0x18c/0x190 [ 38.987182][ T4311] [ 38.987182][ T4311] other info that might help us debug this: [ 38.987182][ T4311] [ 38.989461][ T4311] Chain exists of: [ 38.989461][ T4311] cpu_hotplug_lock --> cgroup_threadgroup_rwsem --> freezer_mutex [ 38.989461][ T4311] [ 38.992458][ T4311] Possible unsafe locking scenario: [ 38.992458][ T4311] [ 38.994060][ T4311] CPU0 CPU1 [ 38.995260][ T4311] ---- ---- [ 38.996414][ T4311] lock(freezer_mutex); [ 38.997377][ T4311] lock(cgroup_threadgroup_rwsem); [ 38.999124][ T4311] lock(freezer_mutex); [ 39.000580][ T4311] lock(cpu_hotplug_lock); [ 39.001508][ T4311] [ 39.001508][ T4311] *** DEADLOCK *** [ 39.001508][ T4311] [ 39.003347][ T4311] 4 locks held by syz-executor241/4311: [ 39.004480][ T4311] #0: ffff0000d8810460 (sb_writers#9){.+.+}-{0:0}, at: vfs_write+0x244/0x914 [ 39.006486][ T4311] #1: ffff0000d6758088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c [ 39.008603][ T4311] #2: ffff0000c1a8b830 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c [ 39.010757][ T4311] #3: ffff800015786748 (freezer_mutex){+.+.}-{3:3}, at: freezer_write+0xc0/0x434 [ 39.012809][ T4311] [ 39.012809][ T4311] stack backtrace: [ 39.014059][ T4311] CPU: 0 PID: 4311 Comm: syz-executor241 Not tainted 6.1.21-syzkaller #0 [ 39.015852][ T4311] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 [ 39.018071][ T4311] Call trace: [ 39.018824][ T4311] dump_backtrace+0x1c8/0x1f4 [ 39.019912][ T4311] show_stack+0x2c/0x3c [ 39.020805][ T4311] dump_stack_lvl+0x108/0x170 [ 39.021793][ T4311] dump_stack+0x1c/0x5c [ 39.022711][ T4311] print_circular_bug+0x150/0x1b8 [ 39.023721][ T4311] check_noncircular+0x2cc/0x378 [ 39.024783][ T4311] __lock_acquire+0x3338/0x764c [ 39.025951][ T4311] lock_acquire+0x26c/0x7cc [ 39.026890][ T4311] cpus_read_lock+0x70/0x2bc [ 39.027870][ T4311] static_key_slow_inc+0x1c/0x38 [ 39.028895][ T4311] freezer_apply_state+0x18c/0x3d0 [ 39.029939][ T4311] freezer_write+0x28c/0x434 [ 39.030945][ T4311] cgroup_file_write+0x258/0x5ac [ 39.032046][ T4311] kernfs_fop_write_iter+0x334/0x48c [ 39.033191][ T4311] vfs_write+0x610/0x914 [ 39.034016][ T4311] ksys_write+0x15c/0x26c [ 39.034974][ T4311] __arm64_sys_write+0x7c/0x90 [ 39.035965][ T4311] invoke_syscall+0x98/0x2c0 [ 39.036949][ T4311] el0_svc_common+0x138/0x258 [ 39.038000][ T4311] do_el0_svc+0x64/0x218 [ 39.038926][ T4311] el0_svc+0x58/0x168 [ 39.039802][ T4311] el0t_64_sync_handler+0x84/0xf0 [ 39.040884][ T4311] el0t_64_sync+0x18c/0x190 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program