Warning: Permanently added '10.128.0.198' (ECDSA) to the list of known hosts. syzkaller login: [ 67.560952][ T3635] cgroup: Unknown subsys name 'net' [ 67.694066][ T3635] cgroup: Unknown subsys name 'rlimit' executing program [ 67.864687][ T3637] [ 67.867039][ T3637] ====================================================== [ 67.874132][ T3637] WARNING: possible circular locking dependency detected [ 67.881162][ T3637] 6.1.18-syzkaller #0 Not tainted [ 67.886171][ T3637] ------------------------------------------------------ [ 67.893186][ T3637] syz-executor356/3637 is trying to acquire lock: [ 67.899601][ T3637] ffffffff8cdc47b0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_slow_inc+0xe/0x20 [ 67.909013][ T3637] [ 67.909013][ T3637] but task is already holding lock: [ 67.916390][ T3637] ffffffff8cf5a688 (freezer_mutex){+.+.}-{3:3}, at: freezer_write+0x9f/0x3e0 [ 67.925196][ T3637] [ 67.925196][ T3637] which lock already depends on the new lock. [ 67.925196][ T3637] [ 67.935595][ T3637] [ 67.935595][ T3637] the existing dependency chain (in reverse order) is: [ 67.944603][ T3637] [ 67.944603][ T3637] -> #2 (freezer_mutex){+.+.}-{3:3}: [ 67.952079][ T3637] lock_acquire+0x23a/0x630 [ 67.957121][ T3637] __mutex_lock_common+0x1d4/0x2520 [ 67.962860][ T3637] mutex_lock_nested+0x17/0x20 [ 67.968141][ T3637] freezer_attach+0xa8/0x280 [ 67.973253][ T3637] cgroup_migrate_execute+0x7e3/0x1060 [ 67.979231][ T3637] cgroup_attach_task+0x5a3/0x9a0 [ 67.984776][ T3637] __cgroup1_procs_write+0x2ee/0x460 [ 67.990582][ T3637] cgroup_file_write+0x2c6/0x690 [ 67.996065][ T3637] kernfs_fop_write_iter+0x3a2/0x4f0 [ 68.001893][ T3637] vfs_write+0x7ae/0xba0 [ 68.006668][ T3637] ksys_write+0x19c/0x2c0 [ 68.011615][ T3637] do_syscall_64+0x3d/0xb0 [ 68.016551][ T3637] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 68.022973][ T3637] [ 68.022973][ T3637] -> #1 (cgroup_threadgroup_rwsem){++++}-{0:0}: [ 68.031415][ T3637] lock_acquire+0x23a/0x630 [ 68.036449][ T3637] percpu_down_write+0x50/0x2e0 [ 68.041820][ T3637] cgroup_procs_write_start+0x1b0/0x630 [ 68.047889][ T3637] __cgroup_procs_write+0xf6/0x4a0 [ 68.053605][ T3637] cgroup_procs_write+0x25/0x50 [ 68.058983][ T3637] cgroup_file_write+0x2c6/0x690 [ 68.064446][ T3637] kernfs_fop_write_iter+0x3a2/0x4f0 [ 68.070261][ T3637] vfs_write+0x7ae/0xba0 [ 68.075049][ T3637] ksys_write+0x19c/0x2c0 [ 68.079901][ T3637] do_syscall_64+0x3d/0xb0 [ 68.084840][ T3637] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 68.091257][ T3637] [ 68.091257][ T3637] -> #0 (cpu_hotplug_lock){++++}-{0:0}: [ 68.099018][ T3637] validate_chain+0x1667/0x58e0 [ 68.104387][ T3637] __lock_acquire+0x125b/0x1f80 [ 68.109777][ T3637] lock_acquire+0x23a/0x630 [ 68.114906][ T3637] cpus_read_lock+0x3e/0x150 [ 68.120102][ T3637] static_key_slow_inc+0xe/0x20 [ 68.125554][ T3637] freezer_apply_state+0x1a6/0x3f0 [ 68.131182][ T3637] freezer_write+0x25e/0x3e0 [ 68.136292][ T3637] cgroup_file_write+0x2c6/0x690 [ 68.141755][ T3637] kernfs_fop_write_iter+0x3a2/0x4f0 [ 68.147566][ T3637] vfs_write+0x7ae/0xba0 [ 68.152342][ T3637] ksys_write+0x19c/0x2c0 [ 68.157200][ T3637] do_syscall_64+0x3d/0xb0 [ 68.162133][ T3637] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 68.168551][ T3637] [ 68.168551][ T3637] other info that might help us debug this: [ 68.168551][ T3637] [ 68.178789][ T3637] Chain exists of: [ 68.178789][ T3637] cpu_hotplug_lock --> cgroup_threadgroup_rwsem --> freezer_mutex [ 68.178789][ T3637] [ 68.192513][ T3637] Possible unsafe locking scenario: [ 68.192513][ T3637] [ 68.199955][ T3637] CPU0 CPU1 [ 68.205317][ T3637] ---- ---- [ 68.210687][ T3637] lock(freezer_mutex); [ 68.214939][ T3637] lock(cgroup_threadgroup_rwsem); [ 68.222652][ T3637] lock(freezer_mutex); [ 68.229413][ T3637] lock(cpu_hotplug_lock); [ 68.233918][ T3637] [ 68.233918][ T3637] *** DEADLOCK *** [ 68.233918][ T3637] [ 68.242063][ T3637] 4 locks held by syz-executor356/3637: [ 68.247707][ T3637] #0: ffff888076fba460 (sb_writers#10){.+.+}-{0:0}, at: vfs_write+0x269/0xba0 [ 68.256685][ T3637] #1: ffff888021adf488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x4f0 [ 68.266438][ T3637] #2: ffff8881458f5578 (kn->active#56){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20b/0x4f0 [ 68.276455][ T3637] #3: ffffffff8cf5a688 (freezer_mutex){+.+.}-{3:3}, at: freezer_write+0x9f/0x3e0 [ 68.285677][ T3637] [ 68.285677][ T3637] stack backtrace: [ 68.291556][ T3637] CPU: 0 PID: 3637 Comm: syz-executor356 Not tainted 6.1.18-syzkaller #0 [ 68.299962][ T3637] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 [ 68.310015][ T3637] Call Trace: [ 68.313301][ T3637] [ 68.316239][ T3637] dump_stack_lvl+0x1e3/0x2cb [ 68.320933][ T3637] ? nf_tcp_handle_invalid+0x642/0x642 [ 68.326405][ T3637] ? print_circular_bug+0x12b/0x1a0 [ 68.331616][ T3637] check_noncircular+0x2fa/0x3b0 [ 68.336553][ T3637] ? add_chain_block+0x850/0x850 [ 68.341520][ T3637] ? lockdep_lock+0x11f/0x2a0 [ 68.346208][ T3637] ? lockdep_unlock+0x165/0x300 [ 68.351072][ T3637] ? lockdep_lock+0x2a0/0x2a0 [ 68.355759][ T3637] ? _find_first_zero_bit+0xd0/0x100 [ 68.361048][ T3637] validate_chain+0x1667/0x58e0 [ 68.365902][ T3637] ? validate_chain+0x13d1/0x58e0 [ 68.370935][ T3637] ? reacquire_held_locks+0x660/0x660 [ 68.376303][ T3637] ? rcu_lock_release+0x5/0x20 [ 68.381084][ T3637] ? reacquire_held_locks+0x660/0x660 [ 68.386460][ T3637] ? validate_chain+0x115/0x58e0 [ 68.391405][ T3637] ? mark_lock+0x9a/0x340 [ 68.395740][ T3637] __lock_acquire+0x125b/0x1f80 [ 68.400604][ T3637] lock_acquire+0x23a/0x630 [ 68.405115][ T3637] ? static_key_slow_inc+0xe/0x20 [ 68.410141][ T3637] ? read_lock_is_recursive+0x10/0x10 [ 68.415516][ T3637] ? mark_lock+0x9a/0x340 [ 68.419840][ T3637] ? __might_sleep+0xb0/0xb0 [ 68.424435][ T3637] cpus_read_lock+0x3e/0x150 [ 68.429027][ T3637] ? static_key_slow_inc+0xe/0x20 [ 68.434050][ T3637] static_key_slow_inc+0xe/0x20 [ 68.438904][ T3637] freezer_apply_state+0x1a6/0x3f0 [ 68.444019][ T3637] ? css_put+0x260/0x260 [ 68.448271][ T3637] ? rcu_lock_release+0x5/0x20 [ 68.453040][ T3637] ? __lock_acquire+0x1f80/0x1f80 [ 68.458097][ T3637] freezer_write+0x25e/0x3e0 [ 68.462696][ T3637] ? freezer_read+0x860/0x860 [ 68.467382][ T3637] cgroup_file_write+0x2c6/0x690 [ 68.472324][ T3637] ? mutex_lock_io_nested+0x60/0x60 [ 68.477523][ T3637] ? cgroup_seqfile_stop+0xd0/0xd0 [ 68.482638][ T3637] ? __virt_addr_valid+0x22b/0x2e0 [ 68.487754][ T3637] ? cgroup_seqfile_stop+0xd0/0xd0 [ 68.492869][ T3637] kernfs_fop_write_iter+0x3a2/0x4f0 [ 68.498162][ T3637] vfs_write+0x7ae/0xba0 [ 68.502410][ T3637] ? file_end_write+0x250/0x250 [ 68.507263][ T3637] ? do_sys_openat2+0x42b/0x500 [ 68.512138][ T3637] ? __fdget_pos+0x261/0x2f0 [ 68.516820][ T3637] ksys_write+0x19c/0x2c0 [ 68.521243][ T3637] ? print_irqtrace_events+0x210/0x210 [ 68.526708][ T3637] ? __ia32_sys_read+0x80/0x80 [ 68.531490][ T3637] ? syscall_enter_from_user_mode+0x2e/0x2b0 [ 68.537474][ T3637] ? lockdep_hardirqs_on+0x94/0x130 [ 68.542675][ T3637] ? syscall_enter_from_user_mode+0x2e/0x2b0 [ 68.548658][ T3637] do_syscall_64+0x3d/0xb0 [ 68.553078][ T3637] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 68.558977][ T3637] RIP: 0033:0x7f4913308de9 [ 68.563404][ T3637] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 68.583017][ T3637] RSP: 002b:00007fff41f16438 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 68.591604][ T3637] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f4913308de9 [ 68.599607][ T3637] RDX: 0000000000000007 RSI: 0000000020000040 RDI: 0000000000000004 [ 68.607573][ T3637] RBP: 0000000000000000 R08: 00007fff41f16460 R09: 00007fff41f16460 executing program executing program executing program executing program executing program executing program [ 68.615643][ T3637] R10: 00007fff41f16460 R11: 0000000000000246 R12: 00007fff41f1645c [ 68.623613][ T3637] R13: 00007fff41f16470 R14: 00007fff41f164b0 R15: 0000000000000000 [ 68.631588][ T3637] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program