Warning: Permanently added '10.128.1.97' (ECDSA) to the list of known hosts. [ 65.056798][ T3636] cgroup: Unknown subsys name 'net' [ 65.202206][ T3636] cgroup: Unknown subsys name 'rlimit' executing program [ 65.374061][ T3638] [ 65.376434][ T3638] ====================================================== [ 65.383451][ T3638] WARNING: possible circular locking dependency detected [ 65.390480][ T3638] 6.1.18-syzkaller #0 Not tainted [ 65.395503][ T3638] ------------------------------------------------------ [ 65.402513][ T3638] syz-executor375/3638 is trying to acquire lock: [ 65.408916][ T3638] ffffffff8cdc47b0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_slow_inc+0xe/0x20 [ 65.418355][ T3638] [ 65.418355][ T3638] but task is already holding lock: [ 65.425707][ T3638] ffffffff8cf5a688 (freezer_mutex){+.+.}-{3:3}, at: freezer_write+0x9f/0x3e0 [ 65.434493][ T3638] [ 65.434493][ T3638] which lock already depends on the new lock. [ 65.434493][ T3638] [ 65.444886][ T3638] [ 65.444886][ T3638] the existing dependency chain (in reverse order) is: [ 65.454328][ T3638] [ 65.454328][ T3638] -> #2 (freezer_mutex){+.+.}-{3:3}: [ 65.461807][ T3638] lock_acquire+0x23a/0x630 [ 65.466837][ T3638] __mutex_lock_common+0x1d4/0x2520 [ 65.472568][ T3638] mutex_lock_nested+0x17/0x20 [ 65.477852][ T3638] freezer_attach+0xa8/0x280 [ 65.482969][ T3638] cgroup_migrate_execute+0x7e3/0x1060 [ 65.488950][ T3638] cgroup_attach_task+0x5a3/0x9a0 [ 65.494511][ T3638] __cgroup1_procs_write+0x2ee/0x460 [ 65.500318][ T3638] cgroup_file_write+0x2c6/0x690 [ 65.505775][ T3638] kernfs_fop_write_iter+0x3a2/0x4f0 [ 65.511584][ T3638] vfs_write+0x7ae/0xba0 [ 65.516355][ T3638] ksys_write+0x19c/0x2c0 [ 65.521210][ T3638] do_syscall_64+0x3d/0xb0 [ 65.526145][ T3638] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 65.532570][ T3638] [ 65.532570][ T3638] -> #1 (cgroup_threadgroup_rwsem){++++}-{0:0}: [ 65.540997][ T3638] lock_acquire+0x23a/0x630 [ 65.546040][ T3638] percpu_down_write+0x50/0x2e0 [ 65.551426][ T3638] cgroup_procs_write_start+0x1b0/0x630 [ 65.557497][ T3638] __cgroup_procs_write+0xf6/0x4a0 [ 65.563213][ T3638] cgroup_procs_write+0x25/0x50 [ 65.568599][ T3638] cgroup_file_write+0x2c6/0x690 [ 65.574064][ T3638] kernfs_fop_write_iter+0x3a2/0x4f0 [ 65.579886][ T3638] vfs_write+0x7ae/0xba0 [ 65.584647][ T3638] ksys_write+0x19c/0x2c0 [ 65.589501][ T3638] do_syscall_64+0x3d/0xb0 [ 65.594436][ T3638] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 65.600871][ T3638] [ 65.600871][ T3638] -> #0 (cpu_hotplug_lock){++++}-{0:0}: [ 65.608614][ T3638] validate_chain+0x1667/0x58e0 [ 65.613986][ T3638] __lock_acquire+0x125b/0x1f80 [ 65.619366][ T3638] lock_acquire+0x23a/0x630 [ 65.624394][ T3638] cpus_read_lock+0x3e/0x150 [ 65.629516][ T3638] static_key_slow_inc+0xe/0x20 [ 65.634891][ T3638] freezer_apply_state+0x1a6/0x3f0 [ 65.640523][ T3638] freezer_write+0x25e/0x3e0 [ 65.645635][ T3638] cgroup_file_write+0x2c6/0x690 [ 65.651110][ T3638] kernfs_fop_write_iter+0x3a2/0x4f0 [ 65.656920][ T3638] vfs_write+0x7ae/0xba0 [ 65.661730][ T3638] ksys_write+0x19c/0x2c0 [ 65.666591][ T3638] do_syscall_64+0x3d/0xb0 [ 65.671540][ T3638] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 65.677957][ T3638] [ 65.677957][ T3638] other info that might help us debug this: [ 65.677957][ T3638] [ 65.688173][ T3638] Chain exists of: [ 65.688173][ T3638] cpu_hotplug_lock --> cgroup_threadgroup_rwsem --> freezer_mutex [ 65.688173][ T3638] [ 65.701907][ T3638] Possible unsafe locking scenario: [ 65.701907][ T3638] [ 65.709368][ T3638] CPU0 CPU1 [ 65.714725][ T3638] ---- ---- [ 65.720082][ T3638] lock(freezer_mutex); [ 65.724319][ T3638] lock(cgroup_threadgroup_rwsem); [ 65.732028][ T3638] lock(freezer_mutex); [ 65.738788][ T3638] lock(cpu_hotplug_lock); [ 65.743295][ T3638] [ 65.743295][ T3638] *** DEADLOCK *** [ 65.743295][ T3638] [ 65.751431][ T3638] 4 locks held by syz-executor375/3638: [ 65.756972][ T3638] #0: ffff888022bb0460 (sb_writers#10){.+.+}-{0:0}, at: vfs_write+0x269/0xba0 [ 65.765978][ T3638] #1: ffff888022650488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x4f0 [ 65.775747][ T3638] #2: ffff888145a613a8 (kn->active#56){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20b/0x4f0 [ 65.785772][ T3638] #3: ffffffff8cf5a688 (freezer_mutex){+.+.}-{3:3}, at: freezer_write+0x9f/0x3e0 [ 65.795029][ T3638] [ 65.795029][ T3638] stack backtrace: [ 65.800908][ T3638] CPU: 1 PID: 3638 Comm: syz-executor375 Not tainted 6.1.18-syzkaller #0 [ 65.809323][ T3638] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 [ 65.819375][ T3638] Call Trace: [ 65.822657][ T3638] [ 65.825588][ T3638] dump_stack_lvl+0x1e3/0x2cb [ 65.830285][ T3638] ? nf_tcp_handle_invalid+0x642/0x642 [ 65.835749][ T3638] ? print_circular_bug+0x12b/0x1a0 [ 65.840947][ T3638] check_noncircular+0x2fa/0x3b0 [ 65.845915][ T3638] ? add_chain_block+0x850/0x850 [ 65.850851][ T3638] ? lockdep_lock+0x11f/0x2a0 [ 65.855532][ T3638] ? lockdep_unlock+0x165/0x300 [ 65.860401][ T3638] ? lockdep_lock+0x2a0/0x2a0 [ 65.865079][ T3638] ? _find_first_zero_bit+0xd0/0x100 [ 65.870364][ T3638] validate_chain+0x1667/0x58e0 [ 65.875223][ T3638] ? validate_chain+0x13d1/0x58e0 [ 65.880340][ T3638] ? reacquire_held_locks+0x660/0x660 [ 65.885718][ T3638] ? rcu_lock_release+0x5/0x20 [ 65.890499][ T3638] ? reacquire_held_locks+0x660/0x660 [ 65.895903][ T3638] ? validate_chain+0x115/0x58e0 [ 65.900846][ T3638] ? mark_lock+0x9a/0x340 [ 65.905168][ T3638] __lock_acquire+0x125b/0x1f80 [ 65.910034][ T3638] lock_acquire+0x23a/0x630 [ 65.914541][ T3638] ? static_key_slow_inc+0xe/0x20 [ 65.919562][ T3638] ? read_lock_is_recursive+0x10/0x10 [ 65.924958][ T3638] ? mark_lock+0x9a/0x340 [ 65.929298][ T3638] ? __might_sleep+0xb0/0xb0 [ 65.933894][ T3638] cpus_read_lock+0x3e/0x150 [ 65.938484][ T3638] ? static_key_slow_inc+0xe/0x20 [ 65.943499][ T3638] static_key_slow_inc+0xe/0x20 [ 65.948344][ T3638] freezer_apply_state+0x1a6/0x3f0 [ 65.953458][ T3638] ? css_put+0x260/0x260 [ 65.957702][ T3638] ? rcu_lock_release+0x5/0x20 [ 65.962461][ T3638] ? __lock_acquire+0x1f80/0x1f80 [ 65.967493][ T3638] freezer_write+0x25e/0x3e0 [ 65.972085][ T3638] ? freezer_read+0x860/0x860 [ 65.976762][ T3638] cgroup_file_write+0x2c6/0x690 [ 65.981707][ T3638] ? mutex_lock_io_nested+0x60/0x60 [ 65.986905][ T3638] ? cgroup_seqfile_stop+0xd0/0xd0 [ 65.992025][ T3638] ? __virt_addr_valid+0x22b/0x2e0 [ 65.997147][ T3638] ? cgroup_seqfile_stop+0xd0/0xd0 [ 66.002270][ T3638] kernfs_fop_write_iter+0x3a2/0x4f0 [ 66.007566][ T3638] vfs_write+0x7ae/0xba0 [ 66.011836][ T3638] ? file_end_write+0x250/0x250 [ 66.016688][ T3638] ? do_sys_openat2+0x42b/0x500 [ 66.021554][ T3638] ? __fdget_pos+0x261/0x2f0 [ 66.026158][ T3638] ksys_write+0x19c/0x2c0 [ 66.030497][ T3638] ? print_irqtrace_events+0x210/0x210 [ 66.035964][ T3638] ? __ia32_sys_read+0x80/0x80 [ 66.040737][ T3638] ? syscall_enter_from_user_mode+0x2e/0x2b0 [ 66.046726][ T3638] ? lockdep_hardirqs_on+0x94/0x130 [ 66.051940][ T3638] ? syscall_enter_from_user_mode+0x2e/0x2b0 [ 66.057925][ T3638] do_syscall_64+0x3d/0xb0 [ 66.062345][ T3638] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 66.068246][ T3638] RIP: 0033:0x7f5488e6ede9 [ 66.072683][ T3638] 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 [ 66.092289][ T3638] RSP: 002b:00007ffc1a6c6978 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 66.100704][ T3638] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5488e6ede9 [ 66.108682][ T3638] RDX: 0000000000000007 RSI: 0000000020000040 RDI: 0000000000000004 [ 66.116930][ T3638] RBP: 0000000000000000 R08: 00007ffc1a6c69a0 R09: 00007ffc1a6c69a0 executing program executing program executing program executing program executing program executing program [ 66.124911][ T3638] R10: 00007ffc1a6c69a0 R11: 0000000000000246 R12: 00007ffc1a6c699c [ 66.132905][ T3638] R13: 00007ffc1a6c69b0 R14: 00007ffc1a6c69f0 R15: 0000000000000000 [ 66.140891][ T3638] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program