Warning: Permanently added '10.128.0.235' (ED25519) to the list of known hosts. executing program [ 66.205435][ T3510] [ 66.207818][ T3510] ============================================ [ 66.213962][ T3510] WARNING: possible recursive locking detected [ 66.220138][ T3510] 6.1.45-syzkaller #0 Not tainted [ 66.225157][ T3510] -------------------------------------------- [ 66.231306][ T3510] syz-executor106/3510 is trying to acquire lock: [ 66.237885][ T3510] ffff88802221b068 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_write+0x12d/0x1af0 [ 66.246799][ T3510] [ 66.246799][ T3510] but task is already holding lock: [ 66.254426][ T3510] ffff88802221ac68 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_wait_readable+0x3df/0x550 [ 66.264019][ T3510] [ 66.264019][ T3510] other info that might help us debug this: [ 66.272108][ T3510] Possible unsafe locking scenario: [ 66.272108][ T3510] [ 66.279886][ T3510] CPU0 [ 66.283257][ T3510] ---- [ 66.286669][ T3510] lock(&pipe->mutex/1); [ 66.291029][ T3510] lock(&pipe->mutex/1); [ 66.295382][ T3510] [ 66.295382][ T3510] *** DEADLOCK *** [ 66.295382][ T3510] [ 66.303660][ T3510] May be due to missing lock nesting notation [ 66.303660][ T3510] [ 66.312196][ T3510] 1 lock held by syz-executor106/3510: [ 66.317669][ T3510] #0: ffff88802221ac68 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_wait_readable+0x3df/0x550 [ 66.327641][ T3510] [ 66.327641][ T3510] stack backtrace: [ 66.333983][ T3510] CPU: 0 PID: 3510 Comm: syz-executor106 Not tainted 6.1.45-syzkaller #0 [ 66.342435][ T3510] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 66.352499][ T3510] Call Trace: [ 66.355782][ T3510] [ 66.358735][ T3510] dump_stack_lvl+0x1e3/0x2cb [ 66.363471][ T3510] ? nf_tcp_handle_invalid+0x642/0x642 [ 66.369225][ T3510] ? panic+0x75d/0x75d [ 66.373313][ T3510] validate_chain+0x4726/0x58e0 [ 66.378184][ T3510] ? reacquire_held_locks+0x660/0x660 [ 66.383568][ T3510] ? reacquire_held_locks+0x660/0x660 [ 66.388951][ T3510] ? validate_chain+0x115/0x58e0 [ 66.393905][ T3510] ? mark_lock+0x9a/0x340 [ 66.398256][ T3510] ? reacquire_held_locks+0x660/0x660 [ 66.403720][ T3510] ? reacquire_held_locks+0x660/0x660 [ 66.409186][ T3510] ? look_up_lock_class+0x77/0x140 [ 66.414326][ T3510] ? register_lock_class+0x100/0x990 [ 66.419622][ T3510] ? is_dynamic_key+0x1f0/0x1f0 [ 66.424481][ T3510] ? mark_lock+0x9a/0x340 [ 66.428902][ T3510] __lock_acquire+0x125b/0x1f80 [ 66.433781][ T3510] lock_acquire+0x1f8/0x5a0 [ 66.438300][ T3510] ? pipe_write+0x12d/0x1af0 [ 66.442908][ T3510] ? read_lock_is_recursive+0x10/0x10 [ 66.448291][ T3510] ? __might_sleep+0xb0/0xb0 [ 66.453195][ T3510] __mutex_lock_common+0x1d4/0x2520 [ 66.458408][ T3510] ? pipe_write+0x12d/0x1af0 [ 66.463121][ T3510] ? rcu_lock_release+0x5/0x20 [ 66.468259][ T3510] ? __might_sleep+0xb0/0xb0 [ 66.472944][ T3510] ? pipe_write+0x12d/0x1af0 [ 66.477651][ T3510] ? __lock_acquire+0x1f80/0x1f80 [ 66.482679][ T3510] ? mutex_lock_io_nested+0x60/0x60 [ 66.487911][ T3510] mutex_lock_nested+0x17/0x20 [ 66.492699][ T3510] pipe_write+0x12d/0x1af0 [ 66.497148][ T3510] ? aa_path_link+0xea0/0xea0 [ 66.501853][ T3510] ? do_raw_spin_unlock+0x137/0x8a0 [ 66.507787][ T3510] ? mutex_lock_io_nested+0x60/0x60 [ 66.513004][ T3510] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 66.518998][ T3510] ? finish_wait+0xc5/0x1d0 [ 66.523599][ T3510] ? pipe_read+0x12a0/0x12a0 [ 66.528290][ T3510] ? mutex_lock_nested+0x17/0x20 [ 66.533753][ T3510] ? end_current_label_crit_section+0x147/0x170 [ 66.540268][ T3510] ? common_file_perm+0x17d/0x1d0 [ 66.545314][ T3510] ? fsnotify_perm+0x67/0x590 [ 66.550025][ T3510] do_iter_write+0x6e6/0xc50 [ 66.554644][ T3510] ? mutex_lock_io_nested+0x60/0x60 [ 66.560125][ T3510] ? vfs_iter_write+0xa0/0xa0 [ 66.564813][ T3510] ? vfs_iter_write+0x69/0xa0 [ 66.569493][ T3510] iter_file_splice_write+0x806/0xfa0 [ 66.575001][ T3510] ? splice_from_pipe+0x230/0x230 [ 66.580038][ T3510] ? common_file_perm+0x17d/0x1d0 [ 66.585135][ T3510] ? fsnotify_perm+0x67/0x590 [ 66.589823][ T3510] ? bpf_lsm_file_permission+0x5/0x10 [ 66.595206][ T3510] ? splice_from_pipe+0x230/0x230 [ 66.600323][ T3510] do_splice+0xfdb/0x1790 [ 66.604663][ T3510] ? do_sys_openat2+0x42b/0x500 [ 66.609537][ T3510] ? __fget_files+0x3cf/0x440 [ 66.614357][ T3510] ? wait_for_space+0x2d0/0x2d0 [ 66.619228][ T3510] ? __fdget+0x182/0x210 [ 66.624020][ T3510] __se_sys_splice+0x340/0x420 [ 66.628799][ T3510] ? __x64_sys_splice+0xf0/0xf0 [ 66.633655][ T3510] ? syscall_enter_from_user_mode+0x2e/0x220 [ 66.639651][ T3510] ? lockdep_hardirqs_on+0x94/0x130 [ 66.644868][ T3510] ? __x64_sys_splice+0x1d/0xf0 [ 66.649819][ T3510] do_syscall_64+0x3d/0xb0 [ 66.654254][ T3510] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 66.660181][ T3510] RIP: 0033:0x7f0fa2926fb9 [ 66.664948][ T3510] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 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 b0 ff ff ff f7 d8 64 89 01 48 [ 66.684909][ T3510] RSP: 002b:00007f0fa28e9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 [ 66.693866][ T3510] RAX: ffffffffffffffda RBX: 00007f0fa29b0348 RCX: 00007f0fa2926fb9 [ 66.701874][ T3510] RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000008 [ 66.709851][ T3510] RBP: 00007f0fa29b0340 R08: 0000000000000100 R09: 0000000000000000 [ 66.717833][ T3510] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0fa297e050 [ 66.726169][ T3510] R13: 00007f0fa28e91a0 R14: 00007f0fa297e012 R15: 00000000fffffeed [ 66.734175][ T3510]