Warning: Permanently added '10.128.15.205' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 44.108360][ T3500] [ 44.110693][ T3500] ============================================ [ 44.116816][ T3500] WARNING: possible recursive locking detected [ 44.122937][ T3500] 5.15.119-syzkaller #0 Not tainted [ 44.128108][ T3500] -------------------------------------------- [ 44.134227][ T3500] syz-executor237/3500 is trying to acquire lock: [ 44.140609][ T3500] ffff888019e9c468 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_write+0x12f/0x1b60 [ 44.149377][ T3500] [ 44.149377][ T3500] but task is already holding lock: [ 44.156710][ T3500] ffff888019e9c068 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_wait_readable+0x3e1/0x550 [ 44.166067][ T3500] [ 44.166067][ T3500] other info that might help us debug this: [ 44.174101][ T3500] Possible unsafe locking scenario: [ 44.174101][ T3500] [ 44.181615][ T3500] CPU0 [ 44.184869][ T3500] ---- [ 44.188124][ T3500] lock(&pipe->mutex/1); [ 44.192434][ T3500] lock(&pipe->mutex/1); [ 44.196751][ T3500] [ 44.196751][ T3500] *** DEADLOCK *** [ 44.196751][ T3500] [ 44.204876][ T3500] May be due to missing lock nesting notation [ 44.204876][ T3500] [ 44.213166][ T3500] 1 lock held by syz-executor237/3500: [ 44.218596][ T3500] #0: ffff888019e9c068 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_wait_readable+0x3e1/0x550 [ 44.228486][ T3500] [ 44.228486][ T3500] stack backtrace: [ 44.234353][ T3500] CPU: 1 PID: 3500 Comm: syz-executor237 Not tainted 5.15.119-syzkaller #0 [ 44.242912][ T3500] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 44.252942][ T3500] Call Trace: [ 44.256202][ T3500] [ 44.259114][ T3500] dump_stack_lvl+0x1e3/0x2cb [ 44.263772][ T3500] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 44.269382][ T3500] ? panic+0x84d/0x84d [ 44.273433][ T3500] validate_chain+0x46cf/0x58b0 [ 44.278262][ T3500] ? reacquire_held_locks+0x660/0x660 [ 44.283608][ T3500] ? reacquire_held_locks+0x660/0x660 [ 44.289044][ T3500] ? reacquire_held_locks+0x660/0x660 [ 44.294388][ T3500] ? validate_chain+0x112/0x58b0 [ 44.299305][ T3500] ? look_up_lock_class+0x77/0x120 [ 44.304739][ T3500] ? register_lock_class+0x100/0x9a0 [ 44.310005][ T3500] ? is_dynamic_key+0x1f0/0x1f0 [ 44.314831][ T3500] ? mark_lock+0x98/0x340 [ 44.319133][ T3500] __lock_acquire+0x1295/0x1ff0 [ 44.323960][ T3500] lock_acquire+0x1db/0x4f0 [ 44.328436][ T3500] ? pipe_write+0x12f/0x1b60 [ 44.333002][ T3500] ? read_lock_is_recursive+0x10/0x10 [ 44.338351][ T3500] ? __might_sleep+0xc0/0xc0 [ 44.342913][ T3500] ? __lock_acquire+0x1295/0x1ff0 [ 44.347911][ T3500] __mutex_lock_common+0x1da/0x25a0 [ 44.353090][ T3500] ? pipe_write+0x12f/0x1b60 [ 44.357708][ T3500] ? pipe_write+0x12f/0x1b60 [ 44.362280][ T3500] ? mutex_lock_io_nested+0x60/0x60 [ 44.367454][ T3500] mutex_lock_nested+0x17/0x20 [ 44.372191][ T3500] pipe_write+0x12f/0x1b60 [ 44.376580][ T3500] ? __lock_acquire+0x1ff0/0x1ff0 [ 44.381580][ T3500] ? aa_file_perm+0x3af/0xf60 [ 44.386228][ T3500] ? pipe_read+0x12b0/0x12b0 [ 44.390797][ T3500] ? aa_path_link+0xea0/0xea0 [ 44.395449][ T3500] ? mutex_lock_nested+0x17/0x20 [ 44.400366][ T3500] do_iter_readv_writev+0x594/0x7a0 [ 44.405540][ T3500] ? generic_file_rw_checks+0x260/0x260 [ 44.411057][ T3500] ? common_file_perm+0x17d/0x1d0 [ 44.416058][ T3500] ? fsnotify_perm+0x67/0x5a0 [ 44.420715][ T3500] ? bpf_lsm_file_permission+0x5/0x10 [ 44.426061][ T3500] do_iter_write+0x1ea/0x760 [ 44.430630][ T3500] ? vfs_iter_write+0x69/0xa0 [ 44.435290][ T3500] iter_file_splice_write+0x806/0xfa0 [ 44.440640][ T3500] ? splice_from_pipe+0x230/0x230 [ 44.445641][ T3500] ? common_file_perm+0x17d/0x1d0 [ 44.450644][ T3500] ? fsnotify_perm+0x67/0x5a0 [ 44.455397][ T3500] ? bpf_lsm_file_permission+0x5/0x10 [ 44.460743][ T3500] ? splice_from_pipe+0x230/0x230 [ 44.465831][ T3500] do_splice+0xfe6/0x1790 [ 44.470140][ T3500] ? __fget_files+0x413/0x480 [ 44.474793][ T3500] ? wait_for_space+0x2d0/0x2d0 [ 44.479616][ T3500] ? __fdget+0x191/0x220 [ 44.483866][ T3500] __se_sys_splice+0x340/0x420 [ 44.488693][ T3500] ? __x64_sys_splice+0xf0/0xf0 [ 44.493517][ T3500] ? syscall_enter_from_user_mode+0x2e/0x230 [ 44.499475][ T3500] ? lockdep_hardirqs_on+0x94/0x130 [ 44.504652][ T3500] ? __x64_sys_splice+0x1d/0xf0 [ 44.509475][ T3500] do_syscall_64+0x3d/0xb0 [ 44.513864][ T3500] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 44.519733][ T3500] RIP: 0033:0x7fb23ed5cf79 [ 44.524123][ T3500] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 14 00 00 90 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 [ 44.543787][ T3500] RSP: 002b:00007fb23ed0f278 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 [ 44.552173][ T3500] RAX: ffffffffffffffda RBX: 00007fb23ede5428 RCX: 00007fb23ed5cf79 [