Warning: Permanently added '10.128.0.6' (ED25519) to the list of known hosts. executing program [ 42.341552][ T4015] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1497 [ 42.344104][ T4015] in_atomic(): 1, irqs_disabled(): 128, non_block: 0, pid: 4015, name: syz-executor386 [ 42.346597][ T4015] 1 lock held by syz-executor386/4015: [ 42.347917][ T4015] #0: ffff800014cb6ad8 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x30/0x300 [ 42.350363][ T4015] irq event stamp: 15358 [ 42.351561][ T4015] hardirqs last enabled at (15357): [] queue_work_on+0xf0/0x17c [ 42.354019][ T4015] hardirqs last disabled at (15358): [] _raw_spin_lock_irq+0x38/0x13c [ 42.356550][ T4015] softirqs last enabled at (15334): [] release_sock+0x1e4/0x270 [ 42.358975][ T4015] softirqs last disabled at (15332): [] release_sock+0x3c/0x270 [ 42.361302][ T4015] Preemption disabled at: [ 42.361309][ T4015] [] cgroup_get_from_path+0x30/0x300 [ 42.364271][ T4015] CPU: 0 PID: 4015 Comm: syz-executor386 Not tainted 5.15.164-syzkaller #0 [ 42.366522][ T4015] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 [ 42.369048][ T4015] Call trace: [ 42.369943][ T4015] dump_backtrace+0x0/0x530 [ 42.371048][ T4015] show_stack+0x2c/0x3c [ 42.372113][ T4015] dump_stack_lvl+0x108/0x170 [ 42.373282][ T4015] dump_stack+0x1c/0x58 [ 42.374328][ T4015] ___might_sleep+0x380/0x4dc [ 42.375583][ T4015] __might_sleep+0x98/0xf0 [ 42.376648][ T4015] down_read+0x34/0x398 [ 42.377685][ T4015] kernfs_walk_and_get_ns+0x8c/0x310 [ 42.379011][ T4015] cgroup_get_from_path+0x64/0x300 [ 42.380383][ T4015] cgroup_mt_check_v1+0x18c/0x278 [ 42.381694][ T4015] xt_check_match+0x338/0x914 [ 42.382904][ T4015] translate_table+0x10a0/0x1a98 [ 42.384116][ T4015] do_ipt_set_ctl+0xb8c/0x1164 [ 42.385306][ T4015] nf_setsockopt+0x270/0x290 [ 42.386507][ T4015] ip_setsockopt+0x1d70/0x32cc [ 42.387742][ T4015] tcp_setsockopt+0x204/0x33ec [ 42.388990][ T4015] sock_common_setsockopt+0xb0/0xcc [ 42.390356][ T4015] __sys_setsockopt+0x3a8/0x6b4 [ 42.391557][ T4015] __arm64_sys_setsockopt+0xb8/0xd4 [ 42.392922][ T4015] invoke_syscall+0x98/0x2b8 [ 42.394131][ T4015] el0_svc_common+0x138/0x258 [ 42.395299][ T4015] do_el0_svc+0x58/0x14c [ 42.396428][ T4015] el0_svc+0x7c/0x1f0 [ 42.397486][ T4015] el0t_64_sync_handler+0x84/0xe4 [ 42.398757][ T4015] el0t_64_sync+0x1a0/0x1a4 [ 42.399908][ T4015] [ 42.400480][ T4015] ============================= [ 42.401755][ T4015] [ BUG: Invalid wait context ] [ 42.403028][ T4015] 5.15.164-syzkaller #0 Tainted: G W [ 42.404776][ T4015] ----------------------------- [ 42.406053][ T4015] syz-executor386/4015 is trying to lock: [ 42.407502][ T4015] ffff800014db7410 (kernfs_rwsem){++++}-{3:3}, at: kernfs_walk_and_get_ns+0x8c/0x310 [ 42.410090][ T4015] other info that might help us debug this: [ 42.411643][ T4015] context-{4:4} [ 42.412615][ T4015] 1 lock held by syz-executor386/4015: [ 42.414045][ T4015] #0: ffff800014cb6ad8 (css_set_lock){....}-{2:2}, at: cgroup_get_from_path+0x30/0x300 [ 42.416666][ T4015] stack backtrace: [ 42.417629][ T4015] CPU: 0 PID: 4015 Comm: syz-executor386 Tainted: G W 5.15.164-syzkaller #0 [ 42.420227][ T4015] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 [ 42.422908][ T4015] Call trace: [ 42.423809][ T4015] dump_backtrace+0x0/0x530 [ 42.424973][ T4015] show_stack+0x2c/0x3c [ 42.426069][ T4015] dump_stack_lvl+0x108/0x170 [ 42.427240][ T4015] dump_stack+0x1c/0x58 [ 42.428313][ T4015] __lock_acquire+0x1af0/0x7638 [ 42.429552][ T4015] lock_acquire+0x240/0x77c [ 42.430730][ T4015] down_read+0xc0/0x398 [ 42.431834][ T4015] kernfs_walk_and_get_ns+0x8c/0x310 [ 42.433256][ T4015] cgroup_get_from_path+0x64/0x300 [ 42.434604][ T4015] cgroup_mt_check_v1+0x18c/0x278 [ 42.435882][ T4015] xt_check_match+0x338/0x914 [ 42.437060][ T4015] translate_table+0x10a0/0x1a98 [ 42.438278][ T4015] do_ipt_set_ctl+0xb8c/0x1164 [ 42.439512][ T4015] nf_setsockopt+0x270/0x290 [ 42.440795][ T4015] ip_setsockopt+0x1d70/0x32cc [ 42.442011][ T4015] tcp_setsockopt+0x204/0x33ec [ 42.443241][ T4015] sock_common_setsockopt+0xb0/0xcc [ 42.444662][ T4015] __sys_setsockopt+0x3a8/0x6b4 [ 42.445932][ T4015] __arm64_sys_setsockopt+0xb8/0xd4 [ 42.447329][ T4015] invoke_syscall+0x98/0x2b8 [ 42.448462][ T4015] el0_svc_common+0x138/0x258 [ 42.449723][ T4015] do_el0_svc+0x58/0x14c [ 42.450826][ T4015] el0_svc+0x7c/0x1f0 [ 42.451962][ T4015] el0t_64_sync_handler+0x84/0xe4 [ 42.453326][ T4015] el0t_64_sync+0x1a0/0x1a4 [ 42.455112][ T4015] xt_cgroup: invalid path, errno=-2