Warning: Permanently added '10.128.10.45' (ED25519) to the list of known hosts. executing program [ 54.016586][ T3486] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1487 [ 54.026132][ T3486] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3486, name: syz-executor394 [ 54.035604][ T3486] 1 lock held by syz-executor394/3486: [ 54.041061][ T3486] #0: ffffffff8c944a58 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x24/0x2e0 [ 54.050848][ T3486] irq event stamp: 14912 [ 54.055078][ T3486] hardirqs last enabled at (14911): [] _raw_spin_unlock_irqrestore+0x8b/0x130 [ 54.065587][ T3486] hardirqs last disabled at (14912): [] _raw_spin_lock_irq+0xa9/0x110 [ 54.075321][ T3486] softirqs last enabled at (14888): [] ipv6_setsockopt+0x2f1f/0x43a0 [ 54.085048][ T3486] softirqs last disabled at (14886): [] release_sock+0x2c/0x1c0 [ 54.094246][ T3486] Preemption disabled at: [ 54.094255][ T3486] [<0000000000000000>] 0x0 [ 54.103057][ T3486] CPU: 0 PID: 3486 Comm: syz-executor394 Not tainted 5.15.126-syzkaller #0 [ 54.111813][ T3486] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 54.121860][ T3486] Call Trace: [ 54.125139][ T3486] [ 54.128066][ T3486] dump_stack_lvl+0x1e3/0x2cb [ 54.132743][ T3486] ? ipv6_setsockopt+0x2f1f/0x43a0 [ 54.137857][ T3486] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 54.143487][ T3486] ? panic+0x84d/0x84d [ 54.147652][ T3486] ___might_sleep+0x547/0x6a0 [ 54.152663][ T3486] ? __might_sleep+0xc0/0xc0 [ 54.157285][ T3486] down_read+0x21/0x2e0 [ 54.161459][ T3486] ? kernfs_walk_and_get_ns+0x72/0x2b0 [ 54.166958][ T3486] kernfs_walk_and_get_ns+0x7e/0x2b0 [ 54.172705][ T3486] ? kernfs_find_ns+0x500/0x500 [ 54.179403][ T3486] ? current_cgns_cgroup_from_root+0x2ad/0x300 [ 54.185558][ T3486] cgroup_get_from_path+0x5c/0x2e0 [ 54.191039][ T3486] cgroup_mt_check_v1+0x1a0/0x2b0 [ 54.196359][ T3486] xt_check_match+0x363/0xa30 [ 54.201852][ T3486] ? xt_find_match+0x6d/0x200 [ 54.206543][ T3486] ? mutex_unlock+0x10/0x10 [ 54.211143][ T3486] ? xt_check_proc_name+0x110/0x110 [ 54.216340][ T3486] ? pcpu_alloc+0x10c9/0x17c0 [ 54.221022][ T3486] ? xt_find_match+0x1cf/0x200 [ 54.225787][ T3486] translate_table+0x1669/0x2320 [ 54.230749][ T3486] ? ip6t_register_table+0x7b0/0x7b0 [ 54.236042][ T3486] ? __might_fault+0xb8/0x110 [ 54.240723][ T3486] ? __lock_acquire+0x1ff0/0x1ff0 [ 54.245754][ T3486] ? __might_fault+0xb4/0x110 [ 54.250557][ T3486] do_ip6t_set_ctl+0x2cf3/0x3f50 [ 54.256151][ T3486] ? ip6t_unregister_table_exit+0x1f0/0x1f0 [ 54.262072][ T3486] ? rcu_lock_release+0x20/0x20 [ 54.267123][ T3486] ? __mutex_lock_common+0x444/0x25a0 [ 54.272517][ T3486] ? __mutex_unlock_slowpath+0x218/0x750 [ 54.278256][ T3486] ? nf_setsockopt+0x38/0x2b0 [ 54.282935][ T3486] ? print_irqtrace_events+0x210/0x210 [ 54.288399][ T3486] ? mutex_unlock+0x10/0x10 [ 54.292906][ T3486] ? lockdep_hardirqs_on+0x94/0x130 [ 54.298142][ T3486] ? __local_bh_enable_ip+0x164/0x1f0 [ 54.303566][ T3486] nf_setsockopt+0x28a/0x2b0 [ 54.308156][ T3486] ipv6_setsockopt+0x2f9a/0x43a0 [ 54.313094][ T3486] ? reacquire_held_locks+0x660/0x660 [ 54.318477][ T3486] ? ipv6_update_options+0x3f0/0x3f0 [ 54.323779][ T3486] ? mark_lock+0x98/0x340 [ 54.328128][ T3486] ? mark_lock+0x98/0x340 [ 54.332465][ T3486] ? validate_chain+0x112/0x58b0 [ 54.337450][ T3486] ? reacquire_held_locks+0x660/0x660 [ 54.342839][ T3486] ? aa_label_sk_perm+0x453/0x630 [ 54.347942][ T3486] ? local_lock_release+0x96/0x170 [ 54.353083][ T3486] ? aa_sk_perm+0xa30/0xa30 [ 54.357620][ T3486] ? do_raw_spin_unlock+0x137/0x8b0 [ 54.362965][ T3486] ? __might_sleep+0xc0/0xc0 [ 54.367586][ T3486] ? __lock_acquire+0x1295/0x1ff0 [ 54.372633][ T3486] ? aa_sk_perm+0x8fc/0xa30 [ 54.377184][ T3486] ? aa_af_perm+0x350/0x350 [ 54.381701][ T3486] ? aa_sock_opt_perm+0x79/0x110 [ 54.386649][ T3486] ? udpv6_setsockopt+0x77/0xa0 [ 54.391512][ T3486] ? sock_common_recvmsg+0x240/0x240 [ 54.396817][ T3486] __sys_setsockopt+0x57e/0x990 [ 54.401682][ T3486] ? __ia32_sys_recv+0xb0/0xb0 [ 54.406569][ T3486] ? syscall_enter_from_user_mode+0x2e/0x230 [ 54.412964][ T3486] __x64_sys_setsockopt+0xb1/0xc0 [ 54.418002][ T3486] do_syscall_64+0x3d/0xb0 [ 54.422442][ T3486] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 54.428358][ T3486] RIP: 0033:0x7f47da5942a9 [ 54.432780][ T3486] 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 [ 54.452660][ T3486] RSP: 002b:00007ffcec1101d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 54.461078][ T3486] RAX: ffffffffffffffda RBX: 00007ffcec1103a8 RCX: 00007f47da5942a9 [ 54.469073][ T3486] RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 [ 54.477085][ T3486] RBP: 00007f47da608610 R08: 0000000000000001 R09: 00007ffcec1103a8 [ 54.485159][ T3486] R10: 0000000020002a80 R11: 0000000000000246 R12: 0000000000000001 [ 54.493217][ T3486] R13: 00007ffcec110398 R14: 0000000000000001 R15: 0000000000000001 [ 54.501196][ T3486] [ 54.504212][ T3486] [ 54.506521][ T3486] ============================= [ 54.511349][ T3486] [ BUG: Invalid wait context ] [ 54.516187][ T3486] 5.15.126-syzkaller #0 Tainted: G W [ 54.522947][ T3486] ----------------------------- [ 54.528021][ T3486] syz-executor394/3486 is trying to lock: [ 54.533920][ T3486] ffffffff8ca50a90 (kernfs_rwsem){++++}-{3:3}, at: kernfs_walk_and_get_ns+0x7e/0x2b0 [ 54.543889][ T3486] other info that might help us debug this: [ 54.549792][ T3486] context-{4:4} [ 54.553259][ T3486] 1 lock held by syz-executor394/3486: [ 54.558932][ T3486] #0: ffffffff8c944a58 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x24/0x2e0 [ 54.573033][ T3486] stack backtrace: [ 54.576777][ T3486] CPU: 0 PID: 3486 Comm: syz-executor394 Tainted: G W 5.15.126-syzkaller #0 [ 54.586747][ T3486] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 54.597240][ T3486] Call Trace: [ 54.600528][ T3486] [ 54.603455][ T3486] dump_stack_lvl+0x1e3/0x2cb [ 54.608150][ T3486] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 54.613776][ T3486] ? panic+0x84d/0x84d [ 54.617857][ T3486] __lock_acquire+0x14f5/0x1ff0 [ 54.622736][ T3486] lock_acquire+0x1db/0x4f0 [ 54.627419][ T3486] ? kernfs_walk_and_get_ns+0x7e/0x2b0 [ 54.632912][ T3486] ? read_lock_is_recursive+0x10/0x10 [ 54.638714][ T3486] ? __might_sleep+0xc0/0xc0 [ 54.643356][ T3486] down_read+0x45/0x2e0 [ 54.647694][ T3486] ? kernfs_walk_and_get_ns+0x7e/0x2b0 [ 54.653170][ T3486] ? kernfs_walk_and_get_ns+0x72/0x2b0 [ 54.658643][ T3486] kernfs_walk_and_get_ns+0x7e/0x2b0 [ 54.663957][ T3486] ? kernfs_find_ns+0x500/0x500 [ 54.668851][ T3486] ? current_cgns_cgroup_from_root+0x2ad/0x300 [ 54.675123][ T3486] cgroup_get_from_path+0x5c/0x2e0 [ 54.680247][ T3486] cgroup_mt_check_v1+0x1a0/0x2b0 [ 54.685274][ T3486] xt_check_match+0x363/0xa30 [ 54.689964][ T3486] ? xt_find_match+0x6d/0x200 [ 54.694659][ T3486] ? mutex_unlock+0x10/0x10 [ 54.699169][ T3486] ? xt_check_proc_name+0x110/0x110 [ 54.704462][ T3486] ? pcpu_alloc+0x10c9/0x17c0 [ 54.709144][ T3486] ? xt_find_match+0x1cf/0x200 [ 54.713911][ T3486] translate_table+0x1669/0x2320 [ 54.718952][ T3486] ? ip6t_register_table+0x7b0/0x7b0 [ 54.724253][ T3486] ? __might_fault+0xb8/0x110 [ 54.728953][ T3486] ? __lock_acquire+0x1ff0/0x1ff0 [ 54.733999][ T3486] ? __might_fault+0xb4/0x110 [ 54.738681][ T3486] do_ip6t_set_ctl+0x2cf3/0x3f50 [ 54.743992][ T3486] ? ip6t_unregister_table_exit+0x1f0/0x1f0 [ 54.749886][ T3486] ? rcu_lock_release+0x20/0x20 [ 54.754737][ T3486] ? __mutex_lock_common+0x444/0x25a0 [ 54.760193][ T3486] ? __mutex_unlock_slowpath+0x218/0x750 [ 54.766080][ T3486] ? nf_setsockopt+0x38/0x2b0 [ 54.770754][ T3486] ? print_irqtrace_events+0x210/0x210 [ 54.776212][ T3486] ? mutex_unlock+0x10/0x10 [ 54.780711][ T3486] ? lockdep_hardirqs_on+0x94/0x130 [ 54.785915][ T3486] ? __local_bh_enable_ip+0x164/0x1f0 [ 54.791280][ T3486] nf_setsockopt+0x28a/0x2b0 [ 54.795867][ T3486] ipv6_setsockopt+0x2f9a/0x43a0 [ 54.800797][ T3486] ? reacquire_held_locks+0x660/0x660 [ 54.806163][ T3486] ? ipv6_update_options+0x3f0/0x3f0 [ 54.811440][ T3486] ? mark_lock+0x98/0x340 [ 54.815777][ T3486] ? mark_lock+0x98/0x340 [ 54.820120][ T3486] ? validate_chain+0x112/0x58b0 [ 54.825055][ T3486] ? reacquire_held_locks+0x660/0x660 [ 54.830420][ T3486] ? aa_label_sk_perm+0x453/0x630 [ 54.835526][ T3486] ? local_lock_release+0x96/0x170 [ 54.840714][ T3486] ? aa_sk_perm+0xa30/0xa30 [ 54.845214][ T3486] ? do_raw_spin_unlock+0x137/0x8b0 [ 54.850491][ T3486] ? __might_sleep+0xc0/0xc0 [ 54.855076][ T3486] ? __lock_acquire+0x1295/0x1ff0 [ 54.860187][ T3486] ? aa_sk_perm+0x8fc/0xa30 [ 54.864694][ T3486] ? aa_af_perm+0x350/0x350 [ 54.869194][ T3486] ? aa_sock_opt_perm+0x79/0x110 [ 54.874132][ T3486] ? udpv6_setsockopt+0x77/0xa0 [ 54.878977][ T3486] ? sock_common_recvmsg+0x240/0x240 [ 54.884259][ T3486] __sys_setsockopt+0x57e/0x990 [ 54.889113][ T3486] ? __ia32_sys_recv+0xb0/0xb0 [ 54.893916][ T3486] ? syscall_enter_from_user_mode+0x2e/0x230 [ 54.899925][ T3486] __x64_sys_setsockopt+0xb1/0xc0 [ 54.905069][ T3486] do_syscall_64+0x3d/0xb0 [ 54.909875][ T3486] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 54.915974][ T3486] RIP: 0033:0x7f47da5942a9 [ 54.920392][ T3486] 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 [ 54.939996][ T3486] RSP: 002b:00007ffcec1101d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 54.948420][ T3486] RAX: ffffffffffffffda RBX: 00007ffcec1103a8 RCX: 00007f47da5942a9 [ 54.956601][ T3486] RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 [ 54.964572][ T3486] RBP: 00007f47da608610 R08: 0000000000000001 R09: