Warning: Permanently added '10.128.1.55' (ED25519) to the list of known hosts. executing program [ 40.543813][ T3563] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1497 [ 40.553597][ T3563] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3563, name: syz-executor409 [ 40.563239][ T3563] 1 lock held by syz-executor409/3563: [ 40.568687][ T3563] #0: ffffffff8c945618 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x24/0x2e0 [ 40.578533][ T3563] irq event stamp: 14736 [ 40.582846][ T3563] hardirqs last enabled at (14735): [] _raw_spin_unlock_irqrestore+0x8b/0x130 [ 40.593431][ T3563] hardirqs last disabled at (14736): [] _raw_spin_lock_irq+0xa9/0x110 [ 40.603143][ T3563] softirqs last enabled at (14714): [] ipv6_setsockopt+0x2f1f/0x4380 [ 40.613172][ T3563] softirqs last disabled at (14712): [] release_sock+0x2c/0x1c0 [ 40.622363][ T3563] Preemption disabled at: [ 40.622373][ T3563] [<0000000000000000>] 0x0 [ 40.631202][ T3563] CPU: 1 PID: 3563 Comm: syz-executor409 Not tainted 5.15.164-syzkaller #0 [ 40.641183][ T3563] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 40.651245][ T3563] Call Trace: [ 40.654512][ T3563] [ 40.657421][ T3563] dump_stack_lvl+0x1e3/0x2d0 [ 40.662083][ T3563] ? ipv6_setsockopt+0x2f1f/0x4380 [ 40.667667][ T3563] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 40.673381][ T3563] ? panic+0x860/0x860 [ 40.677538][ T3563] ___might_sleep+0x547/0x6a0 [ 40.682472][ T3563] ? __might_sleep+0xc0/0xc0 [ 40.687074][ T3563] down_read+0x21/0x2e0 [ 40.691390][ T3563] ? kernfs_walk_and_get_ns+0x72/0x2b0 [ 40.696880][ T3563] kernfs_walk_and_get_ns+0x7e/0x2b0 [ 40.702318][ T3563] ? kernfs_find_ns+0x500/0x500 [ 40.707384][ T3563] ? current_cgns_cgroup_from_root+0x2ad/0x300 [ 40.713617][ T3563] cgroup_get_from_path+0x5c/0x2e0 [ 40.718735][ T3563] cgroup_mt_check_v1+0x1a0/0x2b0 [ 40.723753][ T3563] xt_check_match+0x363/0xa30 [ 40.728546][ T3563] ? xt_find_match+0x6d/0x200 [ 40.733227][ T3563] ? mutex_unlock+0x10/0x10 [ 40.737864][ T3563] ? xt_check_proc_name+0x110/0x110 [ 40.743131][ T3563] ? pcpu_alloc+0x10c9/0x17c0 [ 40.748264][ T3563] ? xt_find_match+0x1cf/0x200 [ 40.753238][ T3563] translate_table+0x1669/0x2320 [ 40.758468][ T3563] ? ip6t_register_table+0x7b0/0x7b0 [ 40.763758][ T3563] ? __might_fault+0xb8/0x110 [ 40.768623][ T3563] ? __lock_acquire+0x1ff0/0x1ff0 [ 40.773654][ T3563] ? _copy_from_user+0x10f/0x170 [ 40.778788][ T3563] ? copy_from_sockptr_offset+0x6b/0xa0 [ 40.785128][ T3563] do_ip6t_set_ctl+0xdcb/0x1220 [ 40.789989][ T3563] ? rcu_lock_release+0x20/0x20 [ 40.795008][ T3563] ? ip6t_unregister_table_exit+0x1f0/0x1f0 [ 40.800897][ T3563] ? __lock_acquire+0x1ff0/0x1ff0 [ 40.805944][ T3563] ? __mutex_unlock_slowpath+0x218/0x750 [ 40.811665][ T3563] ? nf_setsockopt+0x38/0x2b0 [ 40.816341][ T3563] ? print_irqtrace_events+0x210/0x210 [ 40.822181][ T3563] ? mutex_unlock+0x10/0x10 [ 40.826689][ T3563] ? lockdep_hardirqs_on+0x94/0x130 [ 40.832665][ T3563] ? __local_bh_enable_ip+0x164/0x1f0 [ 40.838038][ T3563] nf_setsockopt+0x28a/0x2b0 [ 40.842632][ T3563] ipv6_setsockopt+0x2f9a/0x4380 [ 40.847678][ T3563] ? reacquire_held_locks+0x660/0x660 [ 40.853034][ T3563] ? ipv6_update_options+0x3f0/0x3f0 [ 40.858295][ T3563] ? mark_lock+0x98/0x340 [ 40.862691][ T3563] ? mark_lock+0x98/0x340 [ 40.867000][ T3563] ? validate_chain+0x112/0x5930 [ 40.871919][ T3563] ? __lock_acquire+0x1295/0x1ff0 [ 40.877042][ T3563] ? reacquire_held_locks+0x660/0x660 [ 40.882391][ T3563] ? aa_label_sk_perm+0x453/0x630 [ 40.887543][ T3563] ? local_lock_release+0x96/0x170 [ 40.892656][ T3563] ? aa_sk_perm+0xa30/0xa30 [ 40.897149][ T3563] ? do_raw_spin_unlock+0x137/0x8b0 [ 40.902345][ T3563] ? __might_sleep+0xc0/0xc0 [ 40.907131][ T3563] ? __lock_acquire+0x1295/0x1ff0 [ 40.912404][ T3563] ? aa_sk_perm+0x8fc/0xa30 [ 40.916925][ T3563] ? aa_af_perm+0x350/0x350 [ 40.921554][ T3563] ? aa_sock_opt_perm+0x79/0x110 [ 40.926484][ T3563] ? udpv6_setsockopt+0x77/0xa0 [ 40.931320][ T3563] ? sock_common_recvmsg+0x240/0x240 [ 40.936680][ T3563] __sys_setsockopt+0x57e/0x990 [ 40.941515][ T3563] ? __ia32_sys_recv+0xb0/0xb0 [ 40.946271][ T3563] ? syscall_enter_from_user_mode+0x2e/0x240 [ 40.952426][ T3563] __x64_sys_setsockopt+0xb1/0xc0 [ 40.957439][ T3563] do_syscall_64+0x3b/0xb0 [ 40.961837][ T3563] ? clear_bhb_loop+0x15/0x70 [ 40.966567][ T3563] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 40.972465][ T3563] RIP: 0033:0x7fee501298e9 [ 40.976900][ 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 [ 40.996692][ T3563] RSP: 002b:00007ffc300108d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 41.005099][ T3563] RAX: ffffffffffffffda RBX: 00007ffc30010aa8 RCX: 00007fee501298e9 [ 41.013514][ T3563] RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 [ 41.021637][ T3563] RBP: 00007fee5019d610 R08: 0000000000001488 R09: 00007ffc30010aa8 [ 41.029726][ T3563] R10: 00000000200028c0 R11: 0000000000000246 R12: 0000000000000001 [ 41.037699][ T3563] R13: 00007ffc30010a98 R14: 0000000000000001 R15: 0000000000000001 [ 41.045754][ T3563] [ 41.048768][ T3563] [ 41.051163][ T3563] ============================= [ 41.056422][ T3563] [ BUG: Invalid wait context ] [ 41.061383][ T3563] 5.15.164-syzkaller #0 Tainted: G W [ 41.067947][ T3563] ----------------------------- [ 41.072767][ T3563] syz-executor409/3563 is trying to lock: [ 41.078455][ T3563] ffffffff8ca523d0 (kernfs_rwsem){++++}-{3:3}, at: kernfs_walk_and_get_ns+0x7e/0x2b0 [ 41.087924][ T3563] other info that might help us debug this: [ 41.093792][ T3563] context-{4:4} [ 41.097317][ T3563] 1 lock held by syz-executor409/3563: [ 41.103012][ T3563] #0: ffffffff8c945618 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x24/0x2e0 [ 41.113724][ T3563] stack backtrace: [ 41.117495][ T3563] CPU: 1 PID: 3563 Comm: syz-executor409 Tainted: G W 5.15.164-syzkaller #0 [ 41.127892][ T3563] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 41.138201][ T3563] Call Trace: [ 41.141511][ T3563] [ 41.144434][ T3563] dump_stack_lvl+0x1e3/0x2d0 [ 41.149271][ T3563] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 41.155137][ T3563] ? panic+0x860/0x860 [ 41.159184][ T3563] __lock_acquire+0x14f5/0x1ff0 [ 41.164252][ T3563] lock_acquire+0x1db/0x4f0 [ 41.168887][ T3563] ? kernfs_walk_and_get_ns+0x7e/0x2b0 [ 41.174863][ T3563] ? read_lock_is_recursive+0x10/0x10 [ 41.180499][ T3563] ? __might_sleep+0xc0/0xc0 [ 41.185659][ T3563] down_read+0x45/0x2e0 [ 41.189821][ T3563] ? kernfs_walk_and_get_ns+0x7e/0x2b0 [ 41.195292][ T3563] ? kernfs_walk_and_get_ns+0x72/0x2b0 [ 41.200925][ T3563] kernfs_walk_and_get_ns+0x7e/0x2b0 [ 41.206560][ T3563] ? kernfs_find_ns+0x500/0x500 [ 41.211513][ T3563] ? current_cgns_cgroup_from_root+0x2ad/0x300 [ 41.217749][ T3563] cgroup_get_from_path+0x5c/0x2e0 [ 41.222860][ T3563] cgroup_mt_check_v1+0x1a0/0x2b0 [ 41.227866][ T3563] xt_check_match+0x363/0xa30 [ 41.232523][ T3563] ? xt_find_match+0x6d/0x200 [ 41.237180][ T3563] ? mutex_unlock+0x10/0x10 [ 41.241756][ T3563] ? xt_check_proc_name+0x110/0x110 [ 41.247371][ T3563] ? pcpu_alloc+0x10c9/0x17c0 [ 41.252113][ T3563] ? xt_find_match+0x1cf/0x200 [ 41.256866][ T3563] translate_table+0x1669/0x2320 [ 41.261964][ T3563] ? ip6t_register_table+0x7b0/0x7b0 [ 41.267244][ T3563] ? __might_fault+0xb8/0x110 [ 41.271900][ T3563] ? __lock_acquire+0x1ff0/0x1ff0 [ 41.276903][ T3563] ? _copy_from_user+0x10f/0x170 [ 41.281865][ T3563] ? copy_from_sockptr_offset+0x6b/0xa0 [ 41.287611][ T3563] do_ip6t_set_ctl+0xdcb/0x1220 [ 41.292513][ T3563] ? rcu_lock_release+0x20/0x20 [ 41.297363][ T3563] ? ip6t_unregister_table_exit+0x1f0/0x1f0 [ 41.303253][ T3563] ? __lock_acquire+0x1ff0/0x1ff0 [ 41.308444][ T3563] ? __mutex_unlock_slowpath+0x218/0x750 [ 41.314247][ T3563] ? nf_setsockopt+0x38/0x2b0 [ 41.318918][ T3563] ? print_irqtrace_events+0x210/0x210 [ 41.324374][ T3563] ? mutex_unlock+0x10/0x10 [ 41.328866][ T3563] ? lockdep_hardirqs_on+0x94/0x130 [ 41.334159][ T3563] ? __local_bh_enable_ip+0x164/0x1f0 [ 41.339507][ T3563] nf_setsockopt+0x28a/0x2b0 [ 41.344079][ T3563] ipv6_setsockopt+0x2f9a/0x4380 [ 41.349264][ T3563] ? reacquire_held_locks+0x660/0x660 [ 41.354647][ T3563] ? ipv6_update_options+0x3f0/0x3f0 [ 41.359920][ T3563] ? mark_lock+0x98/0x340 [ 41.364225][ T3563] ? mark_lock+0x98/0x340 [ 41.368535][ T3563] ? validate_chain+0x112/0x5930 [ 41.373442][ T3563] ? __lock_acquire+0x1295/0x1ff0 [ 41.378459][ T3563] ? reacquire_held_locks+0x660/0x660 [ 41.383834][ T3563] ? aa_label_sk_perm+0x453/0x630 [ 41.389275][ T3563] ? local_lock_release+0x96/0x170 [ 41.394808][ T3563] ? aa_sk_perm+0xa30/0xa30 [ 41.399361][ T3563] ? do_raw_spin_unlock+0x137/0x8b0 [ 41.404634][ T3563] ? __might_sleep+0xc0/0xc0 [ 41.409216][ T3563] ? __lock_acquire+0x1295/0x1ff0 [ 41.414343][ T3563] ? aa_sk_perm+0x8fc/0xa30 [ 41.418845][ T3563] ? aa_af_perm+0x350/0x350 [ 41.423354][ T3563] ? aa_sock_opt_perm+0x79/0x110 [ 41.428303][ T3563] ? udpv6_setsockopt+0x77/0xa0 [ 41.433140][ T3563] ? sock_common_recvmsg+0x240/0x240 [ 41.438403][ T3563] __sys_setsockopt+0x57e/0x990 [ 41.443232][ T3563] ? __ia32_sys_recv+0xb0/0xb0 [ 41.447999][ T3563] ? syscall_enter_from_user_mode+0x2e/0x240 [ 41.453973][ T3563] __x64_sys_setsockopt+0xb1/0xc0 [ 41.458970][ T3563] do_syscall_64+0x3b/0xb0 [ 41.463373][ T3563] ? clear_bhb_loop+0x15/0x70 [ 41.468036][ T3563] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 41.473905][ T3563] RIP: 0033:0x7fee501298e9 [ 41.478292][ 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 [ 41.497873][ T3563] RSP: 002b:00007ffc300108d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 41.506265][ T3563] RAX: ffffffffffffffda RBX: 00007ffc30010aa8 RCX: 00007fee501298e9 [ 41.514387][ T3563] RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 [ 41.522338][ T3563] RBP: 00007fee5019d610 R08: 0000000000001488 R09: 00007ffc30010aa8 [ 41.530296][ T3563] R10: 00000000200028c0 R11: 0000000000000246 R12: 0000000000000001 [ 41.538256][ T3563] R13: 00007ffc30010a98 R14: 0000000000000001 R15: 0000000000000001 [ 41.546209][ T3563]