Warning: Permanently added '10.128.0.79' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 42.329844][ T3962] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1487 [ 42.332080][ T3962] in_atomic(): 1, irqs_disabled(): 128, non_block: 0, pid: 3962, name: syz-executor489 [ 42.334291][ T3962] 1 lock held by syz-executor489/3962: [ 42.335492][ T3962] #0: ffff800014ae6a98 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x30/0x300 [ 42.337612][ T3962] irq event stamp: 13330 [ 42.338540][ T3962] hardirqs last enabled at (13329): [] finish_lock_switch+0xbc/0x1e8 [ 42.340719][ T3962] hardirqs last disabled at (13330): [] _raw_spin_lock_irq+0x38/0x13c [ 42.342800][ T3962] softirqs last enabled at (13304): [] release_sock+0x1e4/0x270 [ 42.344807][ T3962] softirqs last disabled at (13302): [] release_sock+0x3c/0x270 [ 42.346844][ T3962] Preemption disabled at: [ 42.346850][ T3962] [] cgroup_get_from_path+0x30/0x300 [ 42.349342][ T3962] CPU: 0 PID: 3962 Comm: syz-executor489 Not tainted 5.15.118-syzkaller #0 [ 42.351253][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 42.353519][ T3962] Call trace: [ 42.354206][ T3962] dump_backtrace+0x0/0x530 [ 42.355164][ T3962] show_stack+0x2c/0x3c [ 42.356142][ T3962] dump_stack_lvl+0x108/0x170 [ 42.357155][ T3962] dump_stack+0x1c/0x58 [ 42.358098][ T3962] ___might_sleep+0x380/0x4dc [ 42.359098][ T3962] __might_sleep+0x98/0xf0 [ 42.360162][ T3962] down_read+0x34/0x398 [ 42.361055][ T3962] kernfs_walk_and_get_ns+0x8c/0x310 [ 42.362214][ T3962] cgroup_get_from_path+0x64/0x300 [ 42.363312][ T3962] cgroup_mt_check_v1+0x18c/0x278 [ 42.364466][ T3962] xt_check_match+0x338/0x914 [ 42.365587][ T3962] translate_table+0x10cc/0x1ac8 [ 42.366667][ T3962] do_ip6t_set_ctl+0x9c4/0x2fd4 [ 42.367742][ T3962] nf_setsockopt+0x270/0x290 [ 42.368753][ T3962] ipv6_setsockopt+0x1f28/0x3d84 [ 42.369793][ T3962] udpv6_setsockopt+0xa8/0xc0 [ 42.370840][ T3962] sock_common_setsockopt+0xb0/0xcc [ 42.371986][ T3962] __sys_setsockopt+0x3a8/0x6b4 [ 42.373089][ T3962] __arm64_sys_setsockopt+0xb8/0xd4 [ 42.374228][ T3962] invoke_syscall+0x98/0x2b8 [ 42.375265][ T3962] el0_svc_common+0x138/0x258 [ 42.376239][ T3962] do_el0_svc+0x58/0x14c [ 42.377159][ T3962] el0_svc+0x7c/0x1f0 [ 42.378144][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 42.379196][ T3962] el0t_64_sync+0x1a0/0x1a4 [ 42.380125][ T3962] [ 42.380712][ T3962] ============================= [ 42.381751][ T3962] [ BUG: Invalid wait context ] [ 42.382814][ T3962] 5.15.118-syzkaller #0 Tainted: G W [ 42.384195][ T3962] ----------------------------- [ 42.385202][ T3962] syz-executor489/3962 is trying to lock: [ 42.386528][ T3962] ffff800014be5dd0 (kernfs_rwsem){++++}-{3:3}, at: kernfs_walk_and_get_ns+0x8c/0x310 [ 42.388647][ T3962] other info that might help us debug this: [ 42.390019][ T3962] context-{4:4} [ 42.390817][ T3962] 1 lock held by syz-executor489/3962: [ 42.392021][ T3962] #0: ffff800014ae6a98 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x30/0x300 [ 42.394226][ T3962] stack backtrace: [ 42.395033][ T3962] CPU: 0 PID: 3962 Comm: syz-executor489 Tainted: G W 5.15.118-syzkaller #0 [ 42.397219][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 42.399499][ T3962] Call trace: [ 42.400184][ T3962] dump_backtrace+0x0/0x530 [ 42.401171][ T3962] show_stack+0x2c/0x3c [ 42.402102][ T3962] dump_stack_lvl+0x108/0x170 [ 42.403105][ T3962] dump_stack+0x1c/0x58 [ 42.404107][ T3962] __lock_acquire+0x1af4/0x7620 [ 42.405155][ T3962] lock_acquire+0x240/0x77c [ 42.406124][ T3962] down_read+0xc0/0x398 [ 42.407041][ T3962] kernfs_walk_and_get_ns+0x8c/0x310 [ 42.408217][ T3962] cgroup_get_from_path+0x64/0x300 [ 42.409450][ T3962] cgroup_mt_check_v1+0x18c/0x278 [ 42.410626][ T3962] xt_check_match+0x338/0x914 [ 42.411716][ T3962] translate_table+0x10cc/0x1ac8 [ 42.412748][ T3962] do_ip6t_set_ctl+0x9c4/0x2fd4 [ 42.413803][ T3962] nf_setsockopt+0x270/0x290 [ 42.414862][ T3962] ipv6_setsockopt+0x1f28/0x3d84 [ 42.415966][ T3962] udpv6_setsockopt+0xa8/0xc0 [ 42.417000][ T3962] sock_common_setsockopt+0xb0/0xcc [ 42.418159][ T3962] __sys_setsockopt+0x3a8/0x6b4 [ 42.419245][ T3962] __arm64_sys_setsockopt+0xb8/0xd4 [ 42.420381][ T3962] invoke_syscall+0x98/0x2b8 [ 42.421406][ T3962] el0_svc_common+0x138/0x258 [ 42.422475][ T3962] do_el0_svc+0x58/0x14c [ 42.423462][ T3962] el0_svc+0x7c/0x1f0 [ 42.424328][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 42.425464][ T3962] el0t_64_sync+0x1a0/0x1a4 [ 42.426758][ T3962] xt_cgroup: invalid path, errno=-2