Warning: Permanently added '10.128.0.183' (ED25519) to the list of known hosts. executing program [ 51.358644][ T3499] [ 51.361407][ T3499] ============================================ [ 51.367555][ T3499] WARNING: possible recursive locking detected [ 51.373703][ T3499] 5.15.148-syzkaller #0 Not tainted [ 51.379088][ T3499] -------------------------------------------- [ 51.385229][ T3499] syz-executor360/3499 is trying to acquire lock: [ 51.391728][ T3499] ffff88807ec44068 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_write+0x12f/0x1b60 [ 51.400711][ T3499] [ 51.400711][ T3499] but task is already holding lock: [ 51.408697][ T3499] ffff88807b7ad468 (&pipe->mutex/1){+.+.}-{3:3}, at: iter_file_splice_write+0x2ab/0xfa0 [ 51.418534][ T3499] [ 51.418534][ T3499] other info that might help us debug this: [ 51.427150][ T3499] Possible unsafe locking scenario: [ 51.427150][ T3499] [ 51.434906][ T3499] CPU0 [ 51.438376][ T3499] ---- [ 51.441646][ T3499] lock(&pipe->mutex/1); [ 51.445973][ T3499] lock(&pipe->mutex/1); [ 51.450314][ T3499] [ 51.450314][ T3499] *** DEADLOCK *** [ 51.450314][ T3499] [ 51.458452][ T3499] May be due to missing lock nesting notation [ 51.458452][ T3499] [ 51.466762][ T3499] 1 lock held by syz-executor360/3499: [ 51.472211][ T3499] #0: ffff88807b7ad468 (&pipe->mutex/1){+.+.}-{3:3}, at: iter_file_splice_write+0x2ab/0xfa0 [ 51.482409][ T3499] [ 51.482409][ T3499] stack backtrace: [ 51.488312][ T3499] CPU: 1 PID: 3499 Comm: syz-executor360 Not tainted 5.15.148-syzkaller #0 [ 51.496932][ T3499] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 51.506979][ T3499] Call Trace: [ 51.510250][ T3499] [ 51.513172][ T3499] dump_stack_lvl+0x1e3/0x2cb [ 51.517937][ T3499] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 51.523577][ T3499] ? panic+0x84d/0x84d [ 51.527668][ T3499] validate_chain+0x46d2/0x5930 [ 51.532530][ T3499] ? reacquire_held_locks+0x660/0x660 [ 51.537903][ T3499] ? validate_chain+0x112/0x5930 [ 51.542835][ T3499] ? look_up_lock_class+0x77/0x120 [ 51.547946][ T3499] ? register_lock_class+0x100/0x9a0 [ 51.553263][ T3499] ? is_dynamic_key+0x1f0/0x1f0 [ 51.558232][ T3499] ? mark_lock+0x98/0x340 [ 51.562911][ T3499] __lock_acquire+0x1295/0x1ff0 [ 51.568111][ T3499] lock_acquire+0x1db/0x4f0 [ 51.572609][ T3499] ? pipe_write+0x12f/0x1b60 [ 51.577207][ T3499] ? read_lock_is_recursive+0x10/0x10 [ 51.582586][ T3499] ? __might_sleep+0xc0/0xc0 [ 51.587269][ T3499] ? __lock_acquire+0x1295/0x1ff0 [ 51.592293][ T3499] __mutex_lock_common+0x1da/0x25a0 [ 51.597752][ T3499] ? pipe_write+0x12f/0x1b60 [ 51.602386][ T3499] ? pipe_write+0x12f/0x1b60 [ 51.606977][ T3499] ? mutex_lock_io_nested+0x60/0x60 [ 51.612380][ T3499] mutex_lock_nested+0x17/0x20 [ 51.617225][ T3499] pipe_write+0x12f/0x1b60 [ 51.621660][ T3499] ? __lock_acquire+0x1ff0/0x1ff0 [ 51.626701][ T3499] ? aa_file_perm+0x3af/0xf60 [ 51.631468][ T3499] ? pipe_read+0x12b0/0x12b0 [ 51.636048][ T3499] ? aa_path_link+0xea0/0xea0 [ 51.640732][ T3499] ? rcu_lock_release+0x20/0x20 [ 51.645605][ T3499] do_iter_readv_writev+0x594/0x7a0 [ 51.650801][ T3499] ? generic_file_rw_checks+0x260/0x260 [ 51.656339][ T3499] ? common_file_perm+0x17d/0x1d0 [ 51.661364][ T3499] ? fsnotify_perm+0x67/0x5a0 [ 51.666056][ T3499] ? bpf_lsm_file_permission+0x5/0x10 [ 51.671707][ T3499] do_iter_write+0x1ea/0x760 [ 51.676313][ T3499] ? vfs_iter_write+0x69/0xa0 [ 51.681077][ T3499] iter_file_splice_write+0x806/0xfa0 [ 51.686453][ T3499] ? splice_from_pipe+0x230/0x230 [ 51.691504][ T3499] ? __lock_acquire+0x1295/0x1ff0 [ 51.696523][ T3499] ? mark_lock+0x98/0x340 [ 51.700878][ T3499] ? common_file_perm+0x17d/0x1d0 [ 51.706002][ T3499] ? fsnotify_perm+0x67/0x5a0 [ 51.710674][ T3499] ? bpf_lsm_file_permission+0x5/0x10 [ 51.716058][ T3499] ? splice_from_pipe+0x230/0x230 [ 51.721073][ T3499] do_splice+0xfe6/0x1790 [ 51.725441][ T3499] ? read_lock_is_recursive+0x10/0x10 [ 51.730920][ T3499] ? __context_tracking_exit+0x4c/0x80 [ 51.736371][ T3499] ? wait_for_space+0x2d0/0x2d0 [ 51.741215][ T3499] ? __fdget+0x158/0x220 [ 51.745462][ T3499] __se_sys_splice+0x340/0x420 [ 51.750220][ T3499] ? __x64_sys_splice+0xf0/0xf0 [ 51.755072][ T3499] ? syscall_enter_from_user_mode+0x2e/0x230 [ 51.761041][ T3499] ? lockdep_hardirqs_on+0x94/0x130 [ 51.766316][ T3499] ? __x64_sys_splice+0x1d/0xf0 [ 51.771175][ T3499] do_syscall_64+0x3d/0xb0 [ 51.775605][ T3499] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 51.781521][ T3499] RIP: 0033:0x7f2960d66329 [ 51.785931][ 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 [ 51.805539][ T3499] RSP: 002b:00007ffc5dececd8 EFLAGS: 0