./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor648296769 <...> Warning: Permanently added '10.128.0.250' (ECDSA) to the list of known hosts. execve("./syz-executor648296769", ["./syz-executor648296769"], 0x7ffd1490f2a0 /* 10 vars */) = 0 brk(NULL) = 0x555555ff9000 brk(0x555555ff9c40) = 0x555555ff9c40 arch_prctl(ARCH_SET_FS, 0x555555ff9300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x555555ff95d0) = 3600 set_robust_list(0x555555ff95e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f151f747c30, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f151f748300}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f151f747cd0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f151f748300}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor648296769", 4096) = 27 brk(0x55555601ac40) = 0x55555601ac40 brk(0x55555601b000) = 0x55555601b000 mprotect(0x7f151f808000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 futex(0x7f151f80e40c, FUTEX_WAKE_PRIVATE, 1000000) = 0 mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f151f718000 mprotect(0x7f151f719000, 131072, PROT_READ|PROT_WRITE) = 0 clone(child_stack=0x7f151f7383f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[3601], tls=0x7f151f738700, child_tidptr=0x7f151f7389d0) = 3601 futex(0x7f151f80e408, FUTEX_WAKE_PRIVATE, 1000000) = 0 futex(0x7f151f80e40c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 3601 attached [pid 3601] set_robust_list(0x7f151f7389e0, 24) = 0 [pid 3601] pipe([3, 4]) = 0 [pid 3601] futex(0x7f151f80e40c, FUTEX_WAKE_PRIVATE, 1000000 [pid 3600] <... futex resumed>) = 0 [pid 3600] futex(0x7f151f80e408, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3600] futex(0x7f151f80e40c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 3601] <... futex resumed>) = 1 [pid 3601] pipe2([5, 6], O_EXCL) = 0 [pid 3601] futex(0x7f151f80e40c, FUTEX_WAKE_PRIVATE, 1000000 [pid 3600] <... futex resumed>) = 0 [pid 3600] futex(0x7f151f80e408, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3600] futex(0x7f151f80e40c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 3601] <... futex resumed>) = 1 [pid 3601] splice(3, NULL, 6, NULL, 511, 0 [pid 3600] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 3600] futex(0x7f151f80e41c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3600] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f151f6f7000 [pid 3600] mprotect(0x7f151f6f8000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 3600] clone(child_stack=0x7f151f7173f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 3602 attached , parent_tid=[3602], tls=0x7f151f717700, child_tidptr=0x7f151f7179d0) = 3602 [pid 3600] futex(0x7f151f80e418, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3600] futex(0x7f151f80e41c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 3602] set_robust_list(0x7f151f7179e0, 24) = 0 [pid 3602] vmsplice(4, [{iov_base="\xb5", iov_len=1}], 1, 0) = 1 [pid 3602] futex(0x7f151f80e41c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 3602] futex(0x7f151f80e418, FUTEX_WAIT_PRIVATE, 0, NULL [pid 3600] <... futex resumed>) = 0 [ 49.690631][ T3601] [ 49.693001][ T3601] ============================================ [ 49.699147][ T3601] WARNING: possible recursive locking detected [ 49.705481][ T3601] 5.19.0-rc4-next-20220628-syzkaller #0 Not tainted [ 49.712057][ T3601] -------------------------------------------- [ 49.718199][ T3601] syz-executor648/3601 is trying to acquire lock: [ 49.724602][ T3601] ffff88801c77b068 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_write+0x132/0x1bf0 [ 49.733386][ T3601] [ 49.733386][ T3601] but task is already holding lock: [ 49.740769][ T3601] ffff88801c77b468 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_wait_readable+0x39b/0x420 [ 49.750183][ T3601] [ 49.750183][ T3601] other info that might help us debug this: [ 49.758404][ T3601] Possible unsafe locking scenario: [ 49.758404][ T3601] [ 49.765853][ T3601] CPU0 [ 49.769132][ T3601] ---- [ 49.772406][ T3601] lock(&pipe->mutex/1); [ 49.776816][ T3601] lock(&pipe->mutex/1); [ 49.781146][ T3601] [ 49.781146][ T3601] *** DEADLOCK *** [ 49.781146][ T3601] [ 49.789306][ T3601] May be due to missing lock nesting notation [ 49.789306][ T3601] [ 49.797614][ T3601] 1 lock held by syz-executor648/3601: [ 49.803064][ T3601] #0: ffff88801c77b468 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_wait_readable+0x39b/0x420 [ 49.812925][ T3601] [ 49.812925][ T3601] stack backtrace: [ 49.818897][ T3601] CPU: 1 PID: 3601 Comm: syz-executor648 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 [ 49.828885][ T3601] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 49.839034][ T3601] Call Trace: [ 49.842319][ T3601] [ 49.845801][ T3601] dump_stack_lvl+0xcd/0x134 [ 49.850516][ T3601] __lock_acquire.cold+0x1f5/0x3b4 [ 49.855730][ T3601] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 49.863194][ T3601] lock_acquire+0x1ab/0x570 [ 49.867802][ T3601] ? pipe_write+0x132/0x1bf0 [ 49.872501][ T3601] ? lock_release+0x780/0x780 [ 49.877186][ T3601] __mutex_lock+0x12f/0x1350 [ 49.881795][ T3601] ? pipe_write+0x132/0x1bf0 [ 49.886574][ T3601] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 49.892564][ T3601] ? pipe_write+0x132/0x1bf0 [ 49.897156][ T3601] ? mutex_lock_io_nested+0x1190/0x1190 [ 49.902706][ T3601] ? find_held_lock+0x2d/0x110 [ 49.907486][ T3601] ? aa_file_perm+0x56b/0x1230 [ 49.912250][ T3601] ? lock_downgrade+0x6e0/0x6e0 [ 49.917360][ T3601] pipe_write+0x132/0x1bf0 [ 49.921781][ T3601] ? aa_file_perm+0x595/0x1230 [ 49.926550][ T3601] ? do_proc_dopipe_max_size_conv+0x1c0/0x1c0 [ 49.932701][ T3601] ? aa_path_link+0x2f0/0x2f0 [ 49.937500][ T3601] ? mutex_lock_io_nested+0x1190/0x1190 [ 49.943060][ T3601] ? pipe_wait_readable+0x336/0x420 [ 49.948258][ T3601] ? lock_downgrade+0x6e0/0x6e0 [ 49.953106][ T3601] do_iter_readv_writev+0x360/0x5c0 [ 49.958405][ T3601] ? ksys_lseek+0x1b0/0x1b0 [ 49.962909][ T3601] ? bpf_lsm_file_permission+0x5/0x10 [ 49.968291][ T3601] ? security_file_permission+0xab/0xd0 [ 49.973837][ T3601] do_iter_write+0x182/0x700 [ 49.978433][ T3601] vfs_iter_write+0x70/0xa0 [ 49.982938][ T3601] iter_file_splice_write+0x723/0xc70 [ 49.988494][ T3601] ? page_cache_pipe_buf_confirm+0x5b0/0x5b0 [ 49.994564][ T3601] ? __lock_acquire+0xbca/0x5660 [ 49.999524][ T3601] ? bpf_lsm_file_permission+0x5/0x10 [ 50.004988][ T3601] ? security_file_permission+0xab/0xd0 [ 50.010544][ T3601] ? page_cache_pipe_buf_confirm+0x5b0/0x5b0 [ 50.016588][ T3601] do_splice+0xb57/0x1920 [ 50.020912][ T3601] ? find_held_lock+0x2d/0x110 [ 50.025685][ T3601] ? splice_file_to_pipe+0x120/0x120 [ 50.030964][ T3601] ? lock_downgrade+0x6e0/0x6e0 [ 50.035813][ T3601] __do_splice+0x134/0x250 [ 50.040233][ T3601] ? do_splice+0x1920/0x1920 [ 50.044818][ T3601] __x64_sys_splice+0x198/0x250 [ 50.049665][ T3601] do_syscall_64+0x35/0xb0 [ 50.054079][ T3601] entry_SYSCALL_64_after_hwframe+0x46/0xb0 [ 50.060316][ T3601] RIP: 0033:0x7f151f785c99 [ 50.064752][ T3601] 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 [pid 3601] <... splice resumed>) = -1 EXDEV (Invalid cross-device link) [pid 3601] futex(0x7f151f80e40c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3601] futex(0x7f151f80e408, FUTEX_WAIT_PRIVATE, 0, NULL [pid 3600] exit_group(0) = ? [pid 3602] <... futex resumed>) = ? [pid 3601] <... futex resumed>) = ? [pid 3602] +++ exited with 0 +++ [pid 3601] +++ exited with 0 +++ +++ exited with 0 +++ [ 50.084620][ T3601] RSP: 002b:00007f151f738308 EFLAGS: 00000246 ORIG_RAX: 000000000000011