Warning: Permanently added '10.128.1.66' (ED25519) to the list of known hosts. executing program [ 42.806869][ T3499] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1487 [ 42.816449][ T3499] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3499, name: syz-executor216 [ 42.825882][ T3499] 1 lock held by syz-executor216/3499: [ 42.831331][ T3499] #0: ffffffff8c944b98 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x24/0x2e0 [ 42.841064][ T3499] irq event stamp: 14888 [ 42.845276][ T3499] hardirqs last enabled at (14887): [] _raw_spin_unlock_irqrestore+0x8b/0x130 [ 42.855751][ T3499] hardirqs last disabled at (14888): [] _raw_spin_lock_irq+0xa9/0x110 [ 42.865531][ T3499] softirqs last enabled at (14864): [] ipv6_setsockopt+0x2f1f/0x43a0 [ 42.875228][ T3499] softirqs last disabled at (14862): [] release_sock+0x2c/0x1c0 [ 42.884656][ T3499] Preemption disabled at: [ 42.884662][ T3499] [<0000000000000000>] 0x0 [ 42.893339][ T3499] CPU: 0 PID: 3499 Comm: syz-executor216 Not tainted 5.15.143-syzkaller #0 [ 42.901899][ T3499] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 42.911928][ T3499] Call Trace: [ 42.915346][ T3499] [ 42.918267][ T3499] dump_stack_lvl+0x1e3/0x2cb [ 42.922935][ T3499] ? ipv6_setsockopt+0x2f1f/0x43a0 [ 42.928032][ T3499] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 42.933645][ T3499] ? panic+0x84d/0x84d [ 42.937696][ T3499] ___might_sleep+0x547/0x6a0 [ 42.942373][ T3499] ? __might_sleep+0xc0/0xc0 [ 42.946945][ T3499] down_read+0x21/0x2e0 [ 42.951079][ T3499] ? kernfs_walk_and_get_ns+0x72/0x2b0 [ 42.956512][ T3499] kernfs_walk_and_get_ns+0x7e/0x2b0 [ 42.961774][ T3499] ? kernfs_find_ns+0x500/0x500 [ 42.966604][ T3499] ? current_cgns_cgroup_from_root+0x2ad/0x300 [ 42.972734][ T3499] cgroup_get_from_path+0x5c/0x2e0 [ 42.977838][ T3499] cgroup_mt_check_v1+0x1a0/0x2b0 [ 42.982842][ T3499] xt_check_match+0x363/0xa30 [ 42.987496][ T3499] ? xt_find_match+0x6d/0x200 [ 42.992196][ T3499] ? mutex_unlock+0x10/0x10 [ 42.996678][ T3499] ? xt_check_proc_name+0x110/0x110 [ 43.001866][ T3499] ? pcpu_alloc+0x10c9/0x17c0 [ 43.006535][ T3499] ? xt_find_match+0x1cf/0x200 [ 43.011302][ T3499] translate_table+0x1669/0x2320 [ 43.016243][ T3499] ? ip6t_register_table+0x7b0/0x7b0 [ 43.021504][ T3499] ? __might_fault+0xb8/0x110 [ 43.026155][ T3499] ? __lock_acquire+0x1ff0/0x1ff0 [ 43.031159][ T3499] ? __might_fault+0xb4/0x110 [ 43.035813][ T3499] do_ip6t_set_ctl+0x2cf3/0x3f50 [ 43.040739][ T3499] ? ip6t_unregister_table_exit+0x1f0/0x1f0 [ 43.046606][ T3499] ? rcu_lock_release+0x20/0x20 [ 43.051437][ T3499] ? __mutex_lock_common+0x444/0x25a0 [ 43.056792][ T3499] ? __mutex_unlock_slowpath+0x218/0x750 [ 43.062401][ T3499] ? nf_setsockopt+0x38/0x2b0 [ 43.067051][ T3499] ? print_irqtrace_events+0x210/0x210 [ 43.072486][ T3499] ? mutex_unlock+0x10/0x10 [ 43.076970][ T3499] ? lockdep_hardirqs_on+0x94/0x130 [ 43.082142][ T3499] ? __local_bh_enable_ip+0x164/0x1f0 [ 43.087492][ T3499] nf_setsockopt+0x28a/0x2b0 [ 43.092066][ T3499] ipv6_setsockopt+0x2f9a/0x43a0 [ 43.096980][ T3499] ? reacquire_held_locks+0x660/0x660 [ 43.102332][ T3499] ? ipv6_update_options+0x3f0/0x3f0 [ 43.107592][ T3499] ? mark_lock+0x98/0x340 [ 43.111901][ T3499] ? mark_lock+0x98/0x340 [ 43.116203][ T3499] ? validate_chain+0x112/0x5930 [ 43.121128][ T3499] ? __lock_acquire+0x1295/0x1ff0 [ 43.126154][ T3499] ? reacquire_held_locks+0x660/0x660 [ 43.131514][ T3499] ? aa_label_sk_perm+0x453/0x630 [ 43.136527][ T3499] ? local_lock_release+0x96/0x170 [ 43.141613][ T3499] ? aa_sk_perm+0xa30/0xa30 [ 43.146093][ T3499] ? do_raw_spin_unlock+0x137/0x8b0 [ 43.151274][ T3499] ? __might_sleep+0xc0/0xc0 [ 43.155840][ T3499] ? __lock_acquire+0x1295/0x1ff0 [ 43.160845][ T3499] ? aa_sk_perm+0x8fc/0xa30 [ 43.165338][ T3499] ? aa_af_perm+0x350/0x350 [ 43.169817][ T3499] ? aa_sock_opt_perm+0x79/0x110 [ 43.174731][ T3499] ? udpv6_setsockopt+0x77/0xa0 [ 43.179560][ T3499] ? sock_common_recvmsg+0x240/0x240 [ 43.184820][ T3499] __sys_setsockopt+0x57e/0x990 [ 43.189653][ T3499] ? __ia32_sys_recv+0xb0/0xb0 [ 43.194395][ T3499] ? syscall_enter_from_user_mode+0x2e/0x230 [ 43.200352][ T3499] __x64_sys_setsockopt+0xb1/0xc0 [ 43.205355][ T3499] do_syscall_64+0x3d/0xb0 [ 43.209764][ T3499] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 43.215628][ T3499] RIP: 0033:0x7f6d49b632a9 [ 43.220019][ T3499] 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 [ 43.239599][ T3499] RSP: 002b:00007ffdcf654b18 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 43.247990][ T3499] RAX: ffffffffffffffda RBX: 00007ffdcf654ce8 RCX: 00007f6d49b632a9 [ 43.255938][ T3499] RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 [ 43.263901][ T3499] RBP: 00007f6d49bd7610 R08: 0000000000000001 R09: 00007ffdcf654ce8 [ 43.271859][ T3499] R10: 0000000020002680 R11: 0000000000000246 R12: 0000000000000001 [ 43.279803][ T3499] R13: 00007ffdcf654cd8 R14: 0000000000000001 R15: 0000000000000001 [ 43.287771][ T3499] [ 43.290769][ T3499] [ 43.293071][ T3499] ============================= [ 43.297886][ T3499] [ BUG: Invalid wait context ] [ 43.302700][ T3499] 5.15.143-syzkaller #0 Tainted: G W [ 43.309263][ T3499] ----------------------------- [ 43.314087][ T3499] syz-executor216/3499 is trying to lock: [ 43.319778][ T3499] ffffffff8ca50e10 (kernfs_rwsem){++++}-{3:3}, at: kernfs_walk_and_get_ns+0x7e/0x2b0 [ 43.329259][ T3499] other info that might help us debug this: [ 43.335129][ T3499] context-{4:4} [ 43.338575][ T3499] 1 lock held by syz-executor216/3499: [ 43.344004][ T3499] #0: ffffffff8c944b98 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x24/0x2e0 [ 43.353713][ T3499] stack backtrace: [ 43.357402][ T3499] CPU: 0 PID: 3499 Comm: syz-executor216 Tainted: G W 5.15.143-syzkaller #0 [ 43.367345][ T3499] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 43.377385][ T3499] Call Trace: [ 43.380655][ T3499] [ 43.383560][ T3499] dump_stack_lvl+0x1e3/0x2cb [ 43.388213][ T3499] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 43.393821][ T3499] ? panic+0x84d/0x84d [ 43.397864][ T3499] __lock_acquire+0x14f5/0x1ff0 [ 43.402687][ T3499] lock_acquire+0x1db/0x4f0 [ 43.407191][ T3499] ? kernfs_walk_and_get_ns+0x7e/0x2b0 [ 43.412626][ T3499] ? read_lock_is_recursive+0x10/0x10 [ 43.417973][ T3499] ? __might_sleep+0xc0/0xc0 [ 43.422537][ T3499] down_read+0x45/0x2e0 [ 43.426678][ T3499] ? kernfs_walk_and_get_ns+0x7e/0x2b0 [ 43.432105][ T3499] ? kernfs_walk_and_get_ns+0x72/0x2b0 [ 43.437535][ T3499] kernfs_walk_and_get_ns+0x7e/0x2b0 [ 43.442792][ T3499] ? kernfs_find_ns+0x500/0x500 [ 43.447615][ T3499] ? current_cgns_cgroup_from_root+0x2ad/0x300 [ 43.453743][ T3499] cgroup_get_from_path+0x5c/0x2e0 [ 43.458827][ T3499] cgroup_mt_check_v1+0x1a0/0x2b0 [ 43.463824][ T3499] xt_check_match+0x363/0xa30 [ 43.468487][ T3499] ? xt_find_match+0x6d/0x200 [ 43.473134][ T3499] ? mutex_unlock+0x10/0x10 [ 43.477609][ T3499] ? xt_check_proc_name+0x110/0x110 [ 43.482776][ T3499] ? pcpu_alloc+0x10c9/0x17c0 [ 43.487424][ T3499] ? xt_find_match+0x1cf/0x200 [ 43.492160][ T3499] translate_table+0x1669/0x2320 [ 43.497075][ T3499] ? ip6t_register_table+0x7b0/0x7b0 [ 43.502335][ T3499] ? __might_fault+0xb8/0x110 [ 43.506984][ T3499] ? __lock_acquire+0x1ff0/0x1ff0 [ 43.511983][ T3499] ? __might_fault+0xb4/0x110 [ 43.516631][ T3499] do_ip6t_set_ctl+0x2cf3/0x3f50 [ 43.521545][ T3499] ? ip6t_unregister_table_exit+0x1f0/0x1f0 [ 43.527422][ T3499] ? rcu_lock_release+0x20/0x20 [ 43.532252][ T3499] ? __mutex_lock_common+0x444/0x25a0 [ 43.537597][ T3499] ? __mutex_unlock_slowpath+0x218/0x750 [ 43.543223][ T3499] ? nf_setsockopt+0x38/0x2b0 [ 43.547872][ T3499] ? print_irqtrace_events+0x210/0x210 [ 43.553303][ T3499] ? mutex_unlock+0x10/0x10 [ 43.557780][ T3499] ? lockdep_hardirqs_on+0x94/0x130 [ 43.562947][ T3499] ? __local_bh_enable_ip+0x164/0x1f0 [ 43.568290][ T3499] nf_setsockopt+0x28a/0x2b0 [ 43.572853][ T3499] ipv6_setsockopt+0x2f9a/0x43a0 [ 43.577764][ T3499] ? reacquire_held_locks+0x660/0x660 [ 43.583126][ T3499] ? ipv6_update_options+0x3f0/0x3f0 [ 43.588385][ T3499] ? mark_lock+0x98/0x340 [ 43.592686][ T3499] ? mark_lock+0x98/0x340 [ 43.597073][ T3499] ? validate_chain+0x112/0x5930 [ 43.601980][ T3499] ? __lock_acquire+0x1295/0x1ff0 [ 43.606978][ T3499] ? reacquire_held_locks+0x660/0x660 [ 43.612321][ T3499] ? aa_label_sk_perm+0x453/0x630 [ 43.617404][ T3499] ? local_lock_release+0x96/0x170 [ 43.622490][ T3499] ? aa_sk_perm+0xa30/0xa30 [ 43.626966][ T3499] ? do_raw_spin_unlock+0x137/0x8b0 [ 43.632137][ T3499] ? __might_sleep+0xc0/0xc0 [ 43.636702][ T3499] ? __lock_acquire+0x1295/0x1ff0 [ 43.641710][ T3499] ? aa_sk_perm+0x8fc/0xa30 [ 43.646190][ T3499] ? aa_af_perm+0x350/0x350 [ 43.650670][ T3499] ? aa_sock_opt_perm+0x79/0x110 [ 43.655580][ T3499] ? udpv6_setsockopt+0x77/0xa0 [ 43.660416][ T3499] ? sock_common_recvmsg+0x240/0x240 [ 43.665675][ T3499] __sys_setsockopt+0x57e/0x990 [ 43.670530][ T3499] ? __ia32_sys_recv+0xb0/0xb0 [ 43.675286][ T3499] ? syscall_enter_from_user_mode+0x2e/0x230 [ 43.681252][ T3499] __x64_sys_setsockopt+0xb1/0xc0 [ 43.686264][ T3499] do_syscall_64+0x3d/0xb0 [ 43.690656][ T3499] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 43.696523][ T3499] RIP: 0033:0x7f6d49b632a9 [ 43.700915][ T3499] 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 [ 43.720491][ T3499] RSP: 002b:00007ffdcf654b18 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 43.728879][ T3499] RAX: ffffffffffffffda RBX: 00007ffdcf654ce8 RCX: 00007f6d49b632a9 [ 43.736824][ T3499] RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 [ 43.744872][ T3499] RBP: 00007f6d49bd7610 R08: 0000000000000001 R09: 00007ffdcf654ce8 [ 43.752817][ T3499] R10: 0000000020002680 R11: 0000000000000246 R12: 0000000000000001 [ 43.