Warning: Permanently added '10.128.0.68' (ED25519) to the list of known hosts. executing program [ 45.169606][ T3563] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1497 [ 45.179512][ T3563] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3563, name: syz-executor192 [ 45.189273][ T3563] 1 lock held by syz-executor192/3563: [ 45.194711][ T3563] #0: ffffffff8c945618 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x24/0x2e0 [ 45.204451][ T3563] irq event stamp: 14870 [ 45.208665][ T3563] hardirqs last enabled at (14869): [] _raw_spin_unlock_irqrestore+0x8b/0x130 [ 45.219149][ T3563] hardirqs last disabled at (14870): [] _raw_spin_lock_irq+0xa9/0x110 [ 45.228857][ T3563] softirqs last enabled at (14850): [] ip_setsockopt+0x260e/0x3fb0 [ 45.238432][ T3563] softirqs last disabled at (14848): [] release_sock+0x2c/0x1c0 [ 45.247620][ T3563] Preemption disabled at: [ 45.247631][ T3563] [<0000000000000000>] 0x0 [ 45.256342][ T3563] CPU: 1 PID: 3563 Comm: syz-executor192 Not tainted 5.15.164-syzkaller #0 [ 45.264901][ T3563] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 45.274940][ T3563] Call Trace: [ 45.278228][ T3563] [ 45.281141][ T3563] dump_stack_lvl+0x1e3/0x2d0 [ 45.285796][ T3563] ? ip_setsockopt+0x260e/0x3fb0 [ 45.290717][ T3563] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 45.296335][ T3563] ? panic+0x860/0x860 [ 45.300427][ T3563] ___might_sleep+0x547/0x6a0 [ 45.305089][ T3563] ? __might_sleep+0xc0/0xc0 [ 45.309667][ T3563] down_read+0x21/0x2e0 [ 45.313815][ T3563] ? kernfs_walk_and_get_ns+0x72/0x2b0 [ 45.319272][ T3563] kernfs_walk_and_get_ns+0x7e/0x2b0 [ 45.324643][ T3563] ? kernfs_find_ns+0x500/0x500 [ 45.329491][ T3563] ? current_cgns_cgroup_from_root+0x2ad/0x300 [ 45.335639][ T3563] cgroup_get_from_path+0x5c/0x2e0 [ 45.340745][ T3563] cgroup_mt_check_v1+0x1a0/0x2b0 [ 45.345765][ T3563] xt_check_match+0x363/0xa30 [ 45.350424][ T3563] ? xt_find_match+0x6d/0x200 [ 45.355081][ T3563] ? mutex_unlock+0x10/0x10 [ 45.359564][ T3563] ? xt_check_proc_name+0x110/0x110 [ 45.364738][ T3563] ? pcpu_alloc+0x10c9/0x17c0 [ 45.369402][ T3563] ? xt_find_match+0x1cf/0x200 [ 45.374150][ T3563] translate_table+0x15bd/0x2250 [ 45.379114][ T3563] ? ipt_register_table+0x7a0/0x7a0 [ 45.384316][ T3563] ? __might_fault+0xb8/0x110 [ 45.388971][ T3563] ? __lock_acquire+0x1ff0/0x1ff0 [ 45.393978][ T3563] ? _copy_from_user+0x10f/0x170 [ 45.398896][ T3563] ? copy_from_sockptr_offset+0x6b/0xa0 [ 45.404428][ T3563] do_ipt_set_ctl+0xdbc/0x1200 [ 45.409173][ T3563] ? rcu_lock_release+0x20/0x20 [ 45.414005][ T3563] ? ipt_unregister_table_exit+0x1e0/0x1e0 [ 45.419794][ T3563] ? __lock_acquire+0x1ff0/0x1ff0 [ 45.424813][ T3563] ? __mutex_unlock_slowpath+0x218/0x750 [ 45.430421][ T3563] ? nf_setsockopt+0x38/0x2b0 [ 45.435073][ T3563] ? print_irqtrace_events+0x210/0x210 [ 45.440509][ T3563] ? mutex_unlock+0x10/0x10 [ 45.445160][ T3563] ? lockdep_hardirqs_on+0x94/0x130 [ 45.450334][ T3563] ? __local_bh_enable_ip+0x164/0x1f0 [ 45.455684][ T3563] nf_setsockopt+0x28a/0x2b0 [ 45.460255][ T3563] ip_setsockopt+0x2732/0x3fb0 [ 45.464999][ T3563] ? ipv4_pktinfo_prepare+0x6f0/0x6f0 [ 45.470351][ T3563] ? local_lock_release+0x96/0x170 [ 45.475449][ T3563] ? aa_sk_perm+0xa30/0xa30 [ 45.479945][ T3563] ? do_raw_spin_unlock+0x137/0x8b0 [ 45.485120][ T3563] tcp_setsockopt+0x23f/0x3680 [ 45.489861][ T3563] ? __lock_acquire+0x1295/0x1ff0 [ 45.494865][ T3563] ? tcp_set_window_clamp+0x1b0/0x1b0 [ 45.500209][ T3563] ? aa_sk_perm+0x8fc/0xa30 [ 45.504689][ T3563] ? aa_af_perm+0x350/0x350 [ 45.509187][ T3563] ? aa_sock_opt_perm+0x79/0x110 [ 45.514099][ T3563] ? sock_common_setsockopt+0x33/0xc0 [ 45.519451][ T3563] ? sock_common_recvmsg+0x240/0x240 [ 45.524714][ T3563] __sys_setsockopt+0x57e/0x990 [ 45.529554][ T3563] ? __ia32_sys_recv+0xb0/0xb0 [ 45.534298][ T3563] ? syscall_enter_from_user_mode+0x2e/0x240 [ 45.540265][ T3563] __x64_sys_setsockopt+0xb1/0xc0 [ 45.545265][ T3563] do_syscall_64+0x3b/0xb0 [ 45.549655][ T3563] ? clear_bhb_loop+0x15/0x70 [ 45.554306][ T3563] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 45.560180][ T3563] RIP: 0033:0x7fbf971d8629 [ 45.564575][ T3563] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48 [ 45.584376][ T3563] RSP: 002b:00007ffe8427b018 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 45.592777][ T3563] RAX: ffffffffffffffda RBX: 00007ffe8427b1e8 RCX: 00007fbf971d8629 [ 45.600727][ T3563] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 [ 45.608678][ T3563] RBP: 00007fbf9724c610 R08: 0000000000001290 R09: 00007ffe8427b1e8 [ 45.616630][ T3563] R10: 0000000020001c40 R11: 0000000000000246 R12: 0000000000000001 [ 45.624576][ T3563] R13: 00007ffe8427b1d8 R14: 0000000000000001 R15: 0000000000000001 [ 45.632620][ T3563] [ 45.635636][ T3563] [ 45.637946][ T3563] ============================= [ 45.642760][ T3563] [ BUG: Invalid wait context ] [ 45.647577][ T3563] 5.15.164-syzkaller #0 Tainted: G W [ 45.654286][ T3563] ----------------------------- [ 45.659114][ T3563] syz-executor192/3563 is trying to lock: [ 45.664811][ T3563] ffffffff8ca523d0 (kernfs_rwsem){++++}-{3:3}, at: kernfs_walk_and_get_ns+0x7e/0x2b0 [ 45.674266][ T3563] other info that might help us debug this: [ 45.680133][ T3563] context-{4:4} [ 45.683565][ T3563] 1 lock held by syz-executor192/3563: [ 45.688993][ T3563] #0: ffffffff8c945618 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x24/0x2e0 [ 45.698711][ T3563] stack backtrace: [ 45.702492][ T3563] CPU: 1 PID: 3563 Comm: syz-executor192 Tainted: G W 5.15.164-syzkaller #0 [ 45.712444][ T3563] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 45.722583][ T3563] Call Trace: [ 45.725855][ T3563] [ 45.728779][ T3563] dump_stack_lvl+0x1e3/0x2d0 [ 45.733619][ T3563] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 45.739241][ T3563] ? panic+0x860/0x860 [ 45.743295][ T3563] __lock_acquire+0x14f5/0x1ff0 [ 45.748259][ T3563] lock_acquire+0x1db/0x4f0 [ 45.752739][ T3563] ? kernfs_walk_and_get_ns+0x7e/0x2b0 [ 45.758174][ T3563] ? read_lock_is_recursive+0x10/0x10 [ 45.763692][ T3563] ? __might_sleep+0xc0/0xc0 [ 45.768259][ T3563] down_read+0x45/0x2e0 [ 45.772392][ T3563] ? kernfs_walk_and_get_ns+0x7e/0x2b0 [ 45.777823][ T3563] ? kernfs_walk_and_get_ns+0x72/0x2b0 [ 45.783430][ T3563] kernfs_walk_and_get_ns+0x7e/0x2b0 [ 45.788688][ T3563] ? kernfs_find_ns+0x500/0x500 [ 45.793514][ T3563] ? current_cgns_cgroup_from_root+0x2ad/0x300 [ 45.799732][ T3563] cgroup_get_from_path+0x5c/0x2e0 [ 45.804819][ T3563] cgroup_mt_check_v1+0x1a0/0x2b0 [ 45.810080][ T3563] xt_check_match+0x363/0xa30 [ 45.814731][ T3563] ? xt_find_match+0x6d/0x200 [ 45.819381][ T3563] ? mutex_unlock+0x10/0x10 [ 45.823859][ T3563] ? xt_check_proc_name+0x110/0x110 [ 45.829033][ T3563] ? pcpu_alloc+0x10c9/0x17c0 [ 45.833822][ T3563] ? xt_find_match+0x1cf/0x200 [ 45.838575][ T3563] translate_table+0x15bd/0x2250 [ 45.843508][ T3563] ? ipt_register_table+0x7a0/0x7a0 [ 45.848700][ T3563] ? __might_fault+0xb8/0x110 [ 45.853361][ T3563] ? __lock_acquire+0x1ff0/0x1ff0 [ 45.858368][ T3563] ? _copy_from_user+0x10f/0x170 [ 45.863318][ T3563] ? copy_from_sockptr_offset+0x6b/0xa0 [ 45.868857][ T3563] do_ipt_set_ctl+0xdbc/0x1200 [ 45.873609][ T3563] ? rcu_lock_release+0x20/0x20 [ 45.878443][ T3563] ? ipt_unregister_table_exit+0x1e0/0x1e0 [ 45.884227][ T3563] ? __lock_acquire+0x1ff0/0x1ff0 [ 45.889231][ T3563] ? __mutex_unlock_slowpath+0x218/0x750 [ 45.894837][ T3563] ? nf_setsockopt+0x38/0x2b0 [ 45.899495][ T3563] ? print_irqtrace_events+0x210/0x210 [ 45.904938][ T3563] ? mutex_unlock+0x10/0x10 [ 45.909427][ T3563] ? lockdep_hardirqs_on+0x94/0x130 [ 45.914742][ T3563] ? __local_bh_enable_ip+0x164/0x1f0 [ 45.920105][ T3563] nf_setsockopt+0x28a/0x2b0 [ 45.924690][ T3563] ip_setsockopt+0x2732/0x3fb0 [ 45.929443][ T3563] ? ipv4_pktinfo_prepare+0x6f0/0x6f0 [ 45.934812][ T3563] ? local_lock_release+0x96/0x170 [ 45.939910][ T3563] ? aa_sk_perm+0xa30/0xa30 [ 45.944400][ T3563] ? do_raw_spin_unlock+0x137/0x8b0 [ 45.949582][ T3563] tcp_setsockopt+0x23f/0x3680 [ 45.954343][ T3563] ? __lock_acquire+0x1295/0x1ff0 [ 45.959358][ T3563] ? tcp_set_window_clamp+0x1b0/0x1b0 [ 45.964928][ T3563] ? aa_sk_perm+0x8fc/0xa30 [ 45.969426][ T3563] ? aa_af_perm+0x350/0x350 [ 45.973913][ T3563] ? aa_sock_opt_perm+0x79/0x110 [ 45.978846][ T3563] ? sock_common_setsockopt+0x33/0xc0 [ 45.984222][ T3563] ? sock_common_recvmsg+0x240/0x240 [ 45.989483][ T3563] __sys_setsockopt+0x57e/0x990 [ 45.994313][ T3563] ? __ia32_sys_recv+0xb0/0xb0 [ 45.999065][ T3563] ? syscall_enter_from_user_mode+0x2e/0x240 [ 46.005032][ T3563] __x64_sys_setsockopt+0xb1/0xc0 [ 46.010033][ T3563] do_syscall_64+0x3b/0xb0 [ 46.014426][ T3563] ? clear_bhb_loop+0x15/0x70 [ 46.019091][ T3563] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 46.024981][ T3563] RIP: 0033:0x7fbf971d8629 [ 46.029394][ T3563] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48 [ 46.048998][ T3563] RSP: 002b:00007ffe8427b018 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 46.057396][ T3563] RAX: ffffffffffffffda RBX: 00007ffe8427b1e8 RCX: 00007fbf971d8629 [ 46.065358][ T3563] RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 [ 46