ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor1729835948 <...> Warning: Permanently added '10.128.0.22' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor1729835948", ["ci2-android-6-1/syz-executor1729835948"], 0x7ffd9e10c940 /* 10 vars */) = 0 brk(NULL) = 0x5555737ed000 brk(0x5555737edd40) = 0x5555737edd40 arch_prctl(ARCH_SET_FS, 0x5555737ed3c0) = 0 set_tid_address(0x5555737ed690) = 305 set_robust_list(0x5555737ed6a0, 24) = 0 rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 32, 0, 0x53053053) = -1 ENOSYS (Function not implemented) prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlinkat(AT_FDCWD, "/proc/self/exe", "/root/ci2-android-6-1/syz-executor1729835948", 4096) = 44 getrandom("\x5e\x7d\x44\xd8\xd6\x9e\x4a\xe9", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555737edd40 brk(0x55557380ed40) = 0x55557380ed40 brk(0x55557380f000) = 0x55557380f000 mprotect(0x7f90aba14000, 20480, PROT_READ) = 0 mmap(0x1ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffffffff000 mmap(0x200000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200000000000 mmap(0x200001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200001000000 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 306 ci2-android-6-1/strace-static-x86_64: Process 306 attached [pid 305] rt_sigprocmask(SIG_SETMASK, [] [pid 306] set_robust_list(0x5555737ed6a0, 24 [pid 305] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 305] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... set_robust_list resumed>) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 305] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 305] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 305] <... clone resumed>, child_tidptr=0x5555737ed690) = 307 [pid 306] getrandom(ci2-android-6-1/strace-static-x86_64: Process 307 attached "\x04\x4b\x48\x1a\x2e\x04\xeb\xd8", 8, GRND_NONBLOCK) = 8 [pid 305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 305] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 305] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] mkdir("./syzkaller.gN5Tvm", 0700 [pid 305] <... clone resumed>, child_tidptr=0x5555737ed690) = 308 [pid 305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 305] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 305] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... mkdir resumed>) = 0 [pid 305] <... clone resumed>, child_tidptr=0x5555737ed690) = 309 [pid 305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 305] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 305] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] chmod("./syzkaller.gN5Tvm", 0777 [pid 307] set_robust_list(0x5555737ed6a0, 24 [pid 306] <... chmod resumed>) = 0 [pid 307] <... set_robust_list resumed>) = 0 [pid 305] <... clone resumed>, child_tidptr=0x5555737ed690) = 310 [pid 305] rt_sigprocmask(SIG_SETMASK, [] [pid 306] chdir("./syzkaller.gN5Tvm" [pid 305] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 310 attached [pid 310] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 310] getrandom("\x78\x29\xb5\x15\xbc\xab\xef\x85", 8, GRND_NONBLOCK) = 8 [pid 310] mkdir("./syzkaller.ay8jyI", 0700 [pid 306] <... chdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 308 attached [pid 310] <... mkdir resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 310] chmod("./syzkaller.ay8jyI", 0777 [pid 306] mkdir("./0", 0777 [pid 310] <... chmod resumed>) = 0 [pid 308] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 310] chdir("./syzkaller.ay8jyI") = 0 [pid 310] mkdir("./0", 0777 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] getrandom( [pid 306] <... mkdir resumed>) = 0 [pid 308] <... getrandom resumed>"\x02\x5e\x9b\xf5\xad\xc7\x65\x10", 8, GRND_NONBLOCK) = 8 [pid 308] mkdir("./syzkaller.YYBLX5", 0700 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 309 attached [pid 308] <... mkdir resumed>) = 0 [pid 308] chmod("./syzkaller.YYBLX5", 0777) = 0 [pid 308] chdir("./syzkaller.YYBLX5" [pid 310] <... mkdir resumed>) = 0 [pid 309] set_robust_list(0x5555737ed6a0, 24 [pid 308] <... chdir resumed>) = 0 [pid 307] getrandom( [pid 306] <... openat resumed>) = 3 [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... getrandom resumed>"\x73\x7a\x2b\x79\x07\xa4\x56\x9d", 8, GRND_NONBLOCK) = 8 [pid 307] mkdir("./syzkaller.DpTGwH", 0700) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 311 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 307] chmod("./syzkaller.DpTGwH", 0777 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... chmod resumed>) = 0 [pid 307] chdir("./syzkaller.DpTGwH") = 0 [pid 307] mkdir("./0", 0777) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... set_robust_list resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] rt_sigprocmask(SIG_SETMASK, [] [ 27.066938][ T28] audit: type=1400 audit(1791997950.242:64): avc: denied { execmem } for pid=305 comm="syz-executor172" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [pid 308] mkdir("./0", 0777 [pid 310] <... openat resumed>) = 3 [pid 308] <... mkdir resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] getrandom(ci2-android-6-1/strace-static-x86_64: Process 311 attached [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] close(3) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 312 attached [pid 311] set_robust_list(0x5555737ed6a0, 24 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 312 [pid 309] <... getrandom resumed>"\x6a\xf0\xb3\x83\x51\x1e\x03\x7b", 8, GRND_NONBLOCK) = 8 [pid 309] mkdir("./syzkaller.uVDusS", 0700) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 3 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 313 [pid 308] ioctl(3, LOOP_CLR_FD [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] close(3 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] chmod("./syzkaller.uVDusS", 0777 [pid 308] <... close resumed>) = 0 [pid 309] <... chmod resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] chdir("./syzkaller.uVDusS" [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... chdir resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] mkdir("./0", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 314 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 309] close(3 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... close resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 315 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 314 attached [pid 314] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 314] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 314] chdir("./0") = 0 [pid 314] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 314] setpgid(0, 0) = 0 [pid 314] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 314] write(3, "1000", 4) = 4 [pid 314] close(3ci2-android-6-1/strace-static-x86_64: Process 315 attached ) = 0 [pid 315] set_robust_list(0x5555737ed6a0, 24 [pid 314] symlink("/dev/binderfs", "./binderfs" [pid 315] <... set_robust_list resumed>) = 0 [pid 315] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 315] chdir("./0") = 0 [pid 315] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 314] <... symlink resumed>) = 0 [pid 315] setpgid(0, 0) = 0 [pid 315] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 314] write(1, "executing program\n", 18) = 18 [pid 314] memfd_create("syzkaller", 0 [pid 315] write(3, "1000", 4) = 4 [pid 315] close(3) = 0 executing program [pid 315] symlink("/dev/binderfs", "./binderfs") = 0 [pid 314] <... memfd_create resumed>) = 3 [pid 314] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 312] set_robust_list(0x5555737ed6a0, 24 [pid 311] <... set_robust_list resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 312] <... set_robust_list resumed>) = 0 [pid 311] rt_sigprocmask(SIG_SETMASK, [] [pid 315] write(1, "executing program\n", 18) = 18 executing program [pid 315] memfd_create("syzkaller", 0 [pid 311] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 312] rt_sigprocmask(SIG_SETMASK, [] [pid 315] <... memfd_create resumed>) = 3 ci2-android-6-1/strace-static-x86_64: Process 313 attached [pid 315] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 312] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 311] chdir("./0" [pid 315] <... mmap resumed>) = 0x7f90a3563000 [ 27.095847][ T28] audit: type=1400 audit(1791997950.272:65): avc: denied { read } for pid=306 comm="syz-executor172" name="loop0" dev="devtmpfs" ino=118 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 27.120326][ T28] audit: type=1400 audit(1791997950.272:66): avc: denied { open } for pid=306 comm="syz-executor172" path="/dev/loop0" dev="devtmpfs" ino=118 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [pid 313] set_robust_list(0x5555737ed6a0, 24 [pid 312] chdir("./0" [pid 311] <... chdir resumed>) = 0 [pid 314] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 315] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 314] <... write resumed>) = 262144 [pid 314] munmap(0x7f90a3563000, 138412032) = 0 [pid 314] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 315] <... write resumed>) = 262144 [pid 314] ioctl(4, LOOP_SET_FD, 3 [pid 313] <... set_robust_list resumed>) = 0 [pid 312] <... chdir resumed>) = 0 [pid 311] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 315] munmap(0x7f90a3563000, 138412032) = 0 [pid 315] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 315] ioctl(4, LOOP_SET_FD, 3 [pid 314] <... ioctl resumed>) = 0 [pid 313] rt_sigprocmask(SIG_SETMASK, [] [pid 312] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 311] <... prctl resumed>) = 0 [pid 313] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 312] <... prctl resumed>) = 0 [pid 311] setpgid(0, 0 [pid 313] chdir("./0" [pid 312] setpgid(0, 0 [pid 311] <... setpgid resumed>) = 0 [pid 313] <... chdir resumed>) = 0 [pid 312] <... setpgid resumed>) = 0 [pid 311] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 313] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 312] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 311] <... openat resumed>) = 3 [pid 313] <... prctl resumed>) = 0 [pid 312] <... openat resumed>) = 3 [pid 311] write(3, "1000", 4 [pid 313] setpgid(0, 0 [pid 312] write(3, "1000", 4 [pid 311] <... write resumed>) = 4 [pid 313] <... setpgid resumed>) = 0 [pid 312] <... write resumed>) = 4 [pid 311] close(3 [pid 313] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 312] close(3 [pid 311] <... close resumed>) = 0 [pid 313] <... openat resumed>) = 3 [pid 312] <... close resumed>) = 0 [pid 311] symlink("/dev/binderfs", "./binderfs" [pid 313] write(3, "1000", 4 [pid 312] symlink("/dev/binderfs", "./binderfs" [pid 311] <... symlink resumed>) = 0 [pid 313] <... write resumed>) = 4 [pid 312] <... symlink resumed>) = 0 executing program [pid 311] write(1, "executing program\n", 18 [pid 313] close(3 [pid 312] write(1, "executing program\n", 18 [pid 311] <... write resumed>) = 18 [pid 313] <... close resumed>) = 0 executing program [pid 312] <... write resumed>) = 18 [pid 311] memfd_create("syzkaller", 0 [pid 313] symlink("/dev/binderfs", "./binderfs" [pid 312] memfd_create("syzkaller", 0 [pid 311] <... memfd_create resumed>) = 3 [pid 313] <... symlink resumed>) = 0 [pid 312] <... memfd_create resumed>) = 3 [pid 311] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 313] write(1, "executing program\n", 18 [pid 312] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 311] <... mmap resumed>) = 0x7f90a3563000 [pid 313] <... write resumed>) = 18 executing program [pid 312] <... mmap resumed>) = 0x7f90a3563000 [pid 311] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 313] memfd_create("syzkaller", 0 [pid 312] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 313] <... memfd_create resumed>) = 3 [pid 312] <... write resumed>) = 262144 [pid 311] <... write resumed>) = 262144 [pid 313] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 312] munmap(0x7f90a3563000, 138412032 [pid 311] munmap(0x7f90a3563000, 138412032 [pid 313] <... mmap resumed>) = 0x7f90a3563000 [pid 312] <... munmap resumed>) = 0 [pid 311] <... munmap resumed>) = 0 [pid 313] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 312] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 311] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 313] <... write resumed>) = 262144 [pid 312] <... openat resumed>) = 4 [pid 311] <... openat resumed>) = 4 [ 27.147679][ T28] audit: type=1400 audit(1791997950.282:67): avc: denied { ioctl } for pid=306 comm="syz-executor172" path="/dev/loop0" dev="devtmpfs" ino=118 ioctlcmd=0x4c01 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 27.162054][ T314] loop2: detected capacity change from 0 to 512 [ 27.175253][ T28] audit: type=1400 audit(1791997950.342:68): avc: denied { write } for pid=314 comm="syz-executor172" name="loop2" dev="devtmpfs" ino=120 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 27.184831][ T315] loop3: detected capacity change from 0 to 512 [pid 313] munmap(0x7f90a3563000, 138412032 [pid 312] ioctl(4, LOOP_SET_FD, 3 [pid 311] ioctl(4, LOOP_SET_FD, 3 [pid 315] <... ioctl resumed>) = 0 [pid 313] <... munmap resumed>) = 0 [pid 315] close(3 [pid 313] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 315] <... close resumed>) = 0 [pid 313] <... openat resumed>) = 4 [pid 315] close(4 [pid 313] ioctl(4, LOOP_SET_FD, 3 [pid 315] <... close resumed>) = 0 [pid 313] <... ioctl resumed>) = 0 [pid 315] mkdir("./file2", 0777 [pid 314] close(3) = 0 [pid 314] close(4) = 0 [pid 314] mkdir("./file2", 0777 [pid 315] <... mkdir resumed>) = 0 [pid 314] <... mkdir resumed>) = 0 [pid 315] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [ 27.226551][ T312] loop1: detected capacity change from 0 to 512 [ 27.233045][ T311] loop0: detected capacity change from 0 to 512 [ 27.240952][ T313] loop4: detected capacity change from 0 to 512 [ 27.249446][ T28] audit: type=1400 audit(1791997950.432:69): avc: denied { mounton } for pid=315 comm="syz-executor172" path="/root/syzkaller.uVDusS/0/file2" dev="sda1" ino=2040 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [pid 314] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 311] <... ioctl resumed>) = 0 [pid 311] close(3) = 0 [pid 311] close(4) = 0 [pid 311] mkdir("./file2", 0777) = 0 [pid 313] close(3) = 0 [pid 313] close(4) = 0 [pid 313] mkdir("./file2", 0777) = 0 [pid 311] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 313] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 312] <... ioctl resumed>) = 0 [pid 312] close(3) = 0 [pid 312] close(4) = 0 [pid 312] mkdir("./file2", 0777) = 0 [ 27.250461][ T315] EXT4-fs: Warning: mounting with data=journal disables delayed allocation, dioread_nolock, O_DIRECT and fast_commit support! [ 27.292029][ T311] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 27.303489][ T313] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 27.315877][ T314] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 27.318959][ T312] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 27.329093][ T315] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 27.355945][ T313] EXT4-fs warning (device loop4): ext4_expand_extra_isize_ea:2802: Unable to expand inode 15. Delete some EAs or run e2fsck. [ 27.361520][ T311] EXT4-fs warning (device loop0): ext4_expand_extra_isize_ea:2802: Unable to expand inode 15. Delete some EAs or run e2fsck. [ 27.373195][ T315] EXT4-fs warning (device loop3): ext4_expand_extra_isize_ea:2802: Unable to expand inode 15. Delete some EAs or run e2fsck. [ 27.395436][ T311] EXT4-fs (loop0): 1 truncate cleaned up [ 27.398033][ T312] EXT4-fs (loop1): 1 truncate cleaned up [ 27.401509][ T311] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. [pid 312] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 311] <... mount resumed>) = 0 [pid 311] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 311] chdir("./file2") = 0 [pid 311] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 311] ioctl(4, LOOP_CLR_FD) = 0 [pid 311] close(4) = 0 [pid 311] exit_group(0) = ? [pid 311] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=311, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 306] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./0/binderfs") = 0 [ 27.416299][ T28] audit: type=1400 audit(1791997950.592:70): avc: denied { mount } for pid=311 comm="syz-executor172" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 27.416748][ T314] EXT4-fs (loop2): 1 truncate cleaned up [ 27.446654][ T313] EXT4-fs (loop4): 1 truncate cleaned up [ 27.456029][ T28] audit: type=1400 audit(1791997950.632:71): avc: denied { unmount } for pid=306 comm="syz-executor172" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [pid 306] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 306] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./0/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./0/file2") = 0 [pid 306] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./0") = 0 [pid 306] mkdir("./1", 0777) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 306] ioctl(3, LOOP_CLR_FD) = 0 [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 325 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 325 attached [pid 325] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 325] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 325] chdir("./1") = 0 [pid 325] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 325] setpgid(0, 0) = 0 [pid 325] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 325] write(3, "1000", 4) = 4 [pid 325] close(3) = 0 [pid 325] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 325] write(1, "executing program\n", 18) = 18 [pid 325] memfd_create("syzkaller", 0) = 3 [pid 325] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [ 27.465450][ T312] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: none. [ 27.477582][ T315] EXT4-fs (loop3): 1 truncate cleaned up [ 27.491038][ T306] EXT4-fs (loop0): unmounting filesystem. [ 27.497006][ T313] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: none. [pid 325] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 325] munmap(0x7f90a3563000, 138412032) = 0 [pid 325] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 325] ioctl(4, LOOP_SET_FD, 3 [pid 313] <... mount resumed>) = 0 [pid 313] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 313] chdir("./file2") = 0 [pid 313] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 313] ioctl(4, LOOP_CLR_FD) = 0 [pid 313] close(4) = 0 [pid 313] exit_group(0) = ? [pid 313] +++ exited with 0 +++ [pid 325] <... ioctl resumed>) = 0 [pid 325] close(3) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=313, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 325] close(4) = 0 [pid 325] mkdir("./file2", 0777) = 0 [pid 325] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 312] <... mount resumed>) = 0 [pid 312] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 315] <... mount resumed>) = 0 [pid 315] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 314] <... mount resumed>) = 0 [pid 312] chdir("./file2" [pid 310] <... restart_syscall resumed>) = 0 [pid 312] <... chdir resumed>) = 0 [pid 312] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 310] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 312] ioctl(4, LOOP_CLR_FD [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 312] <... ioctl resumed>) = 0 [pid 310] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 312] close(4 [pid 310] <... openat resumed>) = 3 [pid 312] <... close resumed>) = 0 [pid 310] fstat(3 [pid 312] exit_group(0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 312] <... exit_group resumed>) = ? [pid 310] getdents64(3 [pid 312] +++ exited with 0 +++ [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=312, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./0/binderfs") = 0 [pid 310] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 314] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 315] <... openat resumed>) = 3 [pid 314] chdir("./file2") = 0 [pid 315] chdir("./file2" [pid 314] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 315] <... chdir resumed>) = 0 [pid 314] <... openat resumed>) = 4 [pid 315] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 315] ioctl(4, LOOP_CLR_FD [pid 314] ioctl(4, LOOP_CLR_FD [pid 315] <... ioctl resumed>) = 0 [pid 314] <... ioctl resumed>) = 0 [pid 314] close(4 [pid 315] close(4 [pid 314] <... close resumed>) = 0 [pid 315] <... close resumed>) = 0 [pid 314] exit_group(0 [pid 315] exit_group(0 [pid 314] <... exit_group resumed>) = ? [pid 315] <... exit_group resumed>) = ? [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3 [ 27.521927][ T315] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: none. [ 27.533346][ T325] loop0: detected capacity change from 0 to 512 [ 27.546750][ T314] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: none. [ 27.547442][ T325] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 27.567376][ T310] EXT4-fs (loop4): unmounting filesystem. [pid 315] +++ exited with 0 +++ [pid 314] +++ exited with 0 +++ [pid 310] <... umount2 resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./0/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=315, si_uid=0, si_status=0, si_utime=0, si_stime=11 /* 0.11 s */} --- [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=314, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 307] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./0/binderfs" [pid 310] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] unlink("./0/binderfs" [pid 310] close(4 [pid 309] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 325] <... mount resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... unlink resumed>) = 0 [pid 325] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] rmdir("./0/file2" [pid 309] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 325] <... openat resumed>) = 3 [pid 310] <... rmdir resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 307] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 325] chdir("./file2" [pid 310] getdents64(3 [pid 309] fstat(3 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./0") = 0 [pid 310] mkdir("./1", 0777) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 325] <... chdir resumed>) = 0 [pid 310] close(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... openat resumed>) = 3 [pid 310] <... close resumed>) = 0 [pid 325] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] getdents64(3 [pid 308] fstat(3 [pid 325] <... openat resumed>) = 4 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 325] ioctl(4, LOOP_CLR_FD [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 325] <... ioctl resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 327 [pid 309] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] getdents64(3 [pid 325] close(4 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 325] <... close resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 325] exit_group(0 [pid 309] newfstatat(AT_FDCWD, "./0/binderfs" [pid 308] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 325] <... exit_group resumed>) = ? [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ci2-android-6-1/strace-static-x86_64: Process 327 attached [pid 327] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 327] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 325] +++ exited with 0 +++ [pid 308] newfstatat(AT_FDCWD, "./0/binderfs" [pid 309] unlink("./0/binderfs" [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=325, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... unlink resumed>) = 0 [pid 308] unlink("./0/binderfs" [pid 309] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... unlink resumed>) = 0 [pid 308] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... restart_syscall resumed>) = 0 [pid 327] chdir("./1" [pid 307] <... umount2 resumed>) = 0 [pid 327] <... chdir resumed>) = 0 [pid 327] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 27.577467][ T325] EXT4-fs (loop0): 1 truncate cleaned up [ 27.590618][ T325] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. [ 27.605449][ T307] EXT4-fs (loop1): unmounting filesystem. [ 27.617521][ T309] EXT4-fs (loop3): unmounting filesystem. [pid 327] setpgid(0, 0) = 0 [pid 327] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 306] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 327] write(3, "1000", 4 [pid 306] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 327] <... write resumed>) = 4 [pid 306] <... openat resumed>) = 3 [pid 327] close(3 [pid 306] fstat(3 [pid 327] <... close resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 327] symlink("/dev/binderfs", "./binderfs" [pid 306] getdents64(3 [pid 327] <... symlink resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 327] write(1, "executing program\n", 18 [pid 306] newfstatat(AT_FDCWD, "./1/binderfs" [pid 327] <... write resumed>) = 18 [pid 327] memfd_create("syzkaller", 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 327] <... memfd_create resumed>) = 3 executing program [pid 306] unlink("./1/binderfs") = 0 [pid 327] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 327] <... mmap resumed>) = 0x7f90a3563000 [pid 307] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./0/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = 0 [pid 307] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./0/file2") = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] close(3) = 0 [pid 309] newfstatat(AT_FDCWD, "./0/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] rmdir("./0" [pid 309] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rmdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 307] mkdir("./1", 0777 [pid 309] <... close resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 309] rmdir("./0/file2") = 0 [pid 327] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 309] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 309] rmdir("./0") = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 327] <... write resumed>) = 262144 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 309] mkdir("./1", 0777 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... mkdir resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 328 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] close(3) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 327] munmap(0x7f90a3563000, 138412032) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 329 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 327] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 327] ioctl(4, LOOP_SET_FD, 3ci2-android-6-1/strace-static-x86_64: Process 329 attached [pid 308] <... umount2 resumed>) = 0 [pid 329] set_robust_list(0x5555737ed6a0, 24 [pid 308] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 328 attached [pid 328] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 328] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 328] chdir("./1") = 0 [pid 328] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 306] <... umount2 resumed>) = 0 [pid 328] <... prctl resumed>) = 0 [pid 328] setpgid(0, 0) = 0 [pid 328] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 328] write(3, "1000", 4) = 4 [pid 328] close(3) = 0 [pid 328] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 328] write(1, "executing program\n", 18) = 18 [pid 328] memfd_create("syzkaller", 0) = 3 [pid 328] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 329] <... set_robust_list resumed>) = 0 [pid 328] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 329] rt_sigprocmask(SIG_SETMASK, [] [pid 308] newfstatat(AT_FDCWD, "./0/file2" [pid 329] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 329] chdir("./1" [pid 306] newfstatat(AT_FDCWD, "./1/file2" [pid 329] <... chdir resumed>) = 0 [pid 308] umount2("./0/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 329] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 329] <... prctl resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 329] setpgid(0, 0 [pid 306] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./0/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 329] <... setpgid resumed>) = 0 [pid 329] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 328] <... write resumed>) = 262144 [pid 308] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 329] <... openat resumed>) = 3 [pid 308] fstat(4 [pid 306] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 329] write(3, "1000", 4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... openat resumed>) = 4 [pid 329] <... write resumed>) = 4 [pid 308] getdents64(4 [pid 306] fstat(4 [pid 329] close(3) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 329] symlink("/dev/binderfs", "./binderfs" [pid 308] getdents64(4 [pid 306] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 executing program [pid 329] <... symlink resumed>) = 0 [pid 328] munmap(0x7f90a3563000, 138412032 [pid 308] close(4 [pid 329] write(1, "executing program\n", 18 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] <... close resumed>) = 0 [pid 329] <... write resumed>) = 18 [pid 306] getdents64(4 [pid 308] rmdir("./0/file2" [pid 329] memfd_create("syzkaller", 0) = 3 [pid 328] <... munmap resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 329] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] getdents64(3 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 329] <... mmap resumed>) = 0x7f90a3563000 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] close(4 [pid 328] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 27.625213][ T308] EXT4-fs (loop2): unmounting filesystem. [ 27.634830][ T306] EXT4-fs (loop0): unmounting filesystem. [ 27.655209][ T327] loop4: detected capacity change from 0 to 512 [pid 328] ioctl(4, LOOP_SET_FD, 3 [pid 329] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 308] close(3 [pid 306] <... close resumed>) = 0 [pid 327] <... ioctl resumed>) = 0 [pid 327] close(3) = 0 [pid 327] close(4 [pid 329] <... write resumed>) = 262144 [pid 308] <... close resumed>) = 0 [pid 306] rmdir("./1/file2" [pid 327] <... close resumed>) = 0 [pid 327] mkdir("./file2", 0777 [pid 308] rmdir("./0" [pid 306] <... rmdir resumed>) = 0 [pid 327] <... mkdir resumed>) = 0 [pid 327] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 328] <... ioctl resumed>) = 0 [pid 328] close(3) = 0 [pid 328] close(4) = 0 [pid 328] mkdir("./file2", 0777) = 0 [pid 328] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 329] munmap(0x7f90a3563000, 138412032) = 0 [pid 329] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 329] ioctl(4, LOOP_SET_FD, 3 [pid 308] <... rmdir resumed>) = 0 [pid 306] getdents64(3 [pid 308] mkdir("./1", 0777 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] close(3 [pid 308] <... openat resumed>) = 3 [pid 306] <... close resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] rmdir("./1" [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] close(3 [pid 306] <... rmdir resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 306] mkdir("./2", 0777 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 330 [pid 306] <... openat resumed>) = 3 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] ioctl(3, LOOP_CLR_FD [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[]ci2-android-6-1/strace-static-x86_64: Process 330 attached , [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 330] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 331 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 330] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 330] chdir("./1") = 0 [pid 330] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 330] setpgid(0, 0) = 0 [pid 330] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 329] <... ioctl resumed>) = 0 [pid 330] <... openat resumed>) = 3 [pid 330] write(3, "1000", 4) = 4 [pid 330] close(3) = 0 [pid 330] symlink("/dev/binderfs", "./binderfs") = 0 [pid 330] write(1, "executing program\n", 18) = 18 executing program [pid 330] memfd_create("syzkaller", 0) = 3 [pid 330] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 330] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 330] munmap(0x7f90a3563000, 138412032) = 0 [pid 330] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 330] ioctl(4, LOOP_SET_FD, 3 [ 27.672826][ T328] loop1: detected capacity change from 0 to 512 [ 27.687700][ T329] loop3: detected capacity change from 0 to 512 [ 27.694112][ T327] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 27.706541][ T328] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [pid 329] close(3ci2-android-6-1/strace-static-x86_64: Process 331 attached [pid 331] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 329] <... close resumed>) = 0 [pid 329] close(4) = 0 [pid 329] mkdir("./file2", 0777 [pid 331] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 331] chdir("./2") = 0 [pid 331] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 331] setpgid(0, 0) = 0 [pid 331] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 331] write(3, "1000", 4) = 4 [pid 331] close(3) = 0 [pid 331] symlink("/dev/binderfs", "./binderfs") = 0 [pid 331] write(1, "executing program\n", 18) = 18 executing program [pid 331] memfd_create("syzkaller", 0) = 3 [pid 331] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 331] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 329] <... mkdir resumed>) = 0 [pid 329] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 331] <... write resumed>) = 262144 [pid 331] munmap(0x7f90a3563000, 138412032 [pid 330] <... ioctl resumed>) = 0 [pid 330] close(3 [pid 331] <... munmap resumed>) = 0 [pid 331] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 330] <... close resumed>) = 0 [pid 331] <... openat resumed>) = 4 [pid 331] ioctl(4, LOOP_SET_FD, 3 [pid 330] close(4) = 0 [pid 330] mkdir("./file2", 0777) = 0 [pid 330] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 327] <... mount resumed>) = 0 [pid 327] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 331] <... ioctl resumed>) = 0 [ 27.733349][ T330] loop2: detected capacity change from 0 to 512 [ 27.747525][ T329] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 27.759381][ T327] EXT4-fs (loop4): 1 truncate cleaned up [ 27.765202][ T327] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: none. [pid 331] close(3) = 0 [pid 331] close(4) = 0 [pid 331] mkdir("./file2", 0777 [pid 327] <... openat resumed>) = 3 [pid 327] chdir("./file2") = 0 [pid 327] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 327] ioctl(4, LOOP_CLR_FD) = 0 [pid 327] close(4) = 0 [pid 327] exit_group(0) = ? [pid 331] <... mkdir resumed>) = 0 [pid 331] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 327] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=327, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 310] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./1/binderfs") = 0 [ 27.775906][ T330] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 27.789086][ T328] EXT4-fs (loop1): 1 truncate cleaned up [ 27.796006][ T329] EXT4-fs (loop3): 1 truncate cleaned up [ 27.803576][ T328] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: none. [ 27.804264][ T331] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 27.818325][ T329] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: none. [pid 310] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 329] <... mount resumed>) = 0 [pid 328] <... mount resumed>) = 0 [pid 329] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 328] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 329] <... openat resumed>) = 3 [pid 328] <... openat resumed>) = 3 [pid 329] chdir("./file2" [pid 328] chdir("./file2" [pid 329] <... chdir resumed>) = 0 [pid 328] <... chdir resumed>) = 0 [pid 329] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 328] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 329] <... openat resumed>) = 4 [pid 328] <... openat resumed>) = 4 [pid 329] ioctl(4, LOOP_CLR_FD [pid 328] ioctl(4, LOOP_CLR_FD [pid 329] <... ioctl resumed>) = 0 [pid 328] <... ioctl resumed>) = 0 [pid 329] close(4 [pid 328] close(4 [pid 329] <... close resumed>) = 0 [pid 328] <... close resumed>) = 0 [pid 329] exit_group(0 [pid 328] exit_group(0 [pid 329] <... exit_group resumed>) = ? [pid 328] <... exit_group resumed>) = ? [pid 329] +++ exited with 0 +++ [pid 328] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=329, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=328, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... restart_syscall resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 309] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 309] fstat(3 [pid 307] fstat(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3 [pid 307] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./1/binderfs" [pid 307] newfstatat(AT_FDCWD, "./1/binderfs" [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./1/binderfs" [pid 307] unlink("./1/binderfs" [pid 309] <... unlink resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 309] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = 0 [pid 331] <... mount resumed>) = 0 [pid 330] <... mount resumed>) = 0 [pid 310] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 331] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 330] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 331] <... openat resumed>) = 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 27.831796][ T310] EXT4-fs (loop4): unmounting filesystem. [ 27.839026][ T330] EXT4-fs (loop2): 1 truncate cleaned up [ 27.844876][ T330] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: none. [ 27.855021][ T331] EXT4-fs (loop0): 1 truncate cleaned up [ 27.861100][ T331] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. [ 27.871176][ T307] EXT4-fs (loop1): unmounting filesystem. [ 27.878668][ T309] EXT4-fs (loop3): unmounting filesystem. [pid 331] chdir("./file2" [pid 330] <... openat resumed>) = 3 [pid 310] newfstatat(AT_FDCWD, "./1/file2" [pid 331] <... chdir resumed>) = 0 [pid 330] chdir("./file2" [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 331] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 330] <... chdir resumed>) = 0 [pid 310] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 331] <... openat resumed>) = 4 [pid 330] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 331] ioctl(4, LOOP_CLR_FD [pid 330] <... openat resumed>) = 4 [pid 310] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 331] <... ioctl resumed>) = 0 [pid 330] ioctl(4, LOOP_CLR_FD [pid 310] <... openat resumed>) = 4 [pid 331] close(4 [pid 330] <... ioctl resumed>) = 0 [pid 310] fstat(4 [pid 331] <... close resumed>) = 0 [pid 330] close(4 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 331] exit_group(0 [pid 330] <... close resumed>) = 0 [pid 310] getdents64(4 [pid 331] <... exit_group resumed>) = ? [pid 330] exit_group(0 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 331] +++ exited with 0 +++ [pid 330] <... exit_group resumed>) = ? [pid 310] getdents64(4 [pid 330] +++ exited with 0 +++ [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] close(4 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=330, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 310] <... close resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> executing program [pid 310] rmdir("./1/file2") = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=331, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./1") = 0 [pid 310] mkdir("./2", 0777) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 310] close(3) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 338 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./1/binderfs") = 0 [pid 308] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./1/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./1/file2") = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./1") = 0 [pid 307] mkdir("./2", 0777) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 339 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 339 attached [pid 339] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 339] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 339] chdir("./2") = 0 [pid 339] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 339] setpgid(0, 0) = 0 [pid 339] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 339] write(3, "1000", 4) = 4 [pid 339] close(3) = 0 [pid 339] symlink("/dev/binderfs", "./binderfs") = 0 [pid 339] write(1, "executing program\n", 18) = 18 [pid 339] memfd_create("syzkaller", 0) = 3 [pid 339] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 339] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 339] munmap(0x7f90a3563000, 138412032) = 0 [pid 339] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 339] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 339] close(3) = 0 [pid 339] close(4) = 0 [pid 339] mkdir("./file2", 0777) = 0 [pid 339] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 306] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./2/binderfs") = 0 [pid 306] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 338 attached [pid 338] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 338] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 338] chdir("./2") = 0 [pid 338] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 338] setpgid(0, 0) = 0 [pid 338] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 338] write(3, "1000", 4) = 4 [pid 338] close(3) = 0 [pid 338] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 338] write(1, "executing program\n", 18) = 18 [pid 338] memfd_create("syzkaller", 0) = 3 [pid 338] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 338] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 338] munmap(0x7f90a3563000, 138412032) = 0 [pid 338] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 338] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 338] close(3) = 0 [pid 338] close(4) = 0 [pid 338] mkdir("./file2", 0777) = 0 [pid 338] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./1/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./1/file2" [pid 308] <... umount2 resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./1") = 0 [pid 309] mkdir("./2", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] close(3) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 340 [ 27.890563][ T308] EXT4-fs (loop2): unmounting filesystem. [ 27.913931][ T306] EXT4-fs (loop0): unmounting filesystem. [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 340 attached [pid 308] newfstatat(AT_FDCWD, "./1/file2" [pid 340] set_robust_list(0x5555737ed6a0, 24 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 340] <... set_robust_list resumed>) = 0 [pid 308] umount2("./1/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 340] rt_sigprocmask(SIG_SETMASK, [] [pid 308] openat(AT_FDCWD, "./1/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 340] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 340] chdir("./2") = 0 [pid 340] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 340] setpgid(0, 0) = 0 [pid 340] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 340] write(3, "1000", 4) = 4 [pid 340] close(3) = 0 [pid 340] symlink("/dev/binderfs", "./binderfs" [pid 306] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./2/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] getdents64(4 [pid 308] close(4 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./1/file2" [pid 306] close(4) = 0 [pid 306] rmdir("./2/file2" [pid 308] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 308] getdents64(3 [pid 306] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] close(3 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./1" [pid 306] close(3) = 0 [pid 306] rmdir("./2" [pid 308] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 308] mkdir("./2", 0777 [pid 306] mkdir("./3", 0777 [pid 308] <... mkdir resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... openat resumed>) = 3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] <... openat resumed>) = 3 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] close(3 [pid 308] close(3 [pid 306] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 executing program [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 343 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 344 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 343 attached [pid 343] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 343] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 343] chdir("./2") = 0 [pid 343] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 343] setpgid(0, 0) = 0 [pid 343] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 343] write(3, "1000", 4) = 4 [pid 343] close(3) = 0 [pid 343] symlink("/dev/binderfs", "./binderfs") = 0 [pid 343] write(1, "executing program\n", 18) = 18 [pid 343] memfd_create("syzkaller", 0) = 3 [pid 343] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 343] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [ 27.934000][ T338] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 27.938846][ T339] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 27.958778][ T339] EXT4-fs (loop1): 1 truncate cleaned up [ 27.964653][ T339] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: none. [pid 343] munmap(0x7f90a3563000, 138412032) = 0 [pid 343] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 343] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 343] close(3) = 0 [pid 343] close(4) = 0 [pid 343] mkdir("./file2", 0777) = 0 [pid 343] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 339] <... mount resumed>) = 0 [pid 339] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 339] chdir("./file2") = 0 [pid 339] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 339] ioctl(4, LOOP_CLR_FD) = 0 [pid 339] close(4) = 0 [pid 339] exit_group(0) = ? [pid 339] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=339, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 340] <... symlink resumed>) = 0 [pid 340] write(1, "executing program\n", 18) = 18 [pid 340] memfd_create("syzkaller", 0) = 3 [pid 340] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 executing program [pid 340] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 340] munmap(0x7f90a3563000, 138412032) = 0 [pid 340] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 340] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 340] close(3) = 0 [pid 340] close(4) = 0 [pid 340] mkdir("./file2", 0777) = 0 [pid 340] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./2/binderfs") = 0 [pid 307] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 344 attached [pid 344] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 344] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 344] chdir("./3") = 0 [pid 344] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 344] setpgid(0, 0) = 0 [pid 344] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 344] write(3, "1000", 4) = 4 [pid 344] close(3) = 0 [pid 344] symlink("/dev/binderfs", "./binderfs") = 0 [pid 344] write(1, "executing program\n", 18) = 18 executing program [pid 344] memfd_create("syzkaller", 0) = 3 [pid 344] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 344] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 307] <... umount2 resumed>) = 0 [pid 344] <... write resumed>) = 262144 [pid 307] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./2/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [ 27.983556][ T343] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 27.986325][ T338] EXT4-fs (loop4): 1 truncate cleaned up [ 28.004069][ T340] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 28.016626][ T307] EXT4-fs (loop1): unmounting filesystem. [ 28.020452][ T343] EXT4-fs (loop2): 1 truncate cleaned up [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./2/file2") = 0 [pid 344] munmap(0x7f90a3563000, 138412032) = 0 [pid 344] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 344] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./2") = 0 [pid 344] close(3) = 0 [pid 344] close(4) = 0 [pid 344] mkdir("./file2", 0777) = 0 [pid 307] mkdir("./3", 0777) = 0 [pid 344] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 343] <... mount resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 343] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 343] <... openat resumed>) = 3 ci2-android-6-1/strace-static-x86_64: Process 348 attached [pid 343] chdir("./file2" [pid 338] <... mount resumed>) = 0 [pid 348] set_robust_list(0x5555737ed6a0, 24 [pid 343] <... chdir resumed>) = 0 [pid 338] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 348 [pid 348] <... set_robust_list resumed>) = 0 [pid 343] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 338] <... openat resumed>) = 3 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 348] rt_sigprocmask(SIG_SETMASK, [] [pid 343] <... openat resumed>) = 4 [pid 338] chdir("./file2" [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 348] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 343] ioctl(4, LOOP_CLR_FD [pid 338] <... chdir resumed>) = 0 [pid 343] <... ioctl resumed>) = 0 [pid 348] chdir("./3" [pid 343] close(4 [pid 338] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 343] <... close resumed>) = 0 [pid 338] <... openat resumed>) = 4 [pid 348] <... chdir resumed>) = 0 [pid 343] exit_group(0 [pid 338] ioctl(4, LOOP_CLR_FD [pid 348] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 343] <... exit_group resumed>) = ? [pid 338] <... ioctl resumed>) = 0 [pid 338] close(4 [pid 343] +++ exited with 0 +++ [pid 348] <... prctl resumed>) = 0 [pid 338] <... close resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=343, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 348] setpgid(0, 0) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 338] exit_group(0 [pid 348] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 338] <... exit_group resumed>) = ? [pid 348] <... openat resumed>) = 3 [pid 338] +++ exited with 0 +++ [pid 348] write(3, "1000", 4 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=338, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 348] <... write resumed>) = 4 [pid 348] close(3) = 0 [pid 348] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 348] write(1, "executing program\n", 18) = 18 [pid 348] memfd_create("syzkaller", 0) = 3 [pid 348] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 348] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 348] munmap(0x7f90a3563000, 138412032 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 348] <... munmap resumed>) = 0 [pid 310] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 348] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 310] <... openat resumed>) = 3 [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 348] <... openat resumed>) = 4 [pid 310] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 348] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] newfstatat(AT_FDCWD, "./2/binderfs" [pid 348] <... ioctl resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... openat resumed>) = 3 [pid 310] unlink("./2/binderfs" [pid 348] close(3 [pid 310] <... unlink resumed>) = 0 [pid 308] fstat(3 [pid 348] <... close resumed>) = 0 [pid 310] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 348] close(4 [pid 308] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 348] <... close resumed>) = 0 [ 28.036827][ T343] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: none. [ 28.049974][ T344] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 28.056545][ T338] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: none. [ 28.074410][ T340] EXT4-fs (loop3): 1 truncate cleaned up [pid 308] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./2/binderfs" [pid 348] mkdir("./file2", 0777 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./2/binderfs") = 0 [pid 308] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 348] <... mkdir resumed>) = 0 [pid 340] <... mount resumed>) = 0 [pid 340] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 340] chdir("./file2") = 0 [pid 340] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 340] ioctl(4, LOOP_CLR_FD) = 0 [pid 340] close(4) = 0 [pid 340] exit_group(0) = ? [pid 340] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=340, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 309] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 348] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 28.100269][ T310] EXT4-fs (loop4): unmounting filesystem. [ 28.106901][ T308] EXT4-fs (loop2): unmounting filesystem. [ 28.114202][ T340] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: none. [ 28.115141][ T344] EXT4-fs (loop0): 1 truncate cleaned up [ 28.131206][ T309] EXT4-fs (loop3): unmounting filesystem. [ 28.137484][ T348] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [pid 309] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./2/binderfs") = 0 [pid 309] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./2/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./2/file2") = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./2") = 0 [pid 308] mkdir("./3", 0777 [pid 309] <... umount2 resumed>) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 3 [pid 308] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] close(3) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 350 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./2/file2" [pid 310] newfstatat(AT_FDCWD, "./2/file2" [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 344] <... mount resumed>) = 0 [pid 309] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 344] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] umount2("./2/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 344] <... openat resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 344] chdir("./file2" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 344] <... chdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "./2/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 4 ci2-android-6-1/strace-static-x86_64: Process 350 attached [pid 344] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 350] set_robust_list(0x5555737ed6a0, 24 [pid 344] <... openat resumed>) = 4 [pid 310] fstat(4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 350] <... set_robust_list resumed>) = 0 [pid 344] ioctl(4, LOOP_CLR_FD [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 344] <... ioctl resumed>) = 0 [pid 310] getdents64(4 [pid 350] rt_sigprocmask(SIG_SETMASK, [] [pid 344] close(4 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 350] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 344] <... close resumed>) = 0 [pid 310] getdents64(4 [pid 309] getdents64(4 [pid 350] chdir("./3" [pid 344] exit_group(0 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 344] <... exit_group resumed>) = ? [pid 310] close(4 [pid 309] close(4 [pid 350] <... chdir resumed>) = 0 [pid 350] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 344] +++ exited with 0 +++ [pid 310] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 350] <... prctl resumed>) = 0 [pid 310] rmdir("./2/file2" [pid 309] rmdir("./2/file2" [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=344, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 350] setpgid(0, 0 [pid 306] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... rmdir resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 350] <... setpgid resumed>) = 0 [pid 310] getdents64(3 [pid 306] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 350] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... openat resumed>) = 3 [pid 350] <... openat resumed>) = 3 [pid 310] close(3 [pid 306] fstat(3 [pid 350] write(3, "1000", 4 [pid 310] <... close resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 350] <... write resumed>) = 4 [pid 310] rmdir("./2" [pid 309] <... rmdir resumed>) = 0 [pid 306] getdents64(3 [pid 350] close(3 [pid 310] <... rmdir resumed>) = 0 [pid 309] getdents64(3 [pid 350] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] mkdir("./3", 0777 [ 28.140686][ T344] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. [pid 309] close(3) = 0 [pid 309] rmdir("./2") = 0 [pid 309] mkdir("./3", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] close(3) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 353 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 350] symlink("/dev/binderfs", "./binderfs") = 0 [pid 350] write(1, "executing program\n", 18) = 18 executing program [pid 350] memfd_create("syzkaller", 0) = 3 [pid 350] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 350] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144ci2-android-6-1/strace-static-x86_64: Process 353 attached ) = 262144 [pid 348] <... mount resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 306] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 353] set_robust_list(0x5555737ed6a0, 24 [pid 350] munmap(0x7f90a3563000, 138412032 [pid 348] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 353] <... set_robust_list resumed>) = 0 [pid 350] <... munmap resumed>) = 0 [pid 348] <... openat resumed>) = 3 [pid 310] <... openat resumed>) = 3 [pid 306] newfstatat(AT_FDCWD, "./3/binderfs" [pid 353] rt_sigprocmask(SIG_SETMASK, [] [pid 350] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 348] chdir("./file2" [pid 310] ioctl(3, LOOP_CLR_FD [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 353] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 348] <... chdir resumed>) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] unlink("./3/binderfs" [pid 353] chdir("./3" [pid 348] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] close(3 [pid 306] <... unlink resumed>) = 0 [pid 350] <... openat resumed>) = 4 [pid 353] <... chdir resumed>) = 0 [pid 350] ioctl(4, LOOP_SET_FD, 3 [pid 348] <... openat resumed>) = 4 [pid 310] <... close resumed>) = 0 [pid 306] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 353] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 348] ioctl(4, LOOP_CLR_FD [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 353] <... prctl resumed>) = 0 [pid 350] <... ioctl resumed>) = 0 [pid 348] <... ioctl resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 353] setpgid(0, 0 [pid 350] close(3 [pid 348] close(4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 353] <... setpgid resumed>) = 0 [pid 350] <... close resumed>) = 0 [pid 348] <... close resumed>) = 0 [pid 353] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 350] close(4 [pid 348] exit_group(0 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 354 [pid 353] <... openat resumed>) = 3 [pid 350] <... close resumed>) = 0 [pid 348] <... exit_group resumed>) = ? [pid 310] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 354 attached [pid 353] write(3, "1000", 4 [pid 350] mkdir("./file2", 0777 [pid 348] +++ exited with 0 +++ [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 353] <... write resumed>) = 4 [pid 353] close(3 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=348, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 353] <... close resumed>) = 0 [pid 307] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 353] symlink("/dev/binderfs", "./binderfs" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 354] set_robust_list(0x5555737ed6a0, 24 [pid 353] <... symlink resumed>) = 0 [pid 350] <... mkdir resumed>) = 0 [pid 354] <... set_robust_list resumed>) = 0 [pid 350] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 354] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 354] chdir("./3") = 0 [pid 354] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 354] setpgid(0, 0) = 0 [pid 354] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 307] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 354] write(3, "1000", 4) = 4 [pid 354] close(3) = 0 [pid 354] symlink("/dev/binderfs", "./binderfs") = 0 [pid 354] write(1, "executing program\n", 18) = 18 executing program [pid 354] memfd_create("syzkaller", 0) = 3 [pid 354] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 354] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 353] write(1, "executing program\n", 18 executing program [pid 307] <... openat resumed>) = 3 [pid 353] <... write resumed>) = 18 [pid 354] munmap(0x7f90a3563000, 138412032 [pid 353] memfd_create("syzkaller", 0 [pid 307] fstat(3 [pid 306] <... umount2 resumed>) = 0 [pid 354] <... munmap resumed>) = 0 [pid 353] <... memfd_create resumed>) = 3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 354] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 353] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] getdents64(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 354] <... openat resumed>) = 4 [pid 353] <... mmap resumed>) = 0x7f90a3563000 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] newfstatat(AT_FDCWD, "./3/file2" [pid 354] ioctl(4, LOOP_SET_FD, 3 [pid 353] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 307] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 354] <... ioctl resumed>) = 0 [pid 353] <... write resumed>) = 262144 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [ 28.180978][ T348] EXT4-fs (loop1): 1 truncate cleaned up [ 28.187139][ T348] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: none. [ 28.201164][ T306] EXT4-fs (loop0): unmounting filesystem. [ 28.218501][ T350] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [pid 353] munmap(0x7f90a3563000, 138412032 [pid 307] newfstatat(AT_FDCWD, "./3/binderfs" [pid 353] <... munmap resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 354] close(3 [pid 353] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 353] <... openat resumed>) = 4 [pid 307] unlink("./3/binderfs" [pid 306] <... openat resumed>) = 4 [pid 353] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... unlink resumed>) = 0 [pid 306] fstat(4 [pid 354] <... close resumed>) = 0 [pid 353] <... ioctl resumed>) = 0 [pid 350] <... mount resumed>) = 0 [pid 307] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 354] close(4 [pid 353] close(3 [pid 350] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 306] getdents64(4 [pid 354] <... close resumed>) = 0 [pid 353] <... close resumed>) = 0 [pid 350] <... openat resumed>) = 3 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 354] mkdir("./file2", 0777 [pid 353] close(4 [pid 350] chdir("./file2" [pid 306] getdents64(4 [pid 353] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 353] mkdir("./file2", 0777 [pid 306] close(4 [pid 354] <... mkdir resumed>) = 0 [pid 353] <... mkdir resumed>) = 0 [pid 350] <... chdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 354] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 353] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 350] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] rmdir("./3/file2" [pid 350] <... openat resumed>) = 4 [pid 350] ioctl(4, LOOP_CLR_FD) = 0 [pid 350] close(4) = 0 [pid 350] exit_group(0) = ? [pid 350] +++ exited with 0 +++ [pid 306] <... rmdir resumed>) = 0 [ 28.236539][ T350] EXT4-fs (loop2): 1 truncate cleaned up [ 28.242931][ T350] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: none. [ 28.257441][ T307] EXT4-fs (loop1): unmounting filesystem. [ 28.266742][ T353] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 28.276832][ T354] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [pid 306] getdents64(3 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=350, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] <... umount2 resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 308] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] newfstatat(AT_FDCWD, "./3/file2" [pid 306] rmdir("./3" [pid 308] <... openat resumed>) = 3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 308] fstat(3 [pid 307] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] mkdir("./4", 0777 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... mkdir resumed>) = 0 [pid 308] getdents64(3 [pid 307] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 353] <... mount resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] <... openat resumed>) = 4 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 353] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 308] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 353] <... openat resumed>) = 3 [pid 307] fstat(4 [pid 306] <... openat resumed>) = 3 [pid 353] chdir("./file2") = 0 [pid 353] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 353] ioctl(4, LOOP_CLR_FD) = 0 [pid 353] close(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 353] <... close resumed>) = 0 [pid 353] exit_group(0) = ? [pid 353] +++ exited with 0 +++ [pid 308] newfstatat(AT_FDCWD, "./3/binderfs" [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=353, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] getdents64(4 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] unlink("./3/binderfs" [pid 307] getdents64(4 [pid 306] close(3 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... unlink resumed>) = 0 [pid 307] close(4 [pid 306] <... close resumed>) = 0 [pid 308] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] rmdir("./3/file2") = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] getdents64(3 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] close(3 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 358 [pid 307] <... close resumed>) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 307] rmdir("./3" [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] <... rmdir resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] mkdir("./4", 0777 [pid 309] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] <... mkdir resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... openat resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./3/binderfs" [pid 307] ioctl(3, LOOP_CLR_FD [pid 309] <... unlink resumed>) = 0 [pid 309] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) ci2-android-6-1/strace-static-x86_64: Process 358 attached [pid 358] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 358] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 358] chdir("./4") = 0 [pid 358] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 358] setpgid(0, 0) = 0 [pid 358] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 358] write(3, "1000", 4) = 4 [pid 358] close(3) = 0 [pid 358] symlink("/dev/binderfs", "./binderfs") = 0 [pid 307] close(3 [pid 358] write(1, "executing program\n", 18) = 18 executing program [pid 358] memfd_create("syzkaller", 0) = 3 [pid 358] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 358] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 358] munmap(0x7f90a3563000, 138412032) = 0 [pid 358] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 358] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 358] close(3) = 0 [pid 358] close(4) = 0 [pid 358] mkdir("./file2", 0777) = 0 [ 28.291095][ T353] EXT4-fs (loop3): 1 truncate cleaned up [ 28.296906][ T353] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: none. [ 28.311334][ T308] EXT4-fs (loop2): unmounting filesystem. [ 28.321331][ T309] EXT4-fs (loop3): unmounting filesystem. [pid 358] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 359 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 308] newfstatat(AT_FDCWD, "./3/file2" [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./3/file2") = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./3") = 0 [pid 308] mkdir("./4", 0777) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLYci2-android-6-1/strace-static-x86_64: Process 359 attached [pid 359] set_robust_list(0x5555737ed6a0, 24 [pid 308] <... openat resumed>) = 3 [pid 308] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 354] <... mount resumed>) = 0 [pid 308] close(3 [pid 354] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 308] <... close resumed>) = 0 [pid 354] <... openat resumed>) = 3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 354] chdir("./file2" [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 354] <... chdir resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 354] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 361 [pid 354] ioctl(4, LOOP_CLR_FD) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 354] close(4 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 354] <... close resumed>) = 0 [pid 354] exit_group(0) = ? [pid 354] +++ exited with 0 +++ [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./3/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./3/file2") = 0 [pid 359] <... set_robust_list resumed>) = 0 [pid 359] rt_sigprocmask(SIG_SETMASK, [] [pid 309] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 359] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] close(3 [pid 359] chdir("./4" [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./3" [pid 359] <... chdir resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 359] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 359] setpgid(0, 0) = 0 [pid 359] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 359] write(3, "1000", 4) = 4 [pid 359] close(3 [pid 309] mkdir("./4", 0777 [pid 359] <... close resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=354, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 359] symlink("/dev/binderfs", "./binderfs") = 0 [pid 309] <... mkdir resumed>) = 0 [pid 359] write(1, "executing program\n", 18) = 18 executing program [pid 359] memfd_create("syzkaller", 0) = 3 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 359] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 359] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 309] <... close resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 362 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 310] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./3/binderfs") = 0 [ 28.334480][ T358] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 28.344155][ T354] EXT4-fs (loop4): 1 truncate cleaned up [ 28.356409][ T354] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: none. [pid 310] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 361 attached [pid 361] set_robust_list(0x5555737ed6a0, 24 [pid 359] <... write resumed>) = 262144 [pid 361] <... set_robust_list resumed>) = 0 [pid 361] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 361] chdir("./4") = 0 [pid 359] munmap(0x7f90a3563000, 138412032) = 0 [pid 361] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 361] setpgid(0, 0) = 0 [pid 361] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 359] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 359] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 361] write(3, "1000", 4) = 4 [pid 361] close(3) = 0 [pid 359] close(3 [pid 361] symlink("/dev/binderfs", "./binderfs" [pid 359] <... close resumed>) = 0 [pid 361] <... symlink resumed>) = 0 [pid 359] close(4) = 0 [pid 359] mkdir("./file2", 0777) = 0 [pid 361] write(1, "executing program\n", 18) = 18 executing program [pid 361] memfd_create("syzkaller", 0) = 3 [pid 361] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 361] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 359] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 310] <... umount2 resumed>) = 0 [pid 361] <... write resumed>) = 262144 [pid 361] munmap(0x7f90a3563000, 138412032) = 0 [pid 361] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 361] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 361] close(3) = 0 [pid 361] close(4) = 0 [pid 361] mkdir("./file2", 0777) = 0 [pid 361] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"...ci2-android-6-1/strace-static-x86_64: Process 362 attached [pid 362] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 362] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 362] chdir("./4" [pid 310] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 358] <... mount resumed>) = 0 [pid 358] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 358] chdir("./file2") = 0 [pid 358] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 358] ioctl(4, LOOP_CLR_FD) = 0 [pid 358] close(4) = 0 [pid 358] exit_group(0) = ? [pid 358] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=358, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 306] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 362] <... chdir resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 362] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 306] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 362] <... prctl resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 362] setpgid(0, 0 [pid 310] newfstatat(AT_FDCWD, "./3/file2" [pid 306] <... openat resumed>) = 3 [pid 362] <... setpgid resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 362] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] umount2("./3/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./3/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 362] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 362] write(3, "1000", 4 [pid 310] <... openat resumed>) = 4 [pid 306] newfstatat(AT_FDCWD, "./4/binderfs" [pid 362] <... write resumed>) = 4 [pid 310] fstat(4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 362] close(3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] unlink("./4/binderfs" [pid 362] <... close resumed>) = 0 [pid 310] getdents64(4 [pid 306] <... unlink resumed>) = 0 [ 28.384523][ T310] EXT4-fs (loop4): unmounting filesystem. [ 28.390898][ T358] EXT4-fs (loop0): 1 truncate cleaned up [ 28.401561][ T359] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 28.411512][ T358] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. [ 28.421983][ T361] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [pid 306] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 362] symlink("/dev/binderfs", "./binderfs" [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 362] <... symlink resumed>) = 0 [pid 310] getdents64(4 [pid 362] write(1, "executing program\n", 18 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 executing program [pid 362] <... write resumed>) = 18 [pid 310] close(4 [pid 362] memfd_create("syzkaller", 0 [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./3/file2" [pid 362] <... memfd_create resumed>) = 3 [pid 362] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... rmdir resumed>) = 0 [pid 359] <... mount resumed>) = 0 [pid 359] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 359] chdir("./file2") = 0 [pid 359] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 359] ioctl(4, LOOP_CLR_FD) = 0 [pid 359] close(4) = 0 [pid 359] exit_group(0) = ? [pid 362] <... mmap resumed>) = 0x7f90a3563000 [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 359] +++ exited with 0 +++ [pid 362] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 310] close(3 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=359, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] <... close resumed>) = 0 [pid 362] <... write resumed>) = 262144 [pid 361] <... mount resumed>) = 0 [pid 310] rmdir("./3" [pid 362] munmap(0x7f90a3563000, 138412032) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./4/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./4/file2") = 0 [pid 306] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./4" [pid 362] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] mkdir("./4", 0777 [pid 306] <... rmdir resumed>) = 0 [pid 362] <... openat resumed>) = 4 [pid 306] mkdir("./5", 0777 [pid 362] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... mkdir resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 362] <... ioctl resumed>) = 0 [pid 362] close(3 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 362] <... close resumed>) = 0 [pid 361] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] <... openat resumed>) = 3 [pid 362] close(4 [pid 310] ioctl(3, LOOP_CLR_FD [pid 362] <... close resumed>) = 0 [pid 361] <... openat resumed>) = 3 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 362] mkdir("./file2", 0777 [pid 310] close(3 [pid 361] chdir("./file2" [pid 362] <... mkdir resumed>) = 0 [pid 361] <... chdir resumed>) = 0 [pid 362] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 310] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 361] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [ 28.447417][ T306] EXT4-fs (loop0): unmounting filesystem. [ 28.455468][ T359] EXT4-fs (loop1): 1 truncate cleaned up [ 28.463539][ T359] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: none. [ 28.468775][ T361] EXT4-fs (loop2): 1 truncate cleaned up [ 28.479975][ T361] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: none. [pid 361] <... openat resumed>) = 4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 361] ioctl(4, LOOP_CLR_FD) = 0 [pid 307] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... openat resumed>) = 3 [pid 361] close(4 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 365 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 361] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 307] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] ioctl(3, LOOP_CLR_FD [pid 361] exit_group(0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... openat resumed>) = 3 [pid 361] <... exit_group resumed>) = ? [pid 307] fstat(3 [pid 361] +++ exited with 0 +++ [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=361, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] getdents64(3 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] close(3 [pid 307] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./4/binderfs") = 0 [pid 306] <... close resumed>) = 0 [pid 307] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rt_sigprocmask(SIG_BLOCK, ~[]ci2-android-6-1/strace-static-x86_64: Process 365 attached [pid 365] set_robust_list(0x5555737ed6a0, 24 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 365] <... set_robust_list resumed>) = 0 [pid 365] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 365] chdir("./4") = 0 [pid 365] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 365] setpgid(0, 0) = 0 [pid 365] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 365] <... openat resumed>) = 3 [pid 365] write(3, "1000", 4 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 367 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./4/binderfs") = 0 [pid 308] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 365] <... write resumed>) = 4 [pid 365] close(3) = 0 [pid 365] symlink("/dev/binderfs", "./binderfs") = 0 [pid 365] write(1, "executing program\n", 18) = 18 executing program [pid 365] memfd_create("syzkaller", 0) = 3 [pid 365] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 365] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 365] munmap(0x7f90a3563000, 138412032) = 0 [pid 365] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 365] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 365] close(3) = 0 [pid 365] close(4) = 0 [pid 365] mkdir("./file2", 0777) = 0 [pid 365] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"...ci2-android-6-1/strace-static-x86_64: Process 367 attached [pid 367] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 367] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 367] chdir("./5") = 0 [pid 367] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 367] setpgid(0, 0) = 0 [pid 367] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 367] write(3, "1000", 4) = 4 [pid 367] close(3) = 0 [pid 367] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 367] write(1, "executing program\n", 18) = 18 [pid 367] memfd_create("syzkaller", 0) = 3 [pid 367] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 367] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 367] munmap(0x7f90a3563000, 138412032) = 0 [pid 367] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 367] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 367] close(3) = 0 [pid 367] close(4) = 0 [pid 367] mkdir("./file2", 0777) = 0 [ 28.500451][ T362] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 28.518642][ T307] EXT4-fs (loop1): unmounting filesystem. [ 28.526427][ T362] EXT4-fs (loop3): 1 truncate cleaned up [ 28.533009][ T308] EXT4-fs (loop2): unmounting filesystem. [pid 367] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 362] <... mount resumed>) = 0 [pid 362] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 362] chdir("./file2") = 0 [pid 362] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 362] ioctl(4, LOOP_CLR_FD) = 0 [pid 362] close(4) = 0 [pid 362] exit_group(0) = ? [pid 362] +++ exited with 0 +++ [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./4/file2" [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=362, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] <... openat resumed>) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./4/file2") = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] close(3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./4/binderfs") = 0 [pid 309] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] rmdir("./4") = 0 [pid 307] mkdir("./5", 0777 [pid 308] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./4/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./4/file2") = 0 [pid 307] <... mkdir resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [ 28.556574][ T362] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: none. [ 28.567838][ T365] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 28.580134][ T367] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 28.591928][ T309] EXT4-fs (loop3): unmounting filesystem. [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./4") = 0 [pid 308] mkdir("./5", 0777) = 0 [pid 309] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./4/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 370 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 309] getdents64(4ci2-android-6-1/strace-static-x86_64: Process 370 attached [pid 365] <... mount resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 365] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 365] chdir("./file2") = 0 [pid 365] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 370] set_robust_list(0x5555737ed6a0, 24 [pid 365] ioctl(4, LOOP_CLR_FD) = 0 [pid 365] close(4) = 0 [pid 370] <... set_robust_list resumed>) = 0 [pid 365] exit_group(0 [pid 370] rt_sigprocmask(SIG_SETMASK, [] [pid 365] <... exit_group resumed>) = ? [pid 308] <... openat resumed>) = 3 [pid 370] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 365] +++ exited with 0 +++ [pid 308] ioctl(3, LOOP_CLR_FD [pid 370] chdir("./5" [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 370] <... chdir resumed>) = 0 [pid 309] getdents64(4 [pid 308] close(3 [pid 370] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... close resumed>) = 0 [pid 370] <... prctl resumed>) = 0 [pid 309] close(4 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 370] setpgid(0, 0 [pid 309] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 370] <... setpgid resumed>) = 0 [pid 309] rmdir("./4/file2" [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 370] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... rmdir resumed>) = 0 [pid 370] <... openat resumed>) = 3 [pid 309] getdents64(3 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 371 [pid 370] write(3, "1000", 4 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 370] <... write resumed>) = 4 [pid 309] close(3 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 371 attached [pid 370] close(3 [pid 367] <... mount resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=365, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] <... close resumed>) = 0 [pid 370] <... close resumed>) = 0 [pid 367] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] rmdir("./4" [pid 371] set_robust_list(0x5555737ed6a0, 24 [pid 370] symlink("/dev/binderfs", "./binderfs" [pid 367] <... openat resumed>) = 3 [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] <... rmdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 370] <... symlink resumed>) = 0 [pid 310] fstat(3 [pid 367] chdir("./file2" [pid 309] mkdir("./5", 0777 [pid 371] <... set_robust_list resumed>) = 0 [pid 370] write(1, "executing program\n", 18 [pid 367] <... chdir resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] <... mkdir resumed>) = 0 [pid 370] <... write resumed>) = 18 [pid 367] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] newfstatat(AT_FDCWD, "./4/binderfs" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 371] rt_sigprocmask(SIG_SETMASK, [] [pid 370] memfd_create("syzkaller", 0 [pid 367] <... openat resumed>) = 4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 371] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 370] <... memfd_create resumed>) = 3 [pid 367] ioctl(4, LOOP_CLR_FD [pid 310] unlink("./4/binderfs" [pid 309] <... openat resumed>) = 3 [pid 371] chdir("./5" [pid 370] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 367] <... ioctl resumed>) = 0 [pid 310] <... unlink resumed>) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 371] <... chdir resumed>) = 0 [pid 370] <... mmap resumed>) = 0x7f90a3563000 [pid 367] close(4 [pid 310] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 371] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 370] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 367] <... close resumed>) = 0 [pid 309] close(3 [pid 371] <... prctl resumed>) = 0 [pid 370] <... write resumed>) = 262144 [pid 367] exit_group(0 [pid 309] <... close resumed>) = 0 [pid 371] setpgid(0, 0 [pid 370] munmap(0x7f90a3563000, 138412032 [pid 367] <... exit_group resumed>) = ? [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 371] <... setpgid resumed>) = 0 [pid 370] <... munmap resumed>) = 0 [pid 367] +++ exited with 0 +++ [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 371] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 370] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=367, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 371] <... openat resumed>) = 3 [pid 370] <... openat resumed>) = 4 [pid 371] write(3, "1000", 4 [pid 370] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 372 [pid 371] <... write resumed>) = 4 [pid 370] <... ioctl resumed>) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 306] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 371] close(3 [pid 370] close(3 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 371] <... close resumed>) = 0 [pid 370] <... close resumed>) = 0 [pid 306] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 371] symlink("/dev/binderfs", "./binderfs" [pid 370] close(4 [pid 306] <... openat resumed>) = 3 ci2-android-6-1/strace-static-x86_64: Process 372 attached [pid 371] <... symlink resumed>) = 0 [pid 370] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 372] set_robust_list(0x5555737ed6a0, 24 [pid 310] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 372] <... set_robust_list resumed>) = 0 [pid 370] mkdir("./file2", 0777 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] fstat(3 [pid 372] rt_sigprocmask(SIG_SETMASK, [] [pid 371] write(1, "executing program\n", 18 executing program [pid 370] <... mkdir resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./4/file2" [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 372] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 371] <... write resumed>) = 18 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 372] chdir("./5" [pid 370] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 310] umount2("./4/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(3 [pid 372] <... chdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 372] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] openat(AT_FDCWD, "./4/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 372] <... prctl resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 372] setpgid(0, 0 [pid 310] fstat(4 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 372] <... setpgid resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 372] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [ 28.612978][ T365] EXT4-fs (loop4): 1 truncate cleaned up [ 28.618878][ T365] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: none. [ 28.628137][ T367] EXT4-fs (loop0): 1 truncate cleaned up [ 28.634551][ T367] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. [ 28.646606][ T310] EXT4-fs (loop4): unmounting filesystem. [pid 310] getdents64(4 [pid 306] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 372] <... openat resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 372] write(3, "1000", 4 [pid 310] getdents64(4 [pid 372] <... write resumed>) = 4 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 372] close(3 [pid 310] close(4 [pid 372] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 372] symlink("/dev/binderfs", "./binderfs" [pid 310] rmdir("./4/file2" [pid 372] <... symlink resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 372] write(1, "executing program\n", 18 [pid 310] getdents64(3 [pid 372] <... write resumed>) = 18 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 372] memfd_create("syzkaller", 0 [pid 310] close(3 [pid 372] <... memfd_create resumed>) = 3 [pid 310] <... close resumed>) = 0 [pid 372] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] rmdir("./4" [pid 372] <... mmap resumed>) = 0x7f90a3563000 [pid 310] <... rmdir resumed>) = 0 [pid 372] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 executing program [pid 310] mkdir("./5", 0777 [pid 372] <... write resumed>) = 262144 [pid 371] memfd_create("syzkaller", 0 [pid 310] <... mkdir resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 372] munmap(0x7f90a3563000, 138412032 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 372] <... munmap resumed>) = 0 [pid 371] <... memfd_create resumed>) = 3 [pid 310] <... openat resumed>) = 3 [pid 306] newfstatat(AT_FDCWD, "./5/binderfs" [pid 372] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] ioctl(3, LOOP_CLR_FD [pid 372] <... openat resumed>) = 4 [pid 371] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 372] ioctl(4, LOOP_SET_FD, 3 [pid 310] close(3 [pid 372] <... ioctl resumed>) = 0 [pid 371] <... mmap resumed>) = 0x7f90a3563000 [pid 310] <... close resumed>) = 0 [pid 306] unlink("./5/binderfs" [pid 372] close(3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 372] <... close resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 372] close(4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 372] <... close resumed>) = 0 [pid 372] mkdir("./file2", 0777 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 373 [pid 372] <... mkdir resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 372] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 373 attached [pid 371] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 306] <... unlink resumed>) = 0 [pid 373] set_robust_list(0x5555737ed6a0, 24 [pid 371] <... write resumed>) = 262144 [pid 306] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 373] <... set_robust_list resumed>) = 0 [pid 371] munmap(0x7f90a3563000, 138412032 [pid 373] rt_sigprocmask(SIG_SETMASK, [] [pid 371] <... munmap resumed>) = 0 [pid 373] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 371] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 373] chdir("./5" [pid 371] <... openat resumed>) = 4 [pid 373] <... chdir resumed>) = 0 [pid 371] ioctl(4, LOOP_SET_FD, 3 [pid 373] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 371] <... ioctl resumed>) = 0 [pid 373] <... prctl resumed>) = 0 [pid 371] close(3 [pid 373] setpgid(0, 0 [pid 371] <... close resumed>) = 0 [pid 373] <... setpgid resumed>) = 0 [pid 371] close(4 [pid 373] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 371] <... close resumed>) = 0 [pid 373] <... openat resumed>) = 3 [pid 371] mkdir("./file2", 0777 [pid 373] write(3, "1000", 4 [pid 371] <... mkdir resumed>) = 0 [ 28.671507][ T370] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 28.687153][ T372] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 28.704675][ T306] EXT4-fs (loop0): unmounting filesystem. [pid 373] <... write resumed>) = 4 [pid 371] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 373] close(3) = 0 [pid 373] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 373] write(1, "executing program\n", 18) = 18 [pid 373] memfd_create("syzkaller", 0) = 3 [pid 306] <... umount2 resumed>) = 0 [pid 373] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 373] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 306] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 373] <... write resumed>) = 262144 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 373] munmap(0x7f90a3563000, 138412032 [pid 306] newfstatat(AT_FDCWD, "./5/file2" [pid 370] <... mount resumed>) = 0 [pid 370] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 370] chdir("./file2") = 0 [pid 370] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 370] ioctl(4, LOOP_CLR_FD) = 0 [pid 370] close(4) = 0 [pid 370] exit_group(0) = ? [pid 370] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=370, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 373] <... munmap resumed>) = 0 [pid 306] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 373] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 28.714902][ T371] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 28.735637][ T370] EXT4-fs (loop1): 1 truncate cleaned up [ 28.744972][ T370] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: none. [ 28.749147][ T372] EXT4-fs (loop3): 1 truncate cleaned up [ 28.760705][ T371] EXT4-fs (loop2): 1 truncate cleaned up [pid 373] <... openat resumed>) = 4 [pid 307] <... restart_syscall resumed>) = 0 [pid 306] openat(AT_FDCWD, "./5/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 373] ioctl(4, LOOP_SET_FD, 3 [pid 307] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... openat resumed>) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./5/binderfs") = 0 [pid 307] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] fstat(4 [pid 373] <... ioctl resumed>) = 0 [pid 371] <... mount resumed>) = 0 [pid 371] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 371] chdir("./file2") = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 371] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 371] ioctl(4, LOOP_CLR_FD) = 0 [pid 371] close(4) = 0 [pid 371] exit_group(0) = ? [pid 371] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=371, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 373] close(3 [pid 306] getdents64(4 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 373] <... close resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./5/binderfs") = 0 [pid 308] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 373] close(4 [pid 306] getdents64(4 [pid 373] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 372] <... mount resumed>) = 0 [pid 372] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 373] mkdir("./file2", 0777 [pid 306] close(4 [pid 372] <... openat resumed>) = 3 [pid 372] chdir("./file2") = 0 [pid 372] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 373] <... mkdir resumed>) = 0 [pid 372] ioctl(4, LOOP_CLR_FD [pid 306] <... close resumed>) = 0 [pid 372] <... ioctl resumed>) = 0 [pid 372] close(4) = 0 [pid 372] exit_group(0) = ? [pid 372] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=372, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] rmdir("./5/file2" [pid 373] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 306] <... rmdir resumed>) = 0 [pid 306] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] close(3 [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./5/binderfs") = 0 [pid 309] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./5") = 0 [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./5/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] mkdir("./6", 0777 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./5/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 307] <... openat resumed>) = 4 [pid 308] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4 [pid 308] newfstatat(AT_FDCWD, "./5/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./5/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] getdents64(4 [pid 308] <... openat resumed>) = 4 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 307] rmdir("./5/file2") = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 306] <... openat resumed>) = 3 [pid 308] rmdir("./5/file2" [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... rmdir resumed>) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./5" [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 377 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./5") = 0 [pid 307] <... rmdir resumed>) = 0 [ 28.766519][ T371] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: none. [ 28.777893][ T307] EXT4-fs (loop1): unmounting filesystem. [ 28.780353][ T372] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: none. [ 28.795397][ T308] EXT4-fs (loop2): unmounting filesystem. [ 28.804863][ T309] EXT4-fs (loop3): unmounting filesystem. [ 28.811176][ T373] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [pid 307] mkdir("./6", 0777) = 0 ci2-android-6-1/strace-static-x86_64: Process 377 attached [pid 309] <... umount2 resumed>) = 0 [pid 308] mkdir("./6", 0777 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 377] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 309] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... mkdir resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 373] <... mount resumed>) = 0 [pid 373] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 373] chdir("./file2" [pid 377] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] ioctl(3, LOOP_CLR_FD [pid 308] <... openat resumed>) = 3 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] newfstatat(AT_FDCWD, "./5/file2" [pid 377] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 373] <... chdir resumed>) = 0 [pid 373] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 307] close(3 [pid 373] ioctl(4, LOOP_CLR_FD) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... close resumed>) = 0 [pid 377] chdir("./6" [pid 373] close(4 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] close(3 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 377] <... chdir resumed>) = 0 [pid 373] <... close resumed>) = 0 [pid 373] exit_group(0) = ? [pid 308] <... close resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 377] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 373] +++ exited with 0 +++ [pid 377] <... prctl resumed>) = 0 [pid 309] openat(AT_FDCWD, "./5/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 379 ci2-android-6-1/strace-static-x86_64: Process 379 attached [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=373, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... openat resumed>) = 4 [pid 379] set_robust_list(0x5555737ed6a0, 24 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 379] <... set_robust_list resumed>) = 0 [pid 379] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 379] chdir("./6") = 0 [pid 379] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 379] setpgid(0, 0 [pid 309] fstat(4 [pid 377] setpgid(0, 0 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 380 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 379] <... setpgid resumed>) = 0 [pid 379] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 377] <... setpgid resumed>) = 0 [pid 309] getdents64(4 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 379] <... openat resumed>) = 3 [pid 379] write(3, "1000", 4 [pid 377] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] getdents64(4 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 379] <... write resumed>) = 4 [pid 379] close(3) = 0 [pid 379] symlink("/dev/binderfs", "./binderfs" [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 379] <... symlink resumed>) = 0 [pid 379] write(1, "executing program\n", 18 [pid 377] <... openat resumed>) = 3 [pid 309] close(4 [pid 379] <... write resumed>) = 18 executing program [pid 379] memfd_create("syzkaller", 0) = 3 [pid 379] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 309] <... close resumed>) = 0 [pid 377] write(3, "1000", 4 [pid 309] rmdir("./5/file2" [pid 377] <... write resumed>) = 4 [pid 377] close(3 [pid 309] <... rmdir resumed>) = 0 [pid 377] <... close resumed>) = 0 [pid 379] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 377] symlink("/dev/binderfs", "./binderfs" [pid 309] getdents64(3ci2-android-6-1/strace-static-x86_64: Process 380 attached [pid 377] <... symlink resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 377] write(1, "executing program\n", 18 [pid 309] close(3 [pid 377] <... write resumed>) = 18 [pid 309] <... close resumed>) = 0 [pid 379] <... write resumed>) = 262144 [pid 377] memfd_create("syzkaller", 0 [pid 309] rmdir("./5" [pid 379] munmap(0x7f90a3563000, 138412032 [pid 377] <... memfd_create resumed>) = 3 [pid 379] <... munmap resumed>) = 0 [pid 379] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 377] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... rmdir resumed>) = 0 executing program [pid 379] <... openat resumed>) = 4 [pid 377] <... mmap resumed>) = 0x7f90a3563000 [pid 309] mkdir("./6", 0777 [pid 380] set_robust_list(0x5555737ed6a0, 24 [pid 310] <... restart_syscall resumed>) = 0 [pid 379] ioctl(4, LOOP_SET_FD, 3 [pid 380] <... set_robust_list resumed>) = 0 [pid 380] rt_sigprocmask(SIG_SETMASK, [] [pid 379] <... ioctl resumed>) = 0 [pid 380] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 380] chdir("./6") = 0 [pid 380] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 379] close(3 [pid 380] setpgid(0, 0 [pid 379] <... close resumed>) = 0 [pid 380] <... setpgid resumed>) = 0 [pid 379] close(4 [pid 377] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 380] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 379] <... close resumed>) = 0 [pid 379] mkdir("./file2", 0777) = 0 [pid 380] <... openat resumed>) = 3 [pid 380] write(3, "1000", 4) = 4 [pid 380] close(3) = 0 [pid 380] symlink("/dev/binderfs", "./binderfs") = 0 [pid 380] write(1, "executing program\n", 18 [pid 379] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 380] <... write resumed>) = 18 [pid 380] memfd_create("syzkaller", 0) = 3 [pid 380] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 executing program [pid 380] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 377] <... write resumed>) = 262144 [pid 309] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] ioctl(3, LOOP_CLR_FD [pid 310] <... openat resumed>) = 3 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] fstat(3 [pid 309] close(3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 309] <... close resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [ 28.837185][ T373] EXT4-fs (loop4): 1 truncate cleaned up [ 28.843387][ T373] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: none. [ 28.875130][ T379] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 380] <... write resumed>) = 262144 [pid 377] munmap(0x7f90a3563000, 138412032 [pid 310] newfstatat(AT_FDCWD, "./5/binderfs" [pid 377] <... munmap resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 382 [pid 310] unlink("./5/binderfs" [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... unlink resumed>) = 0 [pid 310] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 382 attached [pid 382] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 382] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 382] chdir("./6") = 0 [pid 382] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 382] setpgid(0, 0) = 0 [pid 382] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 382] write(3, "1000", 4) = 4 [pid 382] close(3) = 0 [pid 382] symlink("/dev/binderfs", "./binderfs") = 0 [pid 382] write(1, "executing program\n", 18) = 18 [pid 382] memfd_create("syzkaller", 0) = 3 [pid 382] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 executing program [pid 382] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 377] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 380] munmap(0x7f90a3563000, 138412032 [pid 377] <... openat resumed>) = 4 [pid 382] <... write resumed>) = 262144 [pid 382] munmap(0x7f90a3563000, 138412032 [pid 377] ioctl(4, LOOP_SET_FD, 3 [pid 382] <... munmap resumed>) = 0 [pid 382] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 382] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 382] close(3) = 0 [pid 382] close(4) = 0 [pid 382] mkdir("./file2", 0777) = 0 [pid 382] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 377] <... ioctl resumed>) = 0 [pid 379] <... mount resumed>) = 0 [pid 379] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 379] chdir("./file2") = 0 [pid 379] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 379] ioctl(4, LOOP_CLR_FD) = 0 [pid 379] close(4) = 0 [pid 379] exit_group(0) = ? [pid 379] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=379, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 377] close(3) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3 [pid 377] close(4) = 0 [pid 377] mkdir("./file2", 0777 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 377] <... mkdir resumed>) = 0 [pid 307] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 377] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 28.888380][ T379] EXT4-fs (loop1): 1 truncate cleaned up [ 28.894244][ T379] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: none. [ 28.904398][ T310] EXT4-fs (loop4): unmounting filesystem. [ 28.912907][ T382] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 28.926959][ T382] EXT4-fs (loop3): 1 truncate cleaned up [pid 307] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 380] <... munmap resumed>) = 0 [pid 380] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 307] unlink("./6/binderfs" [pid 380] <... openat resumed>) = 4 [pid 380] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 380] close(3) = 0 [pid 380] close(4) = 0 [pid 380] mkdir("./file2", 0777 [pid 307] <... unlink resumed>) = 0 [pid 380] <... mkdir resumed>) = 0 [pid 307] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 382] <... mount resumed>) = 0 [pid 382] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 380] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 382] chdir("./file2") = 0 [pid 382] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./5/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./5/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./5/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./5/file2") = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./5") = 0 [pid 310] mkdir("./6", 0777) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 310] close(3) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 385 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 382] ioctl(4, LOOP_CLR_FD) = 0 [pid 382] close(4) = 0 [pid 382] exit_group(0) = ? [pid 382] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=382, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./6/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./6/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./6/file2") = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./6") = 0 [ 28.937339][ T377] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 28.941003][ T382] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: none. [ 28.960342][ T380] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 28.970523][ T307] EXT4-fs (loop1): unmounting filesystem. [pid 307] mkdir("./7", 0777) = 0 ci2-android-6-1/strace-static-x86_64: Process 385 attached [pid 385] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 385] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 385] chdir("./6" [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 385] <... chdir resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 385] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 385] <... prctl resumed>) = 0 [pid 385] setpgid(0, 0 [pid 307] close(3 [pid 385] <... setpgid resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 385] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 385] <... openat resumed>) = 3 [pid 385] write(3, "1000", 4) = 4 [pid 385] close(3) = 0 [pid 385] symlink("/dev/binderfs", "./binderfs") = 0 [pid 385] write(1, "executing program\n", 18 [pid 309] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 385] <... write resumed>) = 18 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 385] memfd_create("syzkaller", 0 [pid 309] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 386 [pid 309] <... openat resumed>) = 3 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 385] <... memfd_create resumed>) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] getdents64(3 [pid 385] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 385] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 385] munmap(0x7f90a3563000, 138412032ci2-android-6-1/strace-static-x86_64: Process 386 attached ) = 0 [pid 386] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 386] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 386] chdir("./7" [pid 385] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 386] <... chdir resumed>) = 0 [pid 385] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 386] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 386] setpgid(0, 0) = 0 [pid 386] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 385] close(3) = 0 [pid 385] close(4) = 0 [pid 385] mkdir("./file2", 0777) = 0 [pid 386] write(3, "1000", 4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./6/binderfs" [pid 385] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./6/binderfs") = 0 [pid 309] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 386] <... write resumed>) = 4 [pid 386] close(3) = 0 [pid 386] symlink("/dev/binderfs", "./binderfs" [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./6/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./6/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./6/file2") = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./6") = 0 [pid 309] mkdir("./7", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 309] ioctl(3, LOOP_CLR_FD) = 0 [pid 309] close(3) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 388 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 386] <... symlink resumed>) = 0 [pid 386] write(1, "executing program\n", 18) = 18 executing program [pid 386] memfd_create("syzkaller", 0) = 3 [pid 377] <... mount resumed>) = 0 [pid 386] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 377] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 386] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 377] <... openat resumed>) = 3 ci2-android-6-1/strace-static-x86_64: Process 388 attached [pid 380] <... mount resumed>) = 0 [pid 377] chdir("./file2" [pid 388] set_robust_list(0x5555737ed6a0, 24 [pid 380] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 388] <... set_robust_list resumed>) = 0 [pid 380] <... openat resumed>) = 3 [pid 388] rt_sigprocmask(SIG_SETMASK, [] [pid 380] chdir("./file2" [pid 388] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 380] <... chdir resumed>) = 0 [pid 388] chdir("./7" [pid 380] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 388] <... chdir resumed>) = 0 [pid 380] <... openat resumed>) = 4 [pid 388] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 380] ioctl(4, LOOP_CLR_FD [pid 388] <... prctl resumed>) = 0 [pid 380] <... ioctl resumed>) = 0 [pid 388] setpgid(0, 0 [pid 380] close(4 [pid 388] <... setpgid resumed>) = 0 [pid 380] <... close resumed>) = 0 [pid 388] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 380] exit_group(0 [pid 388] <... openat resumed>) = 3 [pid 380] <... exit_group resumed>) = ? [pid 388] write(3, "1000", 4 [pid 380] +++ exited with 0 +++ [pid 388] <... write resumed>) = 4 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=380, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 388] close(3 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 388] <... close resumed>) = 0 [pid 388] symlink("/dev/binderfs", "./binderfs") = 0 [pid 388] write(1, "executing program\n", 18) = 18 [pid 388] memfd_create("syzkaller", 0) = 3 [pid 388] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 388] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 388] munmap(0x7f90a3563000, 138412032) = 0 [pid 388] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 386] <... write resumed>) = 262144 [pid 386] munmap(0x7f90a3563000, 138412032) = 0 [pid 386] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 386] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 386] close(3) = 0 [pid 386] close(4) = 0 [pid 386] mkdir("./file2", 0777) = 0 executing program [ 28.987302][ T377] EXT4-fs (loop0): 1 truncate cleaned up [ 28.999511][ T385] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 29.015134][ T380] EXT4-fs (loop2): 1 truncate cleaned up [pid 386] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 377] <... chdir resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./6/binderfs") = 0 [pid 308] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 388] <... openat resumed>) = 4 [pid 385] <... mount resumed>) = 0 [pid 377] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 388] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 385] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 377] <... openat resumed>) = 4 [pid 388] close(3) = 0 [pid 385] <... openat resumed>) = 3 [pid 377] ioctl(4, LOOP_CLR_FD [pid 388] close(4) = 0 [pid 388] mkdir("./file2", 0777) = 0 [pid 385] chdir("./file2" [pid 377] <... ioctl resumed>) = 0 [pid 388] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 308] <... umount2 resumed>) = 0 [pid 385] <... chdir resumed>) = 0 [pid 377] close(4 [pid 385] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 377] <... close resumed>) = 0 [pid 385] <... openat resumed>) = 4 [pid 377] exit_group(0 [pid 385] ioctl(4, LOOP_CLR_FD [pid 377] <... exit_group resumed>) = ? [pid 385] <... ioctl resumed>) = 0 [pid 308] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 385] close(4 [pid 377] +++ exited with 0 +++ [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 385] <... close resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./6/file2" [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=377, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 385] exit_group(0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 385] <... exit_group resumed>) = ? [pid 308] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./6/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 385] +++ exited with 0 +++ [pid 308] fstat(4 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=385, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 310] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [ 29.036198][ T386] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 29.044274][ T385] EXT4-fs (loop4): 1 truncate cleaned up [ 29.056797][ T388] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 29.073784][ T386] EXT4-fs (loop1): 1 truncate cleaned up [pid 310] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] getdents64(4 [pid 306] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 388] <... mount resumed>) = 0 [pid 386] <... mount resumed>) = 0 [pid 310] fstat(3 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] fstat(3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 306] getdents64(3 [pid 386] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 308] close(4 [pid 386] <... openat resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 386] chdir("./file2" [pid 310] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 386] <... chdir resumed>) = 0 [pid 386] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 386] ioctl(4, LOOP_CLR_FD) = 0 [pid 386] close(4) = 0 [pid 386] exit_group(0) = ? [pid 386] +++ exited with 0 +++ [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... close resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=386, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] newfstatat(AT_FDCWD, "./6/binderfs" [pid 308] rmdir("./6/file2" [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] unlink("./6/binderfs" [pid 388] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] <... unlink resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./6/binderfs" [pid 388] <... openat resumed>) = 3 [pid 310] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rmdir resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 388] chdir("./file2" [pid 306] unlink("./6/binderfs" [pid 388] <... chdir resumed>) = 0 [pid 388] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 306] <... unlink resumed>) = 0 [pid 388] ioctl(4, LOOP_CLR_FD [pid 306] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 388] <... ioctl resumed>) = 0 [pid 388] close(4) = 0 [pid 388] exit_group(0) = ? [pid 307] <... restart_syscall resumed>) = 0 [pid 388] +++ exited with 0 +++ [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] getdents64(3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=388, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] newfstatat(AT_FDCWD, "./6/file2" [pid 309] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... openat resumed>) = 3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] close(3 [pid 309] <... openat resumed>) = 3 [pid 310] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] fstat(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] fstat(3 [pid 308] <... close resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] openat(AT_FDCWD, "./6/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] rmdir("./6" [pid 310] <... openat resumed>) = 4 [pid 309] getdents64(3 [pid 307] getdents64(3 [pid 310] fstat(4 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] <... umount2 resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] mkdir("./7", 0777 [pid 307] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] newfstatat(AT_FDCWD, "./7/binderfs" [pid 308] <... mkdir resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] getdents64(4 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] unlink("./7/binderfs" [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] newfstatat(AT_FDCWD, "./7/binderfs" [pid 306] newfstatat(AT_FDCWD, "./6/file2" [pid 309] <... unlink resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] close(4 [pid 307] unlink("./7/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... openat resumed>) = 3 [pid 307] <... unlink resumed>) = 0 [pid 307] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... close resumed>) = 0 [pid 306] umount2("./6/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./6/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] rmdir("./6/file2" [pid 306] <... openat resumed>) = 4 [pid 310] <... rmdir resumed>) = 0 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 310] getdents64(3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] getdents64(4 [pid 309] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4 [pid 310] close(3) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... umount2 resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] rmdir("./6" [pid 309] newfstatat(AT_FDCWD, "./7/file2" [pid 308] close(3 [pid 306] close(4 [pid 307] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... rmdir resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 310] mkdir("./7", 0777 [pid 309] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] newfstatat(AT_FDCWD, "./7/file2" [pid 306] rmdir("./6/file2" [pid 310] <... mkdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] getdents64(3 [pid 310] <... openat resumed>) = 3 [pid 309] openat(AT_FDCWD, "./7/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] <... openat resumed>) = 4 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 ci2-android-6-1/strace-static-x86_64: Process 392 attached [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] fstat(4 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 392 [pid 306] close(3 [pid 310] close(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] getdents64(4 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] openat(AT_FDCWD, "./7/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] rmdir("./6" [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] <... openat resumed>) = 4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] getdents64(4 [pid 307] fstat(4 [pid 306] <... rmdir resumed>) = 0 [pid 392] set_robust_list(0x5555737ed6a0, 24 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] mkdir("./7", 0777 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 393 [pid 309] close(4 [pid 307] getdents64(4 [pid 392] <... set_robust_list resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] rmdir("./7/file2" [pid 307] getdents64(4 [pid 306] <... openat resumed>) = 3 [pid 309] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] getdents64(3 [pid 307] close(4 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) ci2-android-6-1/strace-static-x86_64: Process 393 attached [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] <... close resumed>) = 0 [pid 309] close(3 [pid 307] rmdir("./7/file2" [pid 306] close(3 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./7" [pid 307] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] mkdir("./8", 0777 [pid 307] getdents64(3 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] close(3 [pid 392] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] <... close resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 393] set_robust_list(0x5555737ed6a0, 24 [pid 307] rmdir("./7" [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 394 [pid 309] ioctl(3, LOOP_CLR_FD [pid 392] chdir("./7" [pid 309] <... ioctl resumed>) = 0 [pid 393] <... set_robust_list resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 309] close(3 [pid 307] mkdir("./8", 0777 [pid 309] <... close resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 392] <... chdir resumed>) = 0 [pid 392] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... mkdir resumed>) = 0 [pid 393] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... openat resumed>) = 3 [pid 392] setpgid(0, 0) = 0 [pid 392] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 395 [pid 307] ioctl(3, LOOP_CLR_FD [pid 393] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 393] chdir("./7" [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] close(3 [pid 393] <... chdir resumed>) = 0 [pid 393] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] <... close resumed>) = 0 [pid 393] <... prctl resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 393] setpgid(0, 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 393] <... setpgid resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 392] <... openat resumed>) = 3 [pid 392] write(3, "1000", 4 [pid 393] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 396 [pid 393] <... openat resumed>) = 3 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 393] write(3, "1000", 4 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 393] <... write resumed>) = 4 executing program ci2-android-6-1/strace-static-x86_64: Process 395 attached [pid 393] close(3 [pid 395] set_robust_list(0x5555737ed6a0, 24 [pid 393] <... close resumed>) = 0 [pid 392] <... write resumed>) = 4 [pid 395] <... set_robust_list resumed>) = 0 [pid 393] symlink("/dev/binderfs", "./binderfs" [pid 392] close(3 [pid 393] <... symlink resumed>) = 0 [pid 395] rt_sigprocmask(SIG_SETMASK, [] [pid 392] <... close resumed>) = 0 [pid 393] write(1, "executing program\n", 18 [pid 395] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 393] <... write resumed>) = 18 [pid 392] symlink("/dev/binderfs", "./binderfs") = 0 [pid 392] write(1, "executing program\n", 18) = 18 executing program [pid 392] memfd_create("syzkaller", 0) = 3 [pid 392] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [ 29.091441][ T388] EXT4-fs (loop3): 1 truncate cleaned up [pid 392] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 393] memfd_create("syzkaller", 0 [pid 392] <... write resumed>) = 262144 [pid 393] <... memfd_create resumed>) = 3 [pid 393] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 ci2-android-6-1/strace-static-x86_64: Process 394 attached [pid 395] chdir("./8" [pid 393] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 394] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 394] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 394] chdir("./7") = 0 [pid 394] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 394] setpgid(0, 0) = 0 [pid 394] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 393] <... write resumed>) = 262144 [pid 393] munmap(0x7f90a3563000, 138412032 [pid 394] <... openat resumed>) = 3 [pid 393] <... munmap resumed>) = 0 [pid 394] write(3, "1000", 4) = 4 [pid 392] munmap(0x7f90a3563000, 138412032 [pid 394] close(3 [pid 392] <... munmap resumed>) = 0 [pid 394] <... close resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 396 attached [pid 394] symlink("/dev/binderfs", "./binderfs" [pid 392] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 396] set_robust_list(0x5555737ed6a0, 24 [pid 395] <... chdir resumed>) = 0 [pid 394] <... symlink resumed>) = 0 [pid 393] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 392] <... openat resumed>) = 4 [pid 395] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 393] <... openat resumed>) = 4 [pid 395] <... prctl resumed>) = 0 [pid 393] ioctl(4, LOOP_SET_FD, 3 [pid 395] setpgid(0, 0 [pid 393] <... ioctl resumed>) = 0 [pid 395] <... setpgid resumed>) = 0 [pid 393] close(3 [pid 395] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 393] <... close resumed>) = 0 [pid 394] write(1, "executing program\n", 18 [pid 395] <... openat resumed>) = 3 [pid 393] close(4 [pid 394] <... write resumed>) = 18 executing program [pid 395] write(3, "1000", 4 [pid 393] <... close resumed>) = 0 [pid 395] <... write resumed>) = 4 [pid 393] mkdir("./file2", 0777 [pid 395] close(3 [pid 393] <... mkdir resumed>) = 0 [pid 395] <... close resumed>) = 0 [pid 393] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 396] <... set_robust_list resumed>) = 0 [pid 395] symlink("/dev/binderfs", "./binderfs" [pid 394] memfd_create("syzkaller", 0 [pid 392] ioctl(4, LOOP_SET_FD, 3 [pid 396] rt_sigprocmask(SIG_SETMASK, [] [pid 395] <... symlink resumed>) = 0 [pid 394] <... memfd_create resumed>) = 3 [pid 392] <... ioctl resumed>) = 0 [pid 396] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 395] write(1, "executing program\n", 18 [pid 394] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 executing program [pid 392] close(3 [pid 396] chdir("./8" [pid 395] <... write resumed>) = 18 [pid 394] <... mmap resumed>) = 0x7f90a3563000 [pid 393] <... mount resumed>) = 0 [pid 392] <... close resumed>) = 0 [pid 396] <... chdir resumed>) = 0 [pid 393] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 393] chdir("./file2") = 0 [pid 393] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 393] ioctl(4, LOOP_CLR_FD) = 0 [pid 393] close(4) = 0 [pid 393] exit_group(0 [pid 394] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 393] <... exit_group resumed>) = ? [pid 396] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 395] memfd_create("syzkaller", 0 [pid 392] close(4 [pid 393] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=393, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 396] <... prctl resumed>) = 0 [pid 395] <... memfd_create resumed>) = 3 [pid 394] <... write resumed>) = 262144 [pid 392] <... close resumed>) = 0 [pid 396] setpgid(0, 0 [pid 392] mkdir("./file2", 0777 [pid 396] <... setpgid resumed>) = 0 [pid 395] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 394] munmap(0x7f90a3563000, 138412032 [pid 396] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 395] <... mmap resumed>) = 0x7f90a3563000 [pid 394] <... munmap resumed>) = 0 [pid 392] <... mkdir resumed>) = 0 [pid 396] <... openat resumed>) = 3 [pid 395] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 394] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 392] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 396] write(3, "1000", 4 [pid 395] <... write resumed>) = 262144 [pid 394] <... openat resumed>) = 4 [pid 396] <... write resumed>) = 4 [pid 394] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... restart_syscall resumed>) = 0 [pid 396] close(3 [pid 395] munmap(0x7f90a3563000, 138412032 [pid 394] <... ioctl resumed>) = 0 [pid 396] <... close resumed>) = 0 [pid 395] <... munmap resumed>) = 0 [pid 394] close(3 [pid 396] symlink("/dev/binderfs", "./binderfs" [pid 395] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 394] <... close resumed>) = 0 [pid 396] <... symlink resumed>) = 0 [pid 395] <... openat resumed>) = 4 [pid 394] close(4 executing program [pid 396] write(1, "executing program\n", 18 [pid 395] ioctl(4, LOOP_SET_FD, 3 [pid 394] <... close resumed>) = 0 [pid 396] <... write resumed>) = 18 [pid 395] <... ioctl resumed>) = 0 [pid 394] mkdir("./file2", 0777 [pid 396] memfd_create("syzkaller", 0 [pid 395] close(3 [pid 394] <... mkdir resumed>) = 0 [pid 396] <... memfd_create resumed>) = 3 [pid 395] <... close resumed>) = 0 [pid 394] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 396] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 395] close(4 [pid 310] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 396] <... mmap resumed>) = 0x7f90a3563000 [pid 396] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 395] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 396] <... write resumed>) = 262144 [pid 310] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./7/binderfs") = 0 [ 29.164401][ T393] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 29.177134][ T393] EXT4-fs (loop4): 1 truncate cleaned up [ 29.191827][ T392] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [pid 310] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 396] munmap(0x7f90a3563000, 138412032 [pid 395] mkdir("./file2", 0777 [pid 394] <... mount resumed>) = 0 [pid 392] <... mount resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./7/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 396] <... munmap resumed>) = 0 [pid 310] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./7/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 395] <... mkdir resumed>) = 0 [pid 392] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] getdents64(4 [pid 396] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 392] <... openat resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./7/file2") = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 396] <... openat resumed>) = 4 [pid 395] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 394] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 392] chdir("./file2" [pid 310] close(3) = 0 [pid 310] rmdir("./7" [pid 396] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... rmdir resumed>) = 0 [pid 310] mkdir("./8", 0777 [pid 394] <... openat resumed>) = 3 [pid 392] <... chdir resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 396] <... ioctl resumed>) = 0 [pid 394] chdir("./file2" [pid 392] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... openat resumed>) = 3 [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 310] close(3) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 400 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 400 attached [pid 400] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 400] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 400] chdir("./8") = 0 [pid 400] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 400] setpgid(0, 0) = 0 [pid 400] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 400] write(3, "1000", 4) = 4 [pid 400] close(3) = 0 [pid 400] symlink("/dev/binderfs", "./binderfs" [pid 394] <... chdir resumed>) = 0 [pid 392] <... openat resumed>) = 4 [pid 394] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 396] close(3 [pid 392] ioctl(4, LOOP_CLR_FD [pid 394] <... openat resumed>) = 4 [pid 396] <... close resumed>) = 0 [pid 392] <... ioctl resumed>) = 0 [pid 396] close(4 [pid 394] ioctl(4, LOOP_CLR_FD [pid 392] close(4 [pid 396] <... close resumed>) = 0 [pid 394] <... ioctl resumed>) = 0 [pid 392] <... close resumed>) = 0 [pid 400] <... symlink resumed>) = 0 [pid 396] mkdir("./file2", 0777 [pid 394] close(4 [pid 392] exit_group(0 [pid 400] write(1, "executing program\n", 18) = 18 [pid 400] memfd_create("syzkaller", 0) = 3 [pid 400] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 396] <... mkdir resumed>) = 0 [pid 394] <... close resumed>) = 0 [pid 392] <... exit_group resumed>) = ? executing program [pid 400] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 396] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [ 29.209537][ T394] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 29.221051][ T392] EXT4-fs (loop2): 1 truncate cleaned up [ 29.228861][ T394] EXT4-fs (loop0): 1 truncate cleaned up [ 29.245028][ T395] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [pid 394] exit_group(0 [pid 392] +++ exited with 0 +++ [pid 394] <... exit_group resumed>) = ? [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=392, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 394] +++ exited with 0 +++ [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=394, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 395] <... mount resumed>) = 0 [pid 306] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 395] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 395] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... openat resumed>) = 3 [pid 400] <... write resumed>) = 262144 [pid 395] chdir("./file2" [pid 308] <... openat resumed>) = 3 [pid 306] fstat(3 [pid 400] munmap(0x7f90a3563000, 138412032 [pid 395] <... chdir resumed>) = 0 [pid 308] fstat(3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 400] <... munmap resumed>) = 0 [pid 395] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 400] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 395] <... openat resumed>) = 4 [pid 308] getdents64(3 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 395] ioctl(4, LOOP_CLR_FD [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 395] <... ioctl resumed>) = 0 [pid 308] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 395] close(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./7/binderfs" [pid 400] <... openat resumed>) = 4 [pid 396] <... mount resumed>) = 0 [pid 395] <... close resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./7/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 400] ioctl(4, LOOP_SET_FD, 3 [pid 396] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 395] exit_group(0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./7/binderfs" [pid 396] <... openat resumed>) = 3 [pid 395] <... exit_group resumed>) = ? [pid 308] unlink("./7/binderfs" [pid 306] <... unlink resumed>) = 0 [pid 395] +++ exited with 0 +++ [pid 308] <... unlink resumed>) = 0 [pid 306] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=395, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 400] <... ioctl resumed>) = 0 [pid 396] chdir("./file2" [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 400] close(3 [pid 396] <... chdir resumed>) = 0 [pid 400] <... close resumed>) = 0 [pid 396] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 400] close(4 [pid 396] <... openat resumed>) = 4 [pid 400] <... close resumed>) = 0 [pid 396] ioctl(4, LOOP_CLR_FD [pid 400] mkdir("./file2", 0777 [pid 396] <... ioctl resumed>) = 0 [pid 400] <... mkdir resumed>) = 0 [pid 396] close(4 [pid 400] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 396] <... close resumed>) = 0 [pid 396] exit_group(0) = ? [pid 396] +++ exited with 0 +++ [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=396, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] newfstatat(AT_FDCWD, "./7/file2" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] newfstatat(AT_FDCWD, "./7/file2" [pid 306] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./7/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "./7/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... openat resumed>) = 4 [pid 308] openat(AT_FDCWD, "./7/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] fstat(4 [pid 308] <... openat resumed>) = 4 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] fstat(4 [pid 306] getdents64(4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4 [pid 306] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] getdents64(4 [pid 306] close(4 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] <... close resumed>) = 0 [pid 308] close(4 [pid 306] rmdir("./7/file2" [pid 308] <... close resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 308] rmdir("./7/file2" [pid 307] <... restart_syscall resumed>) = 0 [pid 306] getdents64(3 [pid 308] <... rmdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] getdents64(3 [pid 306] close(3 [pid 309] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] close(3 [pid 307] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rmdir("./7" [pid 309] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... close resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... rmdir resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 308] rmdir("./7" [pid 307] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] mkdir("./8", 0777 [pid 309] fstat(3 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] <... mkdir resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] mkdir("./8", 0777 [pid 307] fstat(3 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 309] getdents64(3 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... openat resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] getdents64(3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 3 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(3 [pid 309] newfstatat(AT_FDCWD, "./8/binderfs" [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] close(3 [pid 307] newfstatat(AT_FDCWD, "./8/binderfs" [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] unlink("./8/binderfs" [pid 308] <... close resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... unlink resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] unlink("./8/binderfs" [ 29.261194][ T396] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 29.271584][ T395] EXT4-fs (loop3): 1 truncate cleaned up [ 29.282462][ T396] EXT4-fs (loop1): 1 truncate cleaned up [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... unlink resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 403 ci2-android-6-1/strace-static-x86_64: Process 404 attached [pid 309] <... umount2 resumed>) = 0 [pid 307] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 404] set_robust_list(0x5555737ed6a0, 24 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 404 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 404] <... set_robust_list resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./8/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./8/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 404] rt_sigprocmask(SIG_SETMASK, [] [pid 309] getdents64(4 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... umount2 resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 404] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 404] chdir("./8" [pid 309] getdents64(4 [pid 307] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 404] <... chdir resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 404] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] close(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 404] <... prctl resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./8/file2" [pid 404] setpgid(0, 0 [pid 309] rmdir("./8/file2" [pid 404] <... setpgid resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 404] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] getdents64(3 [pid 404] <... openat resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 404] write(3, "1000", 4 [pid 309] close(3 [pid 404] <... write resumed>) = 4 [pid 309] <... close resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 404] close(3 [pid 309] rmdir("./8" [pid 307] openat(AT_FDCWD, "./8/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 404] <... close resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 404] symlink("/dev/binderfs", "./binderfs" [pid 309] mkdir("./9", 0777 [pid 307] <... openat resumed>) = 4 [pid 404] <... symlink resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 307] fstat(4ci2-android-6-1/strace-static-x86_64: Process 403 attached [pid 404] write(1, "executing program\n", 18 executing program [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 404] <... write resumed>) = 18 [pid 403] set_robust_list(0x5555737ed6a0, 24 [pid 309] <... openat resumed>) = 3 [pid 404] memfd_create("syzkaller", 0 [pid 403] <... set_robust_list resumed>) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 307] getdents64(4 [pid 404] <... memfd_create resumed>) = 3 [pid 403] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 404] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 403] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] close(3 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 404] <... mmap resumed>) = 0x7f90a3563000 [pid 403] chdir("./8" [pid 309] <... close resumed>) = 0 [pid 307] getdents64(4 [pid 403] <... chdir resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 403] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 403] <... prctl resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 404] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 403] setpgid(0, 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 403] <... setpgid resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 406 [pid 403] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 400] <... mount resumed>) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 404] <... write resumed>) = 262144 [pid 403] <... openat resumed>) = 3 [pid 400] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] close(4 [pid 404] munmap(0x7f90a3563000, 138412032 [pid 403] write(3, "1000", 4 [pid 400] <... openat resumed>) = 3 [pid 307] <... close resumed>) = 0 [pid 404] <... munmap resumed>) = 0 [pid 403] <... write resumed>) = 4 [pid 400] chdir("./file2" [pid 307] rmdir("./8/file2" [pid 404] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 403] close(3 [pid 400] <... chdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 404] <... openat resumed>) = 4 [pid 307] getdents64(3 [pid 404] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 404] <... ioctl resumed>) = 0 [pid 403] <... close resumed>) = 0 [pid 400] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] close(3 [pid 404] close(3 [pid 403] symlink("/dev/binderfs", "./binderfs" [pid 400] <... openat resumed>) = 4 [pid 307] <... close resumed>) = 0 [pid 404] <... close resumed>) = 0 [pid 403] <... symlink resumed>) = 0 [pid 400] ioctl(4, LOOP_CLR_FD [pid 307] rmdir("./8" [pid 403] write(1, "executing program\n", 18 [pid 400] <... ioctl resumed>) = 0 executing program [pid 404] close(4 [pid 403] <... write resumed>) = 18 [pid 400] close(4 [pid 307] <... rmdir resumed>) = 0 [pid 404] <... close resumed>) = 0 [pid 403] memfd_create("syzkaller", 0 [pid 400] <... close resumed>) = 0 [pid 307] mkdir("./9", 0777 [pid 404] mkdir("./file2", 0777 [pid 403] <... memfd_create resumed>) = 3 [pid 403] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 400] exit_group(0ci2-android-6-1/strace-static-x86_64: Process 406 attached [pid 403] <... mmap resumed>) = 0x7f90a3563000 [pid 307] <... mkdir resumed>) = 0 [pid 406] set_robust_list(0x5555737ed6a0, 24 [pid 404] <... mkdir resumed>) = 0 [ 29.308475][ T400] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 29.323537][ T400] EXT4-fs (loop4): 1 truncate cleaned up [pid 403] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 400] <... exit_group resumed>) = ? [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 406] <... set_robust_list resumed>) = 0 [pid 404] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] <... openat resumed>) = 3 [pid 406] rt_sigprocmask(SIG_SETMASK, [] [pid 403] <... write resumed>) = 262144 [pid 400] +++ exited with 0 +++ [pid 307] ioctl(3, LOOP_CLR_FD [pid 406] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 406] chdir("./9") = 0 [pid 406] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 403] munmap(0x7f90a3563000, 138412032 [pid 406] <... prctl resumed>) = 0 [pid 403] <... munmap resumed>) = 0 [pid 406] setpgid(0, 0 [pid 403] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 406] <... setpgid resumed>) = 0 [pid 403] <... openat resumed>) = 4 [pid 406] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 403] ioctl(4, LOOP_SET_FD, 3 [pid 406] <... openat resumed>) = 3 [pid 406] write(3, "1000", 4 [pid 403] <... ioctl resumed>) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 406] <... write resumed>) = 4 [pid 403] close(3 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=400, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] close(3) = 0 [pid 406] close(3 [pid 403] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 406] <... close resumed>) = 0 [pid 403] close(4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 406] symlink("/dev/binderfs", "./binderfs" [pid 403] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 406] <... symlink resumed>) = 0 [pid 403] mkdir("./file2", 0777 [pid 310] fstat(3 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 407 ci2-android-6-1/strace-static-x86_64: Process 407 attached executing program [pid 406] write(1, "executing program\n", 18 [pid 403] <... mkdir resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 407] set_robust_list(0x5555737ed6a0, 24 [pid 406] <... write resumed>) = 18 [pid 403] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 310] getdents64(3 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 407] <... set_robust_list resumed>) = 0 [pid 406] memfd_create("syzkaller", 0 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 407] rt_sigprocmask(SIG_SETMASK, [] [pid 406] <... memfd_create resumed>) = 3 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 407] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 406] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 407] chdir("./9" [pid 406] <... mmap resumed>) = 0x7f90a3563000 [pid 407] <... chdir resumed>) = 0 [pid 406] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 404] <... mount resumed>) = 0 [pid 310] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 407] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 404] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 404] <... openat resumed>) = 3 [pid 310] newfstatat(AT_FDCWD, "./8/binderfs" [pid 404] chdir("./file2" [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 404] <... chdir resumed>) = 0 [pid 310] unlink("./8/binderfs" [pid 404] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... unlink resumed>) = 0 [pid 407] <... prctl resumed>) = 0 [pid 406] <... write resumed>) = 262144 [pid 404] <... openat resumed>) = 4 [pid 310] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 404] ioctl(4, LOOP_CLR_FD [pid 407] setpgid(0, 0 [pid 406] munmap(0x7f90a3563000, 138412032 [pid 404] <... ioctl resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 407] <... setpgid resumed>) = 0 [pid 404] close(4 [pid 310] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 407] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 406] <... munmap resumed>) = 0 [pid 404] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 404] exit_group(0 [pid 310] newfstatat(AT_FDCWD, "./8/file2" [pid 404] <... exit_group resumed>) = ? [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 407] <... openat resumed>) = 3 [pid 406] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 404] +++ exited with 0 +++ [pid 403] <... mount resumed>) = 0 [pid 310] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 407] write(3, "1000", 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=404, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] openat(AT_FDCWD, "./8/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... openat resumed>) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./8/file2" [pid 407] <... write resumed>) = 4 [pid 406] <... openat resumed>) = 4 [pid 403] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 407] close(3 [pid 310] <... rmdir resumed>) = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./8" [pid 407] <... close resumed>) = 0 [pid 406] ioctl(4, LOOP_SET_FD, 3 [pid 403] <... openat resumed>) = 3 [pid 310] <... rmdir resumed>) = 0 [pid 407] symlink("/dev/binderfs", "./binderfs" [pid 406] <... ioctl resumed>) = 0 [pid 403] chdir("./file2" [pid 310] mkdir("./9", 0777 [pid 407] <... symlink resumed>) = 0 [pid 406] close(3 [pid 403] <... chdir resumed>) = 0 [pid 407] write(1, "executing program\n", 18 [pid 406] <... close resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 executing program [pid 407] <... write resumed>) = 18 [pid 406] close(4 [pid 403] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 407] memfd_create("syzkaller", 0 [pid 406] <... close resumed>) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 407] <... memfd_create resumed>) = 3 [pid 310] close(3 [pid 406] mkdir("./file2", 0777 [pid 407] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 407] <... mmap resumed>) = 0x7f90a3563000 [pid 406] <... mkdir resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 410 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 410 attached [pid 410] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 410] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 410] chdir("./9" [pid 406] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 410] <... chdir resumed>) = 0 [pid 407] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 403] <... openat resumed>) = 4 [pid 403] ioctl(4, LOOP_CLR_FD) = 0 [pid 403] close(4) = 0 [pid 403] exit_group(0) = ? [pid 403] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=403, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [ 29.349230][ T404] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 29.369323][ T403] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 29.377462][ T404] EXT4-fs (loop2): 1 truncate cleaned up [ 29.389509][ T403] EXT4-fs (loop0): 1 truncate cleaned up [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 410] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 407] <... write resumed>) = 262144 [pid 407] munmap(0x7f90a3563000, 138412032) = 0 [pid 407] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 407] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 407] close(3) = 0 [pid 407] close(4) = 0 [pid 407] mkdir("./file2", 0777) = 0 [pid 407] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 410] <... prctl resumed>) = 0 [pid 410] setpgid(0, 0) = 0 [pid 410] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 410] write(3, "1000", 4) = 4 [pid 410] close(3) = 0 [pid 410] symlink("/dev/binderfs", "./binderfs") = 0 [pid 410] write(1, "executing program\n", 18) = 18 executing program [pid 410] memfd_create("syzkaller", 0) = 3 [pid 410] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 410] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 308] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] fstat(3 [pid 306] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... openat resumed>) = 3 [pid 308] getdents64(3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] getdents64(3 [pid 410] <... write resumed>) = 262144 [pid 308] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 410] munmap(0x7f90a3563000, 138412032) = 0 [pid 410] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 410] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 410] close(3) = 0 [pid 410] close(4) = 0 [pid 410] mkdir("./file2", 0777) = 0 [pid 410] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 308] unlink("./8/binderfs" [pid 306] newfstatat(AT_FDCWD, "./8/binderfs" [pid 308] <... unlink resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] unlink("./8/binderfs" [pid 308] <... umount2 resumed>) = 0 [ 29.410152][ T406] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 29.427446][ T407] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 29.449296][ T406] EXT4-fs (loop3): 1 truncate cleaned up [pid 406] <... mount resumed>) = 0 [pid 308] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... unlink resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./8/file2" [pid 406] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 308] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 406] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 406] chdir("./file2" [pid 308] openat(AT_FDCWD, "./8/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] newfstatat(AT_FDCWD, "./8/file2" [pid 406] <... chdir resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 406] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] fstat(4 [pid 306] umount2("./8/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 406] <... openat resumed>) = 4 [pid 308] getdents64(4 [pid 306] openat(AT_FDCWD, "./8/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 406] ioctl(4, LOOP_CLR_FD [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] <... openat resumed>) = 4 [pid 406] <... ioctl resumed>) = 0 [pid 308] getdents64(4 [pid 306] fstat(4 [pid 406] close(4 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 406] <... close resumed>) = 0 [pid 308] close(4 [pid 306] getdents64(4 [pid 406] exit_group(0 [pid 308] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 406] <... exit_group resumed>) = ? [pid 308] rmdir("./8/file2" [pid 306] getdents64(4 [pid 308] <... rmdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] getdents64(3 [pid 306] close(4 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... close resumed>) = 0 [pid 406] +++ exited with 0 +++ [pid 308] close(3 [pid 306] rmdir("./8/file2" [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=406, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] <... close resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] rmdir("./8" [pid 306] getdents64(3 [pid 308] <... rmdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] mkdir("./9", 0777 [pid 306] close(3 [pid 308] <... mkdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] rmdir("./8" [pid 308] <... openat resumed>) = 3 [pid 306] <... rmdir resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] mkdir("./9", 0777 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... mkdir resumed>) = 0 [pid 308] close(3 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] close(3) = 0 [pid 309] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 413 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 413 attached [pid 407] <... mount resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 309] fstat(3 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 414 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 413] set_robust_list(0x5555737ed6a0, 24 [pid 407] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 309] getdents64(3 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 407] <... openat resumed>) = 3 [pid 309] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./9/binderfs" [pid 413] <... set_robust_list resumed>) = 0 [pid 407] chdir("./file2" [pid 309] <... unlink resumed>) = 0 [pid 309] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 414 attached [pid 413] rt_sigprocmask(SIG_SETMASK, [] [pid 407] <... chdir resumed>) = 0 [pid 414] set_robust_list(0x5555737ed6a0, 24 [pid 410] <... mount resumed>) = 0 [pid 413] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 410] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 413] chdir("./9" [pid 410] <... openat resumed>) = 3 [pid 407] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 410] chdir("./file2" [pid 413] <... chdir resumed>) = 0 [pid 410] <... chdir resumed>) = 0 [pid 407] <... openat resumed>) = 4 [pid 410] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 410] ioctl(4, LOOP_CLR_FD) = 0 [pid 410] close(4) = 0 [pid 410] exit_group(0) = ? [pid 414] <... set_robust_list resumed>) = 0 [pid 413] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 410] +++ exited with 0 +++ [pid 407] ioctl(4, LOOP_CLR_FD [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=410, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./9/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./9/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./9/file2") = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./9") = 0 [pid 309] mkdir("./10", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 413] <... prctl resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 413] setpgid(0, 0 [pid 407] <... ioctl resumed>) = 0 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 413] <... setpgid resumed>) = 0 [pid 407] close(4 [pid 309] <... close resumed>) = 0 [pid 414] rt_sigprocmask(SIG_SETMASK, [] [pid 407] <... close resumed>) = 0 [pid 413] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 407] exit_group(0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 413] <... openat resumed>) = 3 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 414] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 407] <... exit_group resumed>) = ? [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 416 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 416 attached [pid 407] +++ exited with 0 +++ [pid 413] write(3, "1000", 4 [pid 414] chdir("./9" [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=407, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 413] <... write resumed>) = 4 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 416] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 416] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 416] chdir("./10") = 0 [pid 416] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 416] setpgid(0, 0) = 0 [pid 416] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 413] close(3 [pid 414] <... chdir resumed>) = 0 [pid 416] <... openat resumed>) = 3 [pid 416] write(3, "1000", 4) = 4 [pid 416] close(3) = 0 [pid 416] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 416] write(1, "executing program\n", 18) = 18 [pid 416] memfd_create("syzkaller", 0) = 3 [pid 416] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 413] <... close resumed>) = 0 [pid 414] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 413] symlink("/dev/binderfs", "./binderfs") = 0 [pid 414] <... prctl resumed>) = 0 [pid 413] write(1, "executing program\n", 18 executing program [pid 414] setpgid(0, 0 [pid 413] <... write resumed>) = 18 [pid 413] memfd_create("syzkaller", 0 [pid 414] <... setpgid resumed>) = 0 [pid 413] <... memfd_create resumed>) = 3 [pid 414] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 413] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 414] <... openat resumed>) = 3 [pid 413] <... mmap resumed>) = 0x7f90a3563000 [pid 414] write(3, "1000", 4 [pid 416] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 310] <... restart_syscall resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 310] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 413] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 414] <... write resumed>) = 4 [pid 310] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 414] close(3 [pid 310] fstat(3 [pid 307] fstat(3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 307] getdents64(3 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./9/binderfs" [pid 307] newfstatat(AT_FDCWD, "./9/binderfs" [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 413] <... write resumed>) = 262144 [pid 414] <... close resumed>) = 0 [pid 413] munmap(0x7f90a3563000, 138412032 [pid 414] symlink("/dev/binderfs", "./binderfs" [pid 310] unlink("./9/binderfs" [pid 307] unlink("./9/binderfs" [pid 414] <... symlink resumed>) = 0 [pid 413] <... munmap resumed>) = 0 [pid 310] <... unlink resumed>) = 0 executing program [pid 307] <... unlink resumed>) = 0 [pid 414] write(1, "executing program\n", 18) = 18 [pid 413] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 414] memfd_create("syzkaller", 0 [pid 413] <... openat resumed>) = 4 [pid 414] <... memfd_create resumed>) = 3 [pid 413] ioctl(4, LOOP_SET_FD, 3 [pid 416] <... write resumed>) = 262144 [pid 416] munmap(0x7f90a3563000, 138412032) = 0 [pid 416] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 416] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 416] close(3) = 0 [pid 416] close(4) = 0 [pid 416] mkdir("./file2", 0777) = 0 [pid 416] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] <... umount2 resumed>) = 0 [pid 414] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 414] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 414] munmap(0x7f90a3563000, 138412032) = 0 [pid 414] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 414] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 414] close(3) = 0 [pid 414] close(4) = 0 [pid 414] mkdir("./file2", 0777) = 0 [ 29.457437][ T410] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 29.471832][ T407] EXT4-fs (loop1): 1 truncate cleaned up [ 29.490612][ T410] EXT4-fs (loop4): 1 truncate cleaned up [pid 414] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 413] <... ioctl resumed>) = 0 [pid 413] close(3) = 0 [pid 413] close(4) = 0 [pid 413] mkdir("./file2", 0777) = 0 [pid 413] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./9/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./9/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./9/file2") = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./9") = 0 [pid 307] mkdir("./10", 0777) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 418 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 418 attached [pid 418] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 418] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 418] chdir("./10") = 0 [pid 418] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 418] setpgid(0, 0) = 0 [pid 418] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... umount2 resumed>) = 0 [ 29.519620][ T416] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 29.529811][ T414] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 29.550697][ T413] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [pid 418] <... openat resumed>) = 3 [pid 418] write(3, "1000", 4) = 4 [pid 418] close(3) = 0 [pid 418] symlink("/dev/binderfs", "./binderfs") = 0 [pid 418] write(1, "executing program\n", 18) = 18 [pid 418] memfd_create("syzkaller", 0) = 3 [pid 418] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 executing program [pid 310] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./9/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./9/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./9/file2") = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./9") = 0 [pid 310] mkdir("./10", 0777) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 310] close(3) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 418] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 420 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 418] <... write resumed>) = 262144 [pid 418] munmap(0x7f90a3563000, 138412032ci2-android-6-1/strace-static-x86_64: Process 420 attached [pid 416] <... mount resumed>) = 0 [pid 414] <... mount resumed>) = 0 [pid 413] <... mount resumed>) = 0 [pid 418] <... munmap resumed>) = 0 [pid 418] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 418] ioctl(4, LOOP_SET_FD, 3 [pid 420] set_robust_list(0x5555737ed6a0, 24 [pid 418] <... ioctl resumed>) = 0 [pid 416] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 414] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 413] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 414] <... openat resumed>) = 3 [pid 414] chdir("./file2") = 0 [pid 414] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 414] ioctl(4, LOOP_CLR_FD) = 0 [pid 414] close(4) = 0 [pid 414] exit_group(0) = ? [pid 414] +++ exited with 0 +++ [pid 416] <... openat resumed>) = 3 [pid 416] chdir("./file2" [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=414, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 416] <... chdir resumed>) = 0 [pid 416] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 416] ioctl(4, LOOP_CLR_FD) = 0 [pid 416] close(4 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 416] <... close resumed>) = 0 [pid 416] exit_group(0) = ? [pid 418] close(3 [pid 416] +++ exited with 0 +++ [pid 413] <... openat resumed>) = 3 [pid 413] chdir("./file2") = 0 [pid 413] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 413] ioctl(4, LOOP_CLR_FD [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=416, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 413] <... ioctl resumed>) = 0 [pid 413] close(4) = 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 418] <... close resumed>) = 0 [pid 413] exit_group(0) = ? [pid 418] close(4) = 0 [pid 418] mkdir("./file2", 0777 [pid 413] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=413, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 420] <... set_robust_list resumed>) = 0 [pid 420] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 418] <... mkdir resumed>) = 0 [pid 420] chdir("./10") = 0 [pid 420] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 420] setpgid(0, 0) = 0 [pid 418] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 420] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 420] write(3, "1000", 4) = 4 [pid 420] close(3) = 0 [ 29.566488][ T416] EXT4-fs (loop3): 1 truncate cleaned up [ 29.586063][ T414] EXT4-fs (loop0): 1 truncate cleaned up [ 29.596903][ T413] EXT4-fs (loop2): 1 truncate cleaned up [pid 420] symlink("/dev/binderfs", "./binderfs") = 0 [pid 420] write(1, "executing program\n", 18) = 18 [pid 420] memfd_create("syzkaller", 0) = 3 [pid 420] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 420] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 306] <... restart_syscall resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] fstat(3 [pid 306] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] fstat(3 [pid 306] fstat(3 [pid 309] getdents64(3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 420] <... write resumed>) = 262144 [pid 420] munmap(0x7f90a3563000, 138412032) = 0 [pid 420] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 420] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 420] close(3) = 0 [pid 420] close(4) = 0 [pid 420] mkdir("./file2", 0777) = 0 [pid 420] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] getdents64(3 [pid 306] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./9/binderfs" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./10/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 308] newfstatat(AT_FDCWD, "./9/binderfs" [pid 306] unlink("./9/binderfs" [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... unlink resumed>) = 0 [pid 309] unlink("./10/binderfs" [pid 308] unlink("./9/binderfs" [pid 309] <... unlink resumed>) = 0 [pid 309] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... unlink resumed>) = 0 [pid 306] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 306] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./9/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = 0 [pid 308] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./9/file2" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./10/file2" [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./9/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./9/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./10/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 4 [pid 309] <... openat resumed>) = 4 [pid 308] fstat(4 [pid 309] fstat(4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 309] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4 [pid 309] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 309] close(4) = 0 [pid 308] <... close resumed>) = 0 [pid 309] rmdir("./10/file2" [pid 308] rmdir("./9/file2" [pid 306] openat(AT_FDCWD, "./9/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... rmdir resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(3 [pid 308] <... rmdir resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] getdents64(3 [pid 309] close(3 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] <... close resumed>) = 0 [pid 308] close(3 [pid 309] rmdir("./10" [pid 308] <... close resumed>) = 0 [pid 306] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] rmdir("./9" [pid 306] close(4 [pid 308] <... rmdir resumed>) = 0 [pid 309] mkdir("./11", 0777 [pid 306] <... close resumed>) = 0 [pid 308] mkdir("./10", 0777 [pid 306] rmdir("./9/file2" [pid 309] <... mkdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] <... mkdir resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] <... openat resumed>) = 3 [pid 309] close(3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 309] <... close resumed>) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] close(3 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 423 [pid 306] close(3 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 424 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./9" [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./10", 0777) = 0 ci2-android-6-1/strace-static-x86_64: Process 424 attached ci2-android-6-1/strace-static-x86_64: Process 423 attached [pid 424] set_robust_list(0x5555737ed6a0, 24 [pid 418] <... mount resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 424] <... set_robust_list resumed>) = 0 [pid 418] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 424] rt_sigprocmask(SIG_SETMASK, [] [pid 418] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 424] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 418] chdir("./file2" [pid 424] chdir("./10" [pid 418] <... chdir resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 424] <... chdir resumed>) = 0 [pid 418] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 424] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 418] <... openat resumed>) = 4 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 424] <... prctl resumed>) = 0 [pid 418] ioctl(4, LOOP_CLR_FD [pid 424] setpgid(0, 0 [pid 418] <... ioctl resumed>) = 0 [pid 306] close(3 [pid 424] <... setpgid resumed>) = 0 [pid 418] close(4 [pid 424] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 418] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 424] <... openat resumed>) = 3 [pid 418] exit_group(0 [pid 424] write(3, "1000", 4 [pid 418] <... exit_group resumed>) = ? [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 424] <... write resumed>) = 4 [pid 423] set_robust_list(0x5555737ed6a0, 24 [pid 418] +++ exited with 0 +++ [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 424] close(3 [pid 423] <... set_robust_list resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=418, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 424] <... close resumed>) = 0 [pid 423] rt_sigprocmask(SIG_SETMASK, [] [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [ 29.616755][ T418] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 29.631589][ T420] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 29.657391][ T418] EXT4-fs (loop1): 1 truncate cleaned up [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 424] symlink("/dev/binderfs", "./binderfs" [pid 423] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 424] <... symlink resumed>) = 0 [pid 424] write(1, "executing program\n", 18 [pid 423] chdir("./11" [pid 424] <... write resumed>) = 18 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 426 [pid 424] memfd_create("syzkaller", 0 [pid 423] <... chdir resumed>) = 0 [pid 424] <... memfd_create resumed>) = 3 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 424] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 423] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 424] <... mmap resumed>) = 0x7f90a3563000 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 424] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 423] <... prctl resumed>) = 0 [pid 424] <... write resumed>) = 262144 [pid 424] munmap(0x7f90a3563000, 138412032 [pid 423] setpgid(0, 0 [pid 424] <... munmap resumed>) = 0 [pid 424] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 423] <... setpgid resumed>) = 0 [pid 424] <... openat resumed>) = 4 [pid 424] ioctl(4, LOOP_SET_FD, 3 [pid 423] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 424] <... ioctl resumed>) = 0 [pid 424] close(3 [pid 423] <... openat resumed>) = 3 [pid 424] <... close resumed>) = 0 [pid 424] close(4 [pid 423] write(3, "1000", 4 [pid 424] <... close resumed>) = 0 [pid 424] mkdir("./file2", 0777 [pid 423] <... write resumed>) = 4 [pid 424] <... mkdir resumed>) = 0 [pid 424] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 423] close(3) = 0 [pid 423] symlink("/dev/binderfs", "./binderfs") = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 423] write(1, "executing program\n", 18) = 18 [pid 423] memfd_create("syzkaller", 0 [pid 307] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 423] <... memfd_create resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 423] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 423] <... mmap resumed>) = 0x7f90a3563000 [pid 307] <... openat resumed>) = 3 [pid 423] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./10/binderfs" [pid 423] <... write resumed>) = 262144 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./10/binderfs") = 0 [pid 307] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 423] munmap(0x7f90a3563000, 138412032) = 0 [pid 423] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 423] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 423] close(3) = 0 [pid 423] close(4) = 0 [pid 423] mkdir("./file2", 0777) = 0 executing program executing program [pid 423] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"...ci2-android-6-1/strace-static-x86_64: Process 426 attached [pid 420] <... mount resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./10/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./10/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./10/file2") = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./10") = 0 [pid 307] mkdir("./11", 0777) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 427 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 427 attached [pid 427] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 427] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 427] chdir("./11") = 0 [pid 427] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 427] setpgid(0, 0) = 0 [pid 427] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 427] write(3, "1000", 4) = 4 [pid 427] close(3) = 0 [pid 427] symlink("/dev/binderfs", "./binderfs") = 0 [pid 427] write(1, "executing program\n", 18) = 18 [pid 427] memfd_create("syzkaller", 0) = 3 executing program [pid 427] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 420] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 420] chdir("./file2" [pid 427] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 420] <... chdir resumed>) = 0 [pid 420] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 426] set_robust_list(0x5555737ed6a0, 24 [pid 420] <... openat resumed>) = 4 [pid 420] ioctl(4, LOOP_CLR_FD) = 0 [pid 420] close(4 [pid 426] <... set_robust_list resumed>) = 0 [pid 427] <... write resumed>) = 262144 [pid 427] munmap(0x7f90a3563000, 138412032 [pid 420] <... close resumed>) = 0 [pid 427] <... munmap resumed>) = 0 [pid 427] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 427] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 427] close(3) = 0 [pid 420] exit_group(0 [pid 427] close(4) = 0 [pid 427] mkdir("./file2", 0777 [pid 420] <... exit_group resumed>) = ? [pid 426] rt_sigprocmask(SIG_SETMASK, [] [pid 427] <... mkdir resumed>) = 0 [pid 427] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 420] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=420, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 426] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 426] chdir("./10" [pid 310] <... restart_syscall resumed>) = 0 [pid 426] <... chdir resumed>) = 0 [pid 426] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 310] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 426] setpgid(0, 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 426] <... setpgid resumed>) = 0 [pid 310] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 426] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... openat resumed>) = 3 [ 29.673785][ T424] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 29.685586][ T420] EXT4-fs (loop4): 1 truncate cleaned up [ 29.688136][ T423] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 29.713909][ T427] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [pid 310] fstat(3 [pid 426] <... openat resumed>) = 3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 426] write(3, "1000", 4 [pid 310] getdents64(3 [pid 426] <... write resumed>) = 4 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 426] close(3 [pid 310] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 426] <... close resumed>) = 0 [pid 423] <... mount resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 426] symlink("/dev/binderfs", "./binderfs" [pid 310] newfstatat(AT_FDCWD, "./10/binderfs" [pid 423] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 423] chdir("./file2") = 0 [pid 423] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 423] ioctl(4, LOOP_CLR_FD) = 0 [pid 423] close(4) = 0 [pid 423] exit_group(0) = ? [pid 423] +++ exited with 0 +++ [pid 424] <... mount resumed>) = 0 [pid 424] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 424] chdir("./file2") = 0 [pid 424] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 424] ioctl(4, LOOP_CLR_FD) = 0 [pid 424] close(4) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=423, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 424] exit_group(0) = ? [pid 426] <... symlink resumed>) = 0 [pid 309] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] unlink("./10/binderfs" [pid 426] write(1, "executing program\n", 18 [pid 309] fstat(3 [pid 424] +++ exited with 0 +++ [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=424, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- executing program [pid 426] <... write resumed>) = 18 [pid 310] <... unlink resumed>) = 0 [pid 309] getdents64(3 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 426] memfd_create("syzkaller", 0 [pid 310] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 426] <... memfd_create resumed>) = 3 [pid 309] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 426] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./11/binderfs" [pid 426] <... mmap resumed>) = 0x7f90a3563000 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 426] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 309] unlink("./11/binderfs") = 0 [pid 309] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 426] <... write resumed>) = 262144 [pid 426] munmap(0x7f90a3563000, 138412032 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 426] <... munmap resumed>) = 0 [pid 308] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 426] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 426] <... openat resumed>) = 4 [pid 426] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... umount2 resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./10/binderfs" [pid 309] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] unlink("./10/binderfs" [pid 309] newfstatat(AT_FDCWD, "./11/file2" [pid 426] <... ioctl resumed>) = 0 [pid 426] close(3) = 0 [pid 426] close(4) = 0 [pid 426] mkdir("./file2", 0777 [pid 310] <... umount2 resumed>) = 0 [pid 426] <... mkdir resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 426] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./10/file2" [pid 309] openat(AT_FDCWD, "./11/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./10/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] <... openat resumed>) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] fstat(4 [pid 308] <... umount2 resumed>) = 0 [ 29.726811][ T423] EXT4-fs (loop3): 1 truncate cleaned up [ 29.742215][ T424] EXT4-fs (loop2): 1 truncate cleaned up [pid 310] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./10/file2") = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./10") = 0 [pid 310] mkdir("./11", 0777) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 310] close(3) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 431 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 431 attached [pid 431] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 431] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 431] chdir("./11") = 0 [pid 431] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 431] setpgid(0, 0) = 0 [pid 431] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 431] write(3, "1000", 4) = 4 [pid 431] close(3) = 0 [pid 431] symlink("/dev/binderfs", "./binderfs") = 0 [pid 431] write(1, "executing program\n", 18) = 18 executing program [pid 431] memfd_create("syzkaller", 0) = 3 [pid 308] newfstatat(AT_FDCWD, "./10/file2" [pid 431] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 431] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 431] munmap(0x7f90a3563000, 138412032) = 0 [pid 431] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 431] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 431] close(3) = 0 [pid 431] close(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./10/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 431] <... close resumed>) = 0 [pid 431] mkdir("./file2", 0777) = 0 [pid 431] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./11/file2") = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./11") = 0 [pid 309] mkdir("./12", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] close(3) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... openat resumed>) = 4 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 433 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] fstat(4 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./10/file2") = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./10") = 0 [pid 308] mkdir("./11", 0777) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 3 [pid 308] ioctl(3, LOOP_CLR_FD) = 0 [pid 308] close(3) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [ 29.767719][ T426] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 29.801405][ T427] EXT4-fs (loop1): 1 truncate cleaned up [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 434 attached [pid 434] set_robust_list(0x5555737ed6a0, 24 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 434 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 434] <... set_robust_list resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 434] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 434] chdir("./11") = 0 ci2-android-6-1/strace-static-x86_64: Process 433 attached [pid 434] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 433] set_robust_list(0x5555737ed6a0, 24 [pid 427] <... mount resumed>) = 0 [pid 434] setpgid(0, 0 [pid 433] <... set_robust_list resumed>) = 0 [pid 434] <... setpgid resumed>) = 0 [pid 433] rt_sigprocmask(SIG_SETMASK, [] [pid 434] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 433] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 427] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 427] chdir("./file2") = 0 [pid 427] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 434] <... openat resumed>) = 3 [pid 433] chdir("./12" [pid 434] write(3, "1000", 4) = 4 [pid 433] <... chdir resumed>) = 0 [pid 427] <... openat resumed>) = 4 [pid 427] ioctl(4, LOOP_CLR_FD) = 0 [pid 427] close(4) = 0 [pid 427] exit_group(0) = ? [pid 434] close(3 [pid 433] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 434] <... close resumed>) = 0 [pid 433] <... prctl resumed>) = 0 [pid 434] symlink("/dev/binderfs", "./binderfs") = 0 [pid 433] setpgid(0, 0 [pid 434] write(1, "executing program\n", 18 [pid 433] <... setpgid resumed>) = 0 [pid 434] <... write resumed>) = 18 [pid 433] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 434] memfd_create("syzkaller", 0 [pid 433] <... openat resumed>) = 3 [pid 434] <... memfd_create resumed>) = 3 [pid 433] write(3, "1000", 4 [pid 434] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 433] <... write resumed>) = 4 [pid 434] <... mmap resumed>) = 0x7f90a3563000 [pid 433] close(3 [pid 427] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=427, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 433] <... close resumed>) = 0 [pid 434] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 433] symlink("/dev/binderfs", "./binderfs" [pid 307] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 433] <... symlink resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./11/binderfs" [pid 434] <... write resumed>) = 262144 [pid 433] write(1, "executing program\n", 18 [pid 307] <... unlink resumed>) = 0 [pid 307] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 434] munmap(0x7f90a3563000, 138412032 [pid 433] <... write resumed>) = 18 executing program executing program [pid 433] memfd_create("syzkaller", 0) = 3 [pid 434] <... munmap resumed>) = 0 [pid 433] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 434] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 433] <... mmap resumed>) = 0x7f90a3563000 [pid 307] <... umount2 resumed>) = 0 [pid 434] <... openat resumed>) = 4 [pid 433] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 307] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 433] <... write resumed>) = 262144 [pid 307] newfstatat(AT_FDCWD, "./11/file2" [pid 434] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 434] <... ioctl resumed>) = 0 [pid 433] munmap(0x7f90a3563000, 138412032 [pid 307] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 434] close(3 [pid 433] <... munmap resumed>) = 0 [pid 307] openat(AT_FDCWD, "./11/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 434] <... close resumed>) = 0 [pid 433] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 307] <... openat resumed>) = 4 [pid 434] close(4 [pid 433] <... openat resumed>) = 4 [pid 307] fstat(4 [pid 434] <... close resumed>) = 0 [pid 433] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 434] mkdir("./file2", 0777 [pid 307] getdents64(4 [pid 434] <... mkdir resumed>) = 0 [pid 433] <... ioctl resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 434] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 433] close(3 [pid 307] getdents64(4 [pid 433] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4 [pid 433] close(4 [pid 307] <... close resumed>) = 0 [pid 433] <... close resumed>) = 0 [pid 307] rmdir("./11/file2" [pid 433] mkdir("./file2", 0777 [pid 307] <... rmdir resumed>) = 0 [pid 307] getdents64(3 [pid 433] <... mkdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 433] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] close(3) = 0 [pid 307] rmdir("./11") = 0 [pid 426] <... mount resumed>) = 0 [ 29.810974][ T431] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 29.834353][ T426] EXT4-fs (loop0): 1 truncate cleaned up [ 29.851522][ T434] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [pid 426] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 426] chdir("./file2") = 0 [pid 426] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 426] ioctl(4, LOOP_CLR_FD) = 0 [pid 426] close(4) = 0 [pid 307] mkdir("./12", 0777 [pid 426] exit_group(0) = ? [pid 307] <... mkdir resumed>) = 0 [pid 426] +++ exited with 0 +++ [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=426, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... openat resumed>) = 3 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 435 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 435 attached [pid 435] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 435] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 435] chdir("./12" [pid 306] <... restart_syscall resumed>) = 0 [pid 435] <... chdir resumed>) = 0 [pid 435] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 306] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 435] setpgid(0, 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 435] <... setpgid resumed>) = 0 [pid 306] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 435] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 435] <... openat resumed>) = 3 [pid 306] getdents64(3 [pid 435] write(3, "1000", 4 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 435] <... write resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 435] close(3 [pid 306] newfstatat(AT_FDCWD, "./10/binderfs" [pid 435] <... close resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 435] symlink("/dev/binderfs", "./binderfs" [pid 306] unlink("./10/binderfs") = 0 [ 29.864823][ T433] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 29.884126][ T434] EXT4-fs (loop2): 1 truncate cleaned up [ 29.897814][ T431] EXT4-fs (loop4): 1 truncate cleaned up [pid 435] <... symlink resumed>) = 0 [pid 306] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 435] write(1, "executing program\n", 18) = 18 [pid 434] <... mount resumed>) = 0 [pid 434] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 434] chdir("./file2") = 0 [pid 434] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 434] ioctl(4, LOOP_CLR_FD) = 0 [pid 434] close(4) = 0 [pid 434] exit_group(0) = ? [pid 435] memfd_create("syzkaller", 0 [pid 434] +++ exited with 0 +++ [pid 435] <... memfd_create resumed>) = 3 [pid 435] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=434, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 435] <... mmap resumed>) = 0x7f90a3563000 [pid 308] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 435] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 308] <... openat resumed>) = 3 [pid 308] fstat(3 [pid 306] <... umount2 resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 435] <... write resumed>) = 262144 [pid 308] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 435] munmap(0x7f90a3563000, 138412032 [pid 306] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./11/binderfs" [pid 435] <... munmap resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 435] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 435] <... openat resumed>) = 4 [pid 306] newfstatat(AT_FDCWD, "./10/file2" [pid 435] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./10/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 308] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "./10/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./11/file2" [pid 306] <... openat resumed>) = 4 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] fstat(4 [pid 308] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] getdents64(4 [pid 308] openat(AT_FDCWD, "./11/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] <... openat resumed>) = 4 [pid 306] getdents64(4 [pid 308] fstat(4 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] close(4 [pid 308] getdents64(4 [pid 306] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] rmdir("./10/file2" [pid 308] getdents64(4 [pid 306] <... rmdir resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 435] <... ioctl resumed>) = 0 [pid 308] close(4 [pid 306] getdents64(3 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./11/file2" [pid 435] close(3 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 308] getdents64(3 [pid 435] <... close resumed>) = 0 [pid 306] close(3 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] close(3 [pid 435] close(4 [pid 306] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 435] <... close resumed>) = 0 [pid 308] rmdir("./11" [pid 306] rmdir("./10" [pid 308] <... rmdir resumed>) = 0 [pid 435] mkdir("./file2", 0777 [pid 308] mkdir("./12", 0777 [pid 306] <... rmdir resumed>) = 0 [pid 435] <... mkdir resumed>) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 435] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 306] mkdir("./11", 0777 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... openat resumed>) = 3 [pid 308] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] <... openat resumed>) = 3 [pid 308] close(3) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] close(3 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 439 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] <... close resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 440 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 431] <... mount resumed>) = 0 [pid 433] <... mount resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 440 attached ci2-android-6-1/strace-static-x86_64: Process 439 attached [pid 433] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 431] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 440] set_robust_list(0x5555737ed6a0, 24 [pid 439] set_robust_list(0x5555737ed6a0, 24 [pid 433] <... openat resumed>) = 3 [pid 440] <... set_robust_list resumed>) = 0 [pid 439] <... set_robust_list resumed>) = 0 [pid 433] chdir("./file2" [pid 431] <... openat resumed>) = 3 [pid 440] rt_sigprocmask(SIG_SETMASK, [] [pid 439] rt_sigprocmask(SIG_SETMASK, [] [pid 433] <... chdir resumed>) = 0 [pid 431] chdir("./file2" [pid 440] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 439] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 433] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 431] <... chdir resumed>) = 0 [pid 439] chdir("./12" [pid 433] <... openat resumed>) = 4 [pid 440] chdir("./11" [pid 433] ioctl(4, LOOP_CLR_FD [pid 431] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 439] <... chdir resumed>) = 0 [pid 440] <... chdir resumed>) = 0 [pid 431] <... openat resumed>) = 4 [pid 440] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 439] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 433] <... ioctl resumed>) = 0 [pid 431] ioctl(4, LOOP_CLR_FD [pid 433] close(4 [pid 431] <... ioctl resumed>) = 0 [pid 440] <... prctl resumed>) = 0 [pid 439] <... prctl resumed>) = 0 [pid 431] close(4 [pid 439] setpgid(0, 0 [pid 433] <... close resumed>) = 0 [pid 440] setpgid(0, 0 [pid 431] <... close resumed>) = 0 [pid 439] <... setpgid resumed>) = 0 [pid 440] <... setpgid resumed>) = 0 [pid 433] exit_group(0 [pid 440] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 439] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 431] exit_group(0 [pid 433] <... exit_group resumed>) = ? [pid 439] <... openat resumed>) = 3 [pid 431] <... exit_group resumed>) = ? [pid 440] <... openat resumed>) = 3 [pid 431] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=431, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 433] +++ exited with 0 +++ [pid 440] write(3, "1000", 4 [pid 439] write(3, "1000", 4 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=433, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... restart_syscall resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 439] <... write resumed>) = 4 [pid 440] <... write resumed>) = 4 [pid 310] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 309] fstat(3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 309] getdents64(3 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./11/binderfs" [pid 309] newfstatat(AT_FDCWD, "./12/binderfs" [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./11/binderfs" [pid 309] unlink("./12/binderfs" [pid 310] <... unlink resumed>) = 0 [pid 440] close(3 [pid 309] <... unlink resumed>) = 0 [pid 439] close(3 [pid 440] <... close resumed>) = 0 [pid 439] <... close resumed>) = 0 [pid 440] symlink("/dev/binderfs", "./binderfs" [pid 439] symlink("/dev/binderfs", "./binderfs" [pid 310] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 440] <... symlink resumed>) = 0 [pid 439] <... symlink resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 440] write(1, "executing program\n", 18 [pid 439] write(1, "executing program\n", 18 [pid 440] <... write resumed>) = 18 [pid 309] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./12/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./12/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./12/file2") = 0 executing program [pid 309] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./12") = 0 [pid 309] mkdir("./13", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 executing program [pid 309] ioctl(3, LOOP_CLR_FD [pid 440] memfd_create("syzkaller", 0 [pid 439] <... write resumed>) = 18 [pid 440] <... memfd_create resumed>) = 3 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 439] memfd_create("syzkaller", 0 [pid 440] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] close(3) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 439] <... memfd_create resumed>) = 3 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 440] <... mmap resumed>) = 0x7f90a3563000 [pid 439] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 442 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 440] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 439] <... mmap resumed>) = 0x7f90a3563000 [ 29.914356][ T433] EXT4-fs (loop3): 1 truncate cleaned up [ 29.930827][ T435] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [pid 439] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 310] <... umount2 resumed>) = 0 [pid 440] <... write resumed>) = 262144 [pid 435] <... mount resumed>) = 0 [pid 439] <... write resumed>) = 262144 [pid 440] munmap(0x7f90a3563000, 138412032 [pid 310] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 439] munmap(0x7f90a3563000, 138412032 [pid 440] <... munmap resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 440] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 439] <... munmap resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./11/file2" [pid 440] <... openat resumed>) = 4 [pid 439] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 440] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 439] <... openat resumed>) = 4 [pid 440] <... ioctl resumed>) = 0 [pid 310] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 440] close(3 [pid 439] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 440] <... close resumed>) = 0 [pid 440] close(4 [pid 439] <... ioctl resumed>) = 0 [pid 310] openat(AT_FDCWD, "./11/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 435] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 440] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 440] mkdir("./file2", 0777 [pid 439] close(3 [pid 310] fstat(4 [pid 435] <... openat resumed>) = 3 [pid 435] chdir("./file2") = 0 [pid 440] <... mkdir resumed>) = 0 [pid 435] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 439] <... close resumed>) = 0 [pid 435] <... openat resumed>) = 4 [pid 440] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 439] close(4 [pid 310] getdents64(4 [pid 435] ioctl(4, LOOP_CLR_FD [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 435] <... ioctl resumed>) = 0 [pid 435] close(4 [pid 439] <... close resumed>) = 0 [pid 310] getdents64(4 [pid 435] <... close resumed>) = 0 [pid 435] exit_group(0) = ? [pid 435] +++ exited with 0 +++ ci2-android-6-1/strace-static-x86_64: Process 442 attached [pid 442] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 442] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 442] chdir("./13") = 0 [pid 442] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 442] setpgid(0, 0) = 0 [pid 442] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=435, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 439] mkdir("./file2", 0777 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] close(4 [pid 439] <... mkdir resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 439] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 310] <... close resumed>) = 0 [pid 307] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] rmdir("./11/file2" [pid 307] <... openat resumed>) = 3 [pid 310] <... rmdir resumed>) = 0 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./12/binderfs") = 0 [pid 307] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 442] <... openat resumed>) = 3 [pid 442] write(3, "1000", 4) = 4 [pid 442] close(3) = 0 [pid 442] symlink("/dev/binderfs", "./binderfs") = 0 [pid 442] write(1, "executing program\n", 18) = 18 executing program [pid 442] memfd_create("syzkaller", 0) = 3 [pid 310] close(3 [pid 442] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./11" [pid 442] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 442] munmap(0x7f90a3563000, 138412032) = 0 [pid 442] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 442] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... rmdir resumed>) = 0 [pid 310] mkdir("./12", 0777) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 442] <... ioctl resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 442] close(3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 307] newfstatat(AT_FDCWD, "./12/file2" [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] close(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... close resumed>) = 0 [pid 307] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] openat(AT_FDCWD, "./12/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 442] <... close resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 443 [pid 307] <... openat resumed>) = 4 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 307] fstat(4 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 442] close(4) = 0 [pid 442] mkdir("./file2", 0777) = 0 [pid 442] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"...ci2-android-6-1/strace-static-x86_64: Process 443 attached [pid 443] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 443] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] getdents64(4 [pid 443] chdir("./12") = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./12/file2") = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./12") = 0 [pid 307] mkdir("./13", 0777) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 445 ci2-android-6-1/strace-static-x86_64: Process 445 attached [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 445] set_robust_list(0x5555737ed6a0, 24 [pid 443] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 445] <... set_robust_list resumed>) = 0 [ 29.969042][ T435] EXT4-fs (loop1): 1 truncate cleaned up [ 29.982007][ T440] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 29.997468][ T439] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [pid 445] rt_sigprocmask(SIG_SETMASK, [] [pid 443] <... prctl resumed>) = 0 [pid 443] setpgid(0, 0) = 0 [pid 443] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 443] write(3, "1000", 4) = 4 [pid 443] close(3) = 0 [pid 443] symlink("/dev/binderfs", "./binderfs") = 0 [pid 443] write(1, "executing program\n", 18) = 18 executing program [pid 443] memfd_create("syzkaller", 0) = 3 [pid 443] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 443] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 445] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 445] chdir("./13") = 0 [pid 443] <... write resumed>) = 262144 [pid 440] <... mount resumed>) = 0 [pid 440] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 440] chdir("./file2" [pid 445] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 445] setpgid(0, 0) = 0 [pid 445] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 439] <... mount resumed>) = 0 [pid 445] <... openat resumed>) = 3 [pid 439] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 445] write(3, "1000", 4) = 4 [pid 443] munmap(0x7f90a3563000, 138412032 [pid 440] <... chdir resumed>) = 0 [pid 439] <... openat resumed>) = 3 [pid 445] close(3) = 0 [pid 445] symlink("/dev/binderfs", "./binderfs") = 0 [pid 445] write(1, "executing program\n", 18) = 18 [pid 445] memfd_create("syzkaller", 0) = 3 [pid 443] <... munmap resumed>) = 0 [pid 445] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 439] chdir("./file2" [pid 445] <... mmap resumed>) = 0x7f90a3563000 [pid 439] <... chdir resumed>) = 0 [pid 443] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 443] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 445] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 443] close(3) = 0 [pid 443] close(4) = 0 [pid 443] mkdir("./file2", 0777) = 0 [pid 443] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 440] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 440] ioctl(4, LOOP_CLR_FD) = 0 [pid 440] close(4) = 0 [pid 440] exit_group(0) = ? [pid 440] +++ exited with 0 +++ executing program [pid 439] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 439] ioctl(4, LOOP_CLR_FD) = 0 [pid 439] close(4) = 0 [pid 439] exit_group(0) = ? [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=440, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 439] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 445] <... write resumed>) = 262144 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 442] <... mount resumed>) = 0 [pid 442] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 442] chdir("./file2") = 0 [pid 442] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 442] ioctl(4, LOOP_CLR_FD) = 0 [pid 442] close(4) = 0 [pid 442] exit_group(0) = ? [pid 442] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=442, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 445] munmap(0x7f90a3563000, 138412032 [pid 308] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 308] fstat(3 [pid 306] fstat(3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 306] getdents64(3 [pid 445] <... munmap resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./12/binderfs" [pid 306] newfstatat(AT_FDCWD, "./11/binderfs" [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./12/binderfs" [pid 306] unlink("./11/binderfs" [pid 309] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... unlink resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... unlink resumed>) = 0 [pid 445] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 309] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 445] <... openat resumed>) = 4 [pid 309] <... openat resumed>) = 3 [pid 445] ioctl(4, LOOP_SET_FD, 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 445] <... ioctl resumed>) = 0 [pid 306] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 445] close(3 [pid 309] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./13/binderfs") = 0 [pid 309] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./12/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./12/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./12/file2") = 0 [ 30.033389][ T442] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 30.047343][ T440] EXT4-fs (loop0): 1 truncate cleaned up [ 30.048599][ T439] EXT4-fs (loop2): 1 truncate cleaned up [ 30.067002][ T442] EXT4-fs (loop3): 1 truncate cleaned up [ 30.072952][ T443] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [pid 308] getdents64(3 [pid 445] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./11/file2" [pid 445] close(4 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 445] <... close resumed>) = 0 [pid 308] close(3 [pid 306] umount2("./11/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 445] mkdir("./file2", 0777 [pid 308] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 445] <... mkdir resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 308] rmdir("./12" [pid 306] openat(AT_FDCWD, "./11/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 445] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rmdir resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 308] mkdir("./13", 0777 [pid 306] fstat(4 [pid 308] <... mkdir resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] getdents64(4 [pid 309] newfstatat(AT_FDCWD, "./13/file2" [pid 308] <... openat resumed>) = 3 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] getdents64(4 [pid 309] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] openat(AT_FDCWD, "./13/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 308] close(3 [pid 306] close(4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] getdents64(4 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] rmdir("./11/file2" [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] getdents64(3 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./13/file2" [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 449 [pid 306] close(3 [pid 309] <... rmdir resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... close resumed>) = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] rmdir("./11" [pid 309] close(3) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 309] rmdir("./13" [pid 306] mkdir("./12", 0777 [pid 309] <... rmdir resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 309] mkdir("./14", 0777) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 306] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] close(3) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] close(3 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... close resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 450 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 451 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 443] <... mount resumed>) = 0 [pid 443] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 443] chdir("./file2") = 0 [pid 443] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 443] ioctl(4, LOOP_CLR_FD) = 0 [pid 443] close(4) = 0 [pid 443] exit_group(0) = ? [pid 443] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=443, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 451 attached [pid 451] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 451] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 451] chdir("./12"ci2-android-6-1/strace-static-x86_64: Process 449 attached ) = 0 [pid 449] set_robust_list(0x5555737ed6a0, 24 [pid 451] prctl(PR_SET_PDEATHSIG, SIGKILLci2-android-6-1/strace-static-x86_64: Process 450 attached [pid 450] set_robust_list(0x5555737ed6a0, 24 [pid 451] <... prctl resumed>) = 0 [pid 450] <... set_robust_list resumed>) = 0 [pid 449] <... set_robust_list resumed>) = 0 [pid 451] setpgid(0, 0 [pid 450] rt_sigprocmask(SIG_SETMASK, [] [pid 449] rt_sigprocmask(SIG_SETMASK, [] [pid 450] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 450] chdir("./14" [pid 451] <... setpgid resumed>) = 0 [pid 449] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 450] <... chdir resumed>) = 0 [pid 451] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 450] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 449] chdir("./13" [pid 310] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 450] setpgid(0, 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 450] <... setpgid resumed>) = 0 [pid 449] <... chdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 450] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 449] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] <... openat resumed>) = 3 [pid 451] <... openat resumed>) = 3 [pid 450] <... openat resumed>) = 3 [pid 449] <... prctl resumed>) = 0 [pid 310] fstat(3 [pid 451] write(3, "1000", 4 [pid 450] write(3, "1000", 4 [pid 449] setpgid(0, 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 451] <... write resumed>) = 4 [pid 450] <... write resumed>) = 4 [pid 449] <... setpgid resumed>) = 0 [pid 451] close(3 [pid 450] close(3 [pid 310] getdents64(3 [pid 450] <... close resumed>) = 0 [pid 451] <... close resumed>) = 0 [pid 450] symlink("/dev/binderfs", "./binderfs" [pid 449] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 451] symlink("/dev/binderfs", "./binderfs" [pid 450] <... symlink resumed>) = 0 [pid 449] <... openat resumed>) = 3 [pid 310] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 451] <... symlink resumed>) = 0 [pid 450] write(1, "executing program\n", 18 [pid 449] write(3, "1000", 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 451] write(1, "executing program\n", 18 [pid 450] <... write resumed>) = 18 [pid 449] <... write resumed>) = 4 [pid 310] newfstatat(AT_FDCWD, "./12/binderfs" [pid 451] <... write resumed>) = 18 [pid 450] memfd_create("syzkaller", 0 [pid 449] close(3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 451] memfd_create("syzkaller", 0 [pid 450] <... memfd_create resumed>) = 3 [pid 449] <... close resumed>) = 0 [pid 310] unlink("./12/binderfs" [pid 451] <... memfd_create resumed>) = 3 [pid 450] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 449] symlink("/dev/binderfs", "./binderfs" [pid 310] <... unlink resumed>) = 0 [pid 451] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 450] <... mmap resumed>) = 0x7f90a3563000 executing program [pid 449] <... symlink resumed>) = 0 [pid 310] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 451] <... mmap resumed>) = 0x7f90a3563000 [pid 450] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 449] write(1, "executing program\n", 18 [pid 445] <... mount resumed>) = 0 [pid 445] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 445] chdir("./file2") = 0 [pid 445] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 445] ioctl(4, LOOP_CLR_FD) = 0 [pid 445] close(4) = 0 [pid 445] exit_group(0 [pid 450] <... write resumed>) = 262144 [pid 445] <... exit_group resumed>) = ? [pid 445] +++ exited with 0 +++ [pid 451] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 310] <... umount2 resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=445, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 451] <... write resumed>) = 262144 [pid 451] munmap(0x7f90a3563000, 138412032 [pid 310] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 451] <... munmap resumed>) = 0 [pid 450] munmap(0x7f90a3563000, 138412032 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 451] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] newfstatat(AT_FDCWD, "./12/file2" [pid 451] <... openat resumed>) = 4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 450] <... munmap resumed>) = 0 [pid 451] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 451] close(3) = 0 [pid 451] close(4) = 0 [pid 451] mkdir("./file2", 0777) = 0 [pid 451] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 450] openat(AT_FDCWD, "/dev/loop3", O_RDWR [ 30.103705][ T443] EXT4-fs (loop4): 1 truncate cleaned up [ 30.119641][ T445] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 30.144095][ T445] EXT4-fs (loop1): 1 truncate cleaned up executing program [pid 310] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 450] <... openat resumed>) = 4 [pid 449] <... write resumed>) = 18 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 451] <... mount resumed>) = 0 [pid 450] ioctl(4, LOOP_SET_FD, 3 [pid 449] memfd_create("syzkaller", 0 [pid 310] openat(AT_FDCWD, "./12/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 450] <... ioctl resumed>) = 0 [pid 451] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] <... openat resumed>) = 4 [pid 307] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 451] <... openat resumed>) = 3 [pid 451] chdir("./file2") = 0 [pid 450] close(3 [pid 310] fstat(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 450] <... close resumed>) = 0 [pid 449] <... memfd_create resumed>) = 3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 450] close(4 [pid 449] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 450] <... close resumed>) = 0 [pid 310] getdents64(4 [pid 451] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 451] ioctl(4, LOOP_CLR_FD) = 0 [pid 451] close(4) = 0 [pid 451] exit_group(0) = ? [pid 451] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=451, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... openat resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] fstat(3 [pid 450] mkdir("./file2", 0777 [pid 449] <... mmap resumed>) = 0x7f90a3563000 [pid 310] getdents64(4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 450] <... mkdir resumed>) = 0 [pid 310] close(4 [pid 307] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 449] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... close resumed>) = 0 [pid 450] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] newfstatat(AT_FDCWD, "./13/binderfs" [pid 449] <... write resumed>) = 262144 [pid 310] rmdir("./12/file2" [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./13/binderfs" [pid 310] <... rmdir resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 310] getdents64(3 [pid 307] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 449] munmap(0x7f90a3563000, 138412032 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] close(3 [pid 449] <... munmap resumed>) = 0 [pid 449] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] <... close resumed>) = 0 [pid 449] <... openat resumed>) = 4 [pid 449] ioctl(4, LOOP_SET_FD, 3 [pid 310] rmdir("./12" [pid 449] <... ioctl resumed>) = 0 [pid 449] close(3) = 0 [pid 449] close(4) = 0 [pid 449] mkdir("./file2", 0777) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./12/binderfs") = 0 [pid 306] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] mkdir("./13", 0777 [pid 307] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 449] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 310] <... mkdir resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] newfstatat(AT_FDCWD, "./13/file2" [pid 310] <... openat resumed>) = 3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 307] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] close(3) = 0 [pid 307] openat(AT_FDCWD, "./13/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./12/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./12/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./12/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./12/file2") = 0 [ 30.161860][ T451] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 30.173601][ T451] EXT4-fs (loop0): 1 truncate cleaned up [ 30.190317][ T450] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] <... openat resumed>) = 4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 455 [pid 307] getdents64(4 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] getdents64(4 [pid 306] close(3 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4 [pid 306] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] rmdir("./12" [pid 307] rmdir("./13/file2" [pid 306] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] mkdir("./13", 0777 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 307] close(3 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 307] <... close resumed>) = 0 [pid 307] rmdir("./13" [pid 306] <... openat resumed>) = 3 [pid 307] <... rmdir resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 307] mkdir("./14", 0777 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... mkdir resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] close(3ci2-android-6-1/strace-static-x86_64: Process 455 attached [pid 307] <... openat resumed>) = 3 [pid 306] <... close resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] close(3 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 455] set_robust_list(0x5555737ed6a0, 24 [pid 307] <... close resumed>) = 0 [pid 455] <... set_robust_list resumed>) = 0 [pid 455] rt_sigprocmask(SIG_SETMASK, [] [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 456 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 455] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 455] chdir("./13") = 0 [pid 455] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 455] setpgid(0, 0) = 0 [pid 455] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 457 [pid 455] write(3, "1000", 4) = 4 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 455] close(3) = 0 [pid 455] symlink("/dev/binderfs", "./binderfs") = 0 [pid 455] write(1, "executing program\n", 18) = 18 [pid 455] memfd_create("syzkaller", 0) = 3 [pid 455] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 executing program [pid 455] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144ci2-android-6-1/strace-static-x86_64: Process 456 attached [pid 456] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 456] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 456] chdir("./13") = 0 [pid 456] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 456] setpgid(0, 0) = 0 ci2-android-6-1/strace-static-x86_64: Process 457 attached [pid 456] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 457] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 456] <... openat resumed>) = 3 [pid 457] rt_sigprocmask(SIG_SETMASK, [] [pid 455] <... write resumed>) = 262144 [pid 457] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 456] write(3, "1000", 4) = 4 [pid 457] chdir("./14" [pid 456] close(3) = 0 [pid 456] symlink("/dev/binderfs", "./binderfs" [pid 457] <... chdir resumed>) = 0 [pid 456] <... symlink resumed>) = 0 [pid 457] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 457] setpgid(0, 0) = 0 [pid 457] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 456] write(1, "executing program\n", 18) = 18 [pid 456] memfd_create("syzkaller", 0 [pid 457] write(3, "1000", 4) = 4 executing program [pid 456] <... memfd_create resumed>) = 3 [pid 457] close(3) = 0 [pid 457] symlink("/dev/binderfs", "./binderfs") = 0 [pid 456] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 455] munmap(0x7f90a3563000, 138412032) = 0 [pid 456] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 455] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 457] write(1, "executing program\n", 18) = 18 [pid 455] <... openat resumed>) = 4 [pid 457] memfd_create("syzkaller", 0 [pid 455] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 457] <... memfd_create resumed>) = 3 executing program [pid 457] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 455] close(3) = 0 [pid 455] close(4 [pid 457] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 455] <... close resumed>) = 0 [pid 455] mkdir("./file2", 0777) = 0 [pid 455] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 456] <... write resumed>) = 262144 [pid 457] <... write resumed>) = 262144 [pid 450] <... mount resumed>) = 0 [pid 456] munmap(0x7f90a3563000, 138412032) = 0 [pid 450] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 450] chdir("./file2") = 0 [pid 450] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 456] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 450] ioctl(4, LOOP_CLR_FD [pid 456] <... openat resumed>) = 4 [pid 450] <... ioctl resumed>) = 0 [pid 450] close(4) = 0 [pid 456] ioctl(4, LOOP_SET_FD, 3 [pid 450] exit_group(0) = ? [pid 456] <... ioctl resumed>) = 0 [pid 457] munmap(0x7f90a3563000, 138412032 [pid 456] close(3) = 0 [pid 456] close(4) = 0 [pid 456] mkdir("./file2", 0777 [pid 457] <... munmap resumed>) = 0 [pid 456] <... mkdir resumed>) = 0 [pid 457] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 457] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 450] +++ exited with 0 +++ [pid 457] close(3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=450, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 457] <... close resumed>) = 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 457] close(4) = 0 [pid 457] mkdir("./file2", 0777) = 0 [ 30.207464][ T449] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 30.222308][ T450] EXT4-fs (loop3): 1 truncate cleaned up [ 30.248650][ T455] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [pid 456] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 457] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 449] <... mount resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 449] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 449] chdir("./file2" [pid 309] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 449] <... chdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 449] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 449] <... openat resumed>) = 4 [pid 309] <... openat resumed>) = 3 [pid 449] ioctl(4, LOOP_CLR_FD [pid 309] fstat(3 [pid 449] <... ioctl resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 449] close(4 [pid 309] getdents64(3 [pid 449] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 449] exit_group(0 [pid 309] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 449] <... exit_group resumed>) = ? [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 449] +++ exited with 0 +++ [pid 309] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./14/binderfs") = 0 [pid 309] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 455] <... mount resumed>) = 0 [pid 455] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=449, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 455] <... openat resumed>) = 3 [pid 455] chdir("./file2" [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 455] <... chdir resumed>) = 0 [pid 455] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 455] ioctl(4, LOOP_CLR_FD) = 0 [pid 455] close(4) = 0 [pid 455] exit_group(0) = ? [pid 455] +++ exited with 0 +++ [pid 456] <... mount resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=455, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 456] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 309] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 456] <... openat resumed>) = 3 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 456] chdir("./file2" [pid 310] <... restart_syscall resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./14/file2" [pid 308] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 456] <... chdir resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 456] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 309] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 456] <... openat resumed>) = 4 [pid 310] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 3 [pid 456] ioctl(4, LOOP_CLR_FD [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./14/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] fstat(3 [pid 456] <... ioctl resumed>) = 0 [ 30.267262][ T456] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 30.277379][ T449] EXT4-fs (loop2): 1 truncate cleaned up [ 30.285425][ T455] EXT4-fs (loop4): 1 truncate cleaned up [ 30.292949][ T457] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 30.305062][ T456] EXT4-fs (loop0): 1 truncate cleaned up [pid 310] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 456] close(4 [pid 309] fstat(4 [pid 308] getdents64(3 [pid 456] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 456] exit_group(0 [pid 310] fstat(3 [pid 309] getdents64(4 [pid 308] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 456] <... exit_group resumed>) = ? [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 457] <... mount resumed>) = 0 [pid 456] +++ exited with 0 +++ [pid 310] getdents64(3 [pid 309] getdents64(4 [pid 308] newfstatat(AT_FDCWD, "./13/binderfs" [pid 457] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 457] <... openat resumed>) = 3 [pid 310] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] close(4 [pid 308] unlink("./13/binderfs" [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=456, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 457] chdir("./file2" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... close resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 457] <... chdir resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./13/binderfs" [pid 309] rmdir("./14/file2" [pid 308] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 457] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 457] <... openat resumed>) = 4 [pid 310] unlink("./13/binderfs" [pid 457] ioctl(4, LOOP_CLR_FD [pid 310] <... unlink resumed>) = 0 [pid 457] <... ioctl resumed>) = 0 [pid 310] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 457] close(4 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 457] <... close resumed>) = 0 [pid 457] exit_group(0) = ? [pid 457] +++ exited with 0 +++ [pid 308] <... umount2 resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=457, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] close(3) = 0 [pid 309] rmdir("./14") = 0 [pid 309] mkdir("./15", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 309] close(3) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 462 [pid 307] fstat(3 [pid 306] fstat(3 [pid 310] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] newfstatat(AT_FDCWD, "./13/file2" [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] getdents64(3 [pid 306] getdents64(3 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./14/binderfs" [pid 306] newfstatat(AT_FDCWD, "./13/binderfs" [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./14/binderfs" [pid 306] unlink("./13/binderfs" [pid 310] newfstatat(AT_FDCWD, "./13/file2" [pid 308] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... unlink resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 307] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ci2-android-6-1/strace-static-x86_64: Process 462 attached [pid 310] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./13/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 307] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./14/file2" [pid 306] newfstatat(AT_FDCWD, "./13/file2" [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./13/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./14/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./13/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... openat resumed>) = 4 [pid 306] <... openat resumed>) = 4 [pid 307] fstat(4 [pid 306] fstat(4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4 [pid 306] getdents64(4 [pid 310] openat(AT_FDCWD, "./13/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 4 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] <... openat resumed>) = 4 [pid 308] fstat(4 [pid 307] getdents64(4 [pid 306] getdents64(4 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] fstat(4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] close(4 [pid 306] close(4 [pid 308] getdents64(4 [pid 310] getdents64(4 [pid 307] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] rmdir("./14/file2" [pid 306] rmdir("./13/file2" [pid 310] getdents64(4 [pid 308] getdents64(4 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] getdents64(3 [pid 306] getdents64(3 [pid 310] close(4 [pid 308] close(4 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] <... close resumed>) = 0 [pid 307] close(3 [pid 306] close(3 [pid 310] <... close resumed>) = 0 [pid 308] rmdir("./13/file2" [pid 307] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 310] rmdir("./13/file2" [pid 307] rmdir("./14" [pid 306] rmdir("./13" [pid 310] <... rmdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] getdents64(3 [pid 308] getdents64(3 [pid 307] mkdir("./15", 0777 [pid 306] mkdir("./14", 0777 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 310] close(3 [pid 308] close(3 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] ioctl(3, LOOP_CLR_FD [pid 310] rmdir("./13" [pid 308] rmdir("./13" [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... rmdir resumed>) = 0 [pid 307] close(3 [pid 306] close(3 [pid 310] mkdir("./14", 0777 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... mkdir resumed>) = 0 [pid 308] mkdir("./14", 0777 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] <... openat resumed>) = 3 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 463 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 464 [pid 310] ioctl(3, LOOP_CLR_FD [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... openat resumed>) = 3 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] close(3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 310] <... close resumed>) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] close(3 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... close resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] rt_sigprocmask(SIG_BLOCK, ~[]ci2-android-6-1/strace-static-x86_64: Process 464 attached , [], 8) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 465 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 464] set_robust_list(0x5555737ed6a0, 24ci2-android-6-1/strace-static-x86_64: Process 466 attached ci2-android-6-1/strace-static-x86_64: Process 465 attached ci2-android-6-1/strace-static-x86_64: Process 463 attached ) = 0 [pid 462] set_robust_list(0x5555737ed6a0, 24 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 466 [pid 466] set_robust_list(0x5555737ed6a0, 24 [pid 465] set_robust_list(0x5555737ed6a0, 24 [pid 466] <... set_robust_list resumed>) = 0 [pid 465] <... set_robust_list resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [ 30.328855][ T457] EXT4-fs (loop1): 1 truncate cleaned up [pid 464] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 464] chdir("./14" [pid 466] rt_sigprocmask(SIG_SETMASK, [] [pid 465] rt_sigprocmask(SIG_SETMASK, [] [pid 463] set_robust_list(0x5555737ed6a0, 24 [pid 462] <... set_robust_list resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 464] <... chdir resumed>) = 0 [pid 464] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 464] setpgid(0, 0) = 0 [pid 464] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 466] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 465] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 463] <... set_robust_list resumed>) = 0 [pid 462] rt_sigprocmask(SIG_SETMASK, [] [pid 464] <... openat resumed>) = 3 [pid 466] chdir("./14" [pid 462] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 464] write(3, "1000", 4) = 4 [pid 464] close(3) = 0 [pid 464] symlink("/dev/binderfs", "./binderfs" [pid 462] chdir("./15" [pid 466] <... chdir resumed>) = 0 [pid 466] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 464] <... symlink resumed>) = 0 [pid 463] rt_sigprocmask(SIG_SETMASK, [] [pid 462] <... chdir resumed>) = 0 [pid 465] chdir("./14" [pid 464] write(1, "executing program\n", 18) = 18 executing program [pid 466] <... prctl resumed>) = 0 [pid 465] <... chdir resumed>) = 0 [pid 463] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 462] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 464] memfd_create("syzkaller", 0 [pid 466] setpgid(0, 0 [pid 462] <... prctl resumed>) = 0 [pid 466] <... setpgid resumed>) = 0 [pid 462] setpgid(0, 0 [pid 466] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 462] <... setpgid resumed>) = 0 [pid 466] <... openat resumed>) = 3 [pid 462] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 464] <... memfd_create resumed>) = 3 [pid 466] write(3, "1000", 4 [pid 465] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 464] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 462] <... openat resumed>) = 3 [pid 463] chdir("./15" [pid 466] <... write resumed>) = 4 [pid 462] write(3, "1000", 4 [pid 464] <... mmap resumed>) = 0x7f90a3563000 [pid 466] close(3 [pid 462] <... write resumed>) = 4 [pid 466] <... close resumed>) = 0 [pid 462] close(3 [pid 466] symlink("/dev/binderfs", "./binderfs" [pid 462] <... close resumed>) = 0 [pid 466] <... symlink resumed>) = 0 [pid 462] symlink("/dev/binderfs", "./binderfs" [pid 466] write(1, "executing program\n", 18 [pid 462] <... symlink resumed>) = 0 [pid 466] <... write resumed>) = 18 [pid 462] write(1, "executing program\n", 18 [pid 466] memfd_create("syzkaller", 0 [pid 462] <... write resumed>) = 18 [pid 466] <... memfd_create resumed>) = 3 [pid 462] memfd_create("syzkaller", 0 [pid 466] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 462] <... memfd_create resumed>) = 3 [pid 466] <... mmap resumed>) = 0x7f90a3563000 executing program executing program [pid 462] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 465] <... prctl resumed>) = 0 [pid 464] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 463] <... chdir resumed>) = 0 [pid 462] <... mmap resumed>) = 0x7f90a3563000 [pid 466] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 464] <... write resumed>) = 262144 [pid 464] munmap(0x7f90a3563000, 138412032) = 0 [pid 462] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 464] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 464] ioctl(4, LOOP_SET_FD, 3 [pid 466] <... write resumed>) = 262144 [pid 464] <... ioctl resumed>) = 0 [pid 464] close(3) = 0 [pid 464] close(4) = 0 [pid 464] mkdir("./file2", 0777) = 0 [pid 464] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 463] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 463] setpgid(0, 0) = 0 [pid 463] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 462] <... write resumed>) = 262144 [pid 466] munmap(0x7f90a3563000, 138412032 [pid 463] <... openat resumed>) = 3 [pid 463] write(3, "1000", 4) = 4 [pid 463] close(3) = 0 [pid 463] symlink("/dev/binderfs", "./binderfs") = 0 [pid 463] write(1, "executing program\n", 18 [pid 466] <... munmap resumed>) = 0 executing program [pid 463] <... write resumed>) = 18 [pid 463] memfd_create("syzkaller", 0) = 3 [pid 463] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 463] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 465] setpgid(0, 0) = 0 [pid 465] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 465] write(3, "1000", 4) = 4 [pid 466] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 462] munmap(0x7f90a3563000, 138412032 [pid 465] close(3 [pid 466] <... openat resumed>) = 4 [pid 462] <... munmap resumed>) = 0 [pid 465] <... close resumed>) = 0 [pid 465] symlink("/dev/binderfs", "./binderfs" [pid 466] ioctl(4, LOOP_SET_FD, 3 [pid 462] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 466] <... ioctl resumed>) = 0 [pid 465] <... symlink resumed>) = 0 [pid 462] <... openat resumed>) = 4 [pid 465] write(1, "executing program\n", 18) = 18 executing program [pid 462] ioctl(4, LOOP_SET_FD, 3 [pid 465] memfd_create("syzkaller", 0 [pid 466] close(3 [pid 463] <... write resumed>) = 262144 [pid 462] <... ioctl resumed>) = 0 [pid 466] <... close resumed>) = 0 [pid 465] <... memfd_create resumed>) = 3 [pid 462] close(3 [pid 465] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 466] close(4 [pid 465] <... mmap resumed>) = 0x7f90a3563000 [pid 462] <... close resumed>) = 0 [pid 466] <... close resumed>) = 0 [pid 465] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 462] close(4 [pid 466] mkdir("./file2", 0777 [pid 462] <... close resumed>) = 0 [pid 463] munmap(0x7f90a3563000, 138412032 [pid 466] <... mkdir resumed>) = 0 [pid 463] <... munmap resumed>) = 0 [pid 462] mkdir("./file2", 0777 [pid 466] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 462] <... mkdir resumed>) = 0 [pid 463] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 465] <... write resumed>) = 262144 [pid 463] <... openat resumed>) = 4 [pid 463] ioctl(4, LOOP_SET_FD, 3 [pid 465] munmap(0x7f90a3563000, 138412032) = 0 [pid 465] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 465] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 463] <... ioctl resumed>) = 0 [pid 465] close(3) = 0 [pid 465] close(4 [pid 463] close(3 [pid 465] <... close resumed>) = 0 [pid 463] <... close resumed>) = 0 [pid 465] mkdir("./file2", 0777 [pid 463] close(4 [pid 465] <... mkdir resumed>) = 0 [pid 463] <... close resumed>) = 0 [pid 463] mkdir("./file2", 0777) = 0 [pid 463] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [ 30.402243][ T464] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 30.420619][ T466] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 30.434305][ T465] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [pid 465] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 462] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 463] <... mount resumed>) = 0 [pid 463] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 463] chdir("./file2") = 0 [pid 463] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 463] ioctl(4, LOOP_CLR_FD) = 0 [pid 463] close(4) = 0 [pid 463] exit_group(0) = ? [pid 463] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=463, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 465] <... mount resumed>) = 0 [pid 307] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 465] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 465] <... openat resumed>) = 3 [ 30.444526][ T463] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 30.455882][ T462] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 30.476559][ T466] EXT4-fs (loop2): 1 truncate cleaned up [ 30.483451][ T464] EXT4-fs (loop0): 1 truncate cleaned up [ 30.490874][ T463] EXT4-fs (loop1): 1 truncate cleaned up [ 30.493281][ T465] EXT4-fs (loop4): 1 truncate cleaned up [pid 307] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 465] chdir("./file2" [pid 307] <... openat resumed>) = 3 [pid 462] <... mount resumed>) = 0 [pid 465] <... chdir resumed>) = 0 [pid 462] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 465] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] fstat(3 [pid 465] <... openat resumed>) = 4 [pid 462] <... openat resumed>) = 3 [pid 465] ioctl(4, LOOP_CLR_FD [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 465] <... ioctl resumed>) = 0 [pid 464] <... mount resumed>) = 0 [pid 462] chdir("./file2" [pid 466] <... mount resumed>) = 0 [pid 465] close(4 [pid 307] getdents64(3 [pid 465] <... close resumed>) = 0 [pid 466] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 465] exit_group(0 [pid 464] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 462] <... chdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 465] <... exit_group resumed>) = ? [pid 307] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 466] <... openat resumed>) = 3 [pid 466] chdir("./file2" [pid 465] +++ exited with 0 +++ [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=465, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] newfstatat(AT_FDCWD, "./15/binderfs" [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./15/binderfs" [pid 466] <... chdir resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 307] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 466] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 464] <... openat resumed>) = 3 [pid 462] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 464] chdir("./file2" [pid 462] <... openat resumed>) = 4 [pid 464] <... chdir resumed>) = 0 [pid 462] ioctl(4, LOOP_CLR_FD [pid 464] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./15/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./15/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 466] ioctl(4, LOOP_CLR_FD [pid 464] <... openat resumed>) = 4 [pid 462] <... ioctl resumed>) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./15/file2") = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 464] ioctl(4, LOOP_CLR_FD [pid 310] <... restart_syscall resumed>) = 0 [pid 466] <... ioctl resumed>) = 0 [pid 464] <... ioctl resumed>) = 0 [pid 462] close(4 [pid 466] close(4 [pid 464] close(4 [pid 466] <... close resumed>) = 0 [pid 464] <... close resumed>) = 0 [pid 462] <... close resumed>) = 0 [pid 307] close(3 [pid 310] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 464] exit_group(0 [pid 462] exit_group(0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... close resumed>) = 0 [pid 466] exit_group(0 [pid 464] <... exit_group resumed>) = ? [pid 462] <... exit_group resumed>) = ? [pid 310] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 466] <... exit_group resumed>) = ? [pid 310] <... openat resumed>) = 3 [pid 307] rmdir("./15" [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 464] +++ exited with 0 +++ [pid 310] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] mkdir("./16", 0777 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=464, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] newfstatat(AT_FDCWD, "./14/binderfs" [pid 462] +++ exited with 0 +++ [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 310] unlink("./14/binderfs" [pid 466] +++ exited with 0 +++ [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... unlink resumed>) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=462, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 310] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=466, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] <... openat resumed>) = 3 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] ioctl(3, LOOP_CLR_FD [pid 309] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 309] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 309] fstat(3 [pid 306] fstat(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 309] getdents64(3 [pid 306] getdents64(3 [pid 310] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] close(3 [pid 306] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] newfstatat(AT_FDCWD, "./14/file2" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] newfstatat(AT_FDCWD, "./15/binderfs" [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] newfstatat(AT_FDCWD, "./14/binderfs" [pid 310] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] unlink("./15/binderfs" [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] unlink("./14/binderfs" [pid 310] openat(AT_FDCWD, "./14/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... unlink resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 472 [pid 306] <... unlink resumed>) = 0 [pid 310] fstat(4 [pid 309] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 472 attached [pid 310] getdents64(4 [pid 309] <... umount2 resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] newfstatat(AT_FDCWD, "./15/file2" [pid 310] close(4 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... close resumed>) = 0 [pid 309] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rmdir("./14/file2" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... rmdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "./15/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] getdents64(3 [pid 309] <... openat resumed>) = 4 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] fstat(4 [pid 310] close(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... close resumed>) = 0 [pid 309] getdents64(4 [pid 310] rmdir("./14" [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 472] set_robust_list(0x5555737ed6a0, 24 [pid 310] <... rmdir resumed>) = 0 [pid 308] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = 0 [pid 472] <... set_robust_list resumed>) = 0 [pid 310] mkdir("./15", 0777 [pid 309] getdents64(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 472] rt_sigprocmask(SIG_SETMASK, [] [pid 308] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 472] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... openat resumed>) = 3 [pid 472] chdir("./16" [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] close(4 [pid 308] fstat(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 472] <... chdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 309] <... close resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] newfstatat(AT_FDCWD, "./14/file2" [pid 472] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] rmdir("./15/file2" [pid 308] getdents64(3 [pid 472] <... prctl resumed>) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 472] setpgid(0, 0 [pid 310] close(3 [pid 309] <... rmdir resumed>) = 0 [pid 308] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 472] <... setpgid resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] getdents64(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 472] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] newfstatat(AT_FDCWD, "./14/binderfs" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 472] <... openat resumed>) = 3 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] close(3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] openat(AT_FDCWD, "./14/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 472] write(3, "1000", 4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... close resumed>) = 0 [pid 308] unlink("./14/binderfs" [pid 472] <... write resumed>) = 4 [pid 309] rmdir("./15" [pid 308] <... unlink resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 472] close(3 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 473 [pid 308] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 472] <... close resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 472] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 472] write(1, "executing program\n", 18) = 18 [pid 309] mkdir("./16", 0777 [pid 472] memfd_create("syzkaller", 0) = 3 [pid 472] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 472] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... mkdir resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 472] <... write resumed>) = 262144 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] fstat(4 [pid 472] munmap(0x7f90a3563000, 138412032) = 0 [pid 309] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] newfstatat(AT_FDCWD, "./14/file2" [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] getdents64(4 [pid 309] close(3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] <... close resumed>) = 0 [pid 308] umount2("./14/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(4 [pid 472] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 472] <... openat resumed>) = 4 [pid 472] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 472] close(3) = 0 [pid 472] close(4) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] openat(AT_FDCWD, "./14/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] close(4 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 472] mkdir("./file2", 0777) = 0 [pid 472] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"...ci2-android-6-1/strace-static-x86_64: Process 473 attached [pid 473] set_robust_list(0x5555737ed6a0, 24) = 0 [ 30.512704][ T462] EXT4-fs (loop3): 1 truncate cleaned up [pid 473] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... openat resumed>) = 4 [pid 306] <... close resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 474 [pid 308] fstat(4 [pid 306] rmdir("./14/file2" [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 473] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 308] getdents64(4 [pid 306] getdents64(3 [pid 473] chdir("./15" [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 473] <... chdir resumed>) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] getdents64(4 [pid 306] close(3 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 473] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] <... close resumed>) = 0 [pid 473] <... prctl resumed>) = 0 [pid 308] close(4 [pid 306] rmdir("./14" [pid 473] setpgid(0, 0 [pid 308] <... close resumed>) = 0 [pid 473] <... setpgid resumed>) = 0 [pid 473] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] rmdir("./14/file2" [pid 306] <... rmdir resumed>) = 0 [pid 473] <... openat resumed>) = 3 [pid 473] write(3, "1000", 4 [pid 308] <... rmdir resumed>) = 0 [pid 306] mkdir("./15", 0777 [pid 308] getdents64(3 [pid 473] <... write resumed>) = 4 [pid 473] close(3) = 0 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 308] close(3 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... close resumed>) = 0 [pid 473] symlink("/dev/binderfs", "./binderfs" [pid 308] rmdir("./14" [pid 306] <... openat resumed>) = 3 [pid 473] <... symlink resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 308] mkdir("./15", 0777 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 473] write(1, "executing program\n", 18) = 18 executing program [pid 473] memfd_create("syzkaller", 0 [pid 308] <... mkdir resumed>) = 0 [pid 306] close(3 [pid 473] <... memfd_create resumed>) = 3 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] <... close resumed>) = 0 [pid 473] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] <... openat resumed>) = 3 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 473] <... mmap resumed>) = 0x7f90a3563000 [pid 308] close(3 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... close resumed>) = 0 [pid 473] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 475 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 473] <... write resumed>) = 262144 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 476 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 473] munmap(0x7f90a3563000, 138412032 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 473] <... munmap resumed>) = 0 [pid 473] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 473] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 473] close(3) = 0 [pid 473] close(4) = 0 [pid 473] mkdir("./file2", 0777) = 0 [pid 473] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"...ci2-android-6-1/strace-static-x86_64: Process 475 attached ci2-android-6-1/strace-static-x86_64: Process 474 attached [pid 475] set_robust_list(0x5555737ed6a0, 24 [pid 474] set_robust_list(0x5555737ed6a0, 24 [pid 475] <... set_robust_list resumed>) = 0 [pid 474] <... set_robust_list resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 476 attached [pid 476] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 475] rt_sigprocmask(SIG_SETMASK, [] [pid 476] rt_sigprocmask(SIG_SETMASK, [] [pid 475] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 474] rt_sigprocmask(SIG_SETMASK, [] [pid 476] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 476] chdir("./15") = 0 [pid 476] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 476] setpgid(0, 0) = 0 [pid 476] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 476] write(3, "1000", 4) = 4 [pid 476] close(3) = 0 [pid 476] symlink("/dev/binderfs", "./binderfs") = 0 [pid 476] write(1, "executing program\n", 18 [pid 475] chdir("./15" [pid 474] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 476] <... write resumed>) = 18 executing program [pid 476] memfd_create("syzkaller", 0) = 3 [pid 476] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 476] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 475] <... chdir resumed>) = 0 [pid 474] chdir("./16" [pid 476] <... write resumed>) = 262144 [pid 476] munmap(0x7f90a3563000, 138412032) = 0 [pid 476] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 476] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 476] close(3) = 0 [pid 476] close(4) = 0 [pid 476] mkdir("./file2", 0777) = 0 [pid 474] <... chdir resumed>) = 0 [pid 475] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 474] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 475] <... prctl resumed>) = 0 [pid 475] setpgid(0, 0 [pid 474] <... prctl resumed>) = 0 [ 30.570624][ T472] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 30.592073][ T473] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [pid 476] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 475] <... setpgid resumed>) = 0 [pid 474] setpgid(0, 0) = 0 [pid 475] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 474] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 475] <... openat resumed>) = 3 [pid 474] write(3, "1000", 4 [pid 475] write(3, "1000", 4 [pid 474] <... write resumed>) = 4 [pid 475] <... write resumed>) = 4 [pid 474] close(3) = 0 [pid 475] close(3) = 0 [pid 474] symlink("/dev/binderfs", "./binderfs") = 0 [pid 475] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 474] write(1, "executing program\n", 18 [pid 475] write(1, "executing program\n", 18 [pid 474] <... write resumed>) = 18 [pid 475] <... write resumed>) = 18 executing program [pid 474] memfd_create("syzkaller", 0 [pid 475] memfd_create("syzkaller", 0) = 3 [pid 474] <... memfd_create resumed>) = 3 [pid 475] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 474] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 475] <... mmap resumed>) = 0x7f90a3563000 [pid 474] <... mmap resumed>) = 0x7f90a3563000 [pid 472] <... mount resumed>) = 0 [pid 472] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 472] chdir("./file2") = 0 [pid 472] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 475] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 472] <... openat resumed>) = 4 [pid 472] ioctl(4, LOOP_CLR_FD) = 0 [pid 472] close(4) = 0 [pid 472] exit_group(0) = ? [pid 474] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 472] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=472, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 475] <... write resumed>) = 262144 [pid 474] <... write resumed>) = 262144 [pid 475] munmap(0x7f90a3563000, 138412032 [pid 474] munmap(0x7f90a3563000, 138412032 [pid 475] <... munmap resumed>) = 0 [pid 475] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 474] <... munmap resumed>) = 0 [pid 475] <... openat resumed>) = 4 [pid 474] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 475] ioctl(4, LOOP_SET_FD, 3 [pid 474] <... openat resumed>) = 4 [pid 475] <... ioctl resumed>) = 0 [pid 474] ioctl(4, LOOP_SET_FD, 3 [pid 475] close(3 [pid 474] <... ioctl resumed>) = 0 [pid 475] <... close resumed>) = 0 [pid 474] close(3 [pid 475] close(4 [pid 474] <... close resumed>) = 0 [pid 475] <... close resumed>) = 0 [pid 474] close(4 [pid 475] mkdir("./file2", 0777 [pid 474] <... close resumed>) = 0 [pid 475] <... mkdir resumed>) = 0 [pid 474] mkdir("./file2", 0777) = 0 [pid 475] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 474] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./16/binderfs") = 0 [pid 307] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [ 30.613448][ T476] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 30.627661][ T472] EXT4-fs (loop1): 1 truncate cleaned up [ 30.642134][ T475] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 30.662935][ T476] EXT4-fs (loop2): 1 truncate cleaned up [pid 307] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./16/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./16/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4 [pid 473] <... mount resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./16/file2") = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./16") = 0 [pid 307] mkdir("./17", 0777) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 476] <... mount resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 476] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 473] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 307] close(3 [pid 476] <... openat resumed>) = 3 [pid 473] <... openat resumed>) = 3 [pid 307] <... close resumed>) = 0 [pid 476] chdir("./file2" [pid 473] chdir("./file2" [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 476] <... chdir resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 476] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 473] <... chdir resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 476] <... openat resumed>) = 4 [pid 473] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 476] ioctl(4, LOOP_CLR_FD [pid 473] <... openat resumed>) = 4 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 481 [pid 476] <... ioctl resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 481 attached [pid 481] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 481] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 475] <... mount resumed>) = 0 [pid 476] close(4 [pid 473] ioctl(4, LOOP_CLR_FD [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 476] <... close resumed>) = 0 [pid 473] <... ioctl resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 476] exit_group(0 [pid 473] close(4 [pid 476] <... exit_group resumed>) = ? [pid 473] <... close resumed>) = 0 [pid 481] chdir("./17") = 0 [pid 481] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 476] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=476, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 473] exit_group(0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 473] <... exit_group resumed>) = ? [pid 481] setpgid(0, 0) = 0 [pid 481] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] <... restart_syscall resumed>) = 0 [pid 473] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=473, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 481] <... openat resumed>) = 3 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./15/binderfs" [pid 481] write(3, "1000", 4) = 4 [pid 308] <... unlink resumed>) = 0 [pid 308] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 481] close(3) = 0 [pid 481] symlink("/dev/binderfs", "./binderfs") = 0 [pid 481] write(1, "executing program\n", 18) = 18 executing program [pid 481] memfd_create("syzkaller", 0) = 3 [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./15/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./15/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 481] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./15/file2" [pid 481] <... mmap resumed>) = 0x7f90a3563000 [pid 308] <... rmdir resumed>) = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./15") = 0 [pid 308] mkdir("./16", 0777) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 3 [pid 308] ioctl(3, LOOP_CLR_FD) = 0 [pid 308] close(3) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 482 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 310] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 481] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./15/binderfs" [pid 481] <... write resumed>) = 262144 [pid 481] munmap(0x7f90a3563000, 138412032) = 0 [pid 481] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 310] <... unlink resumed>) = 0 [pid 310] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 481] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 475] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 475] <... openat resumed>) = 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 475] chdir("./file2" [pid 310] newfstatat(AT_FDCWD, "./15/file2"ci2-android-6-1/strace-static-x86_64: Process 482 attached [pid 481] close(3 [pid 475] <... chdir resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 482] set_robust_list(0x5555737ed6a0, 24 [pid 481] <... close resumed>) = 0 [pid 481] close(4 [pid 310] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 475] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 482] <... set_robust_list resumed>) = 0 [pid 482] rt_sigprocmask(SIG_SETMASK, [] [pid 481] <... close resumed>) = 0 [pid 475] <... openat resumed>) = 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 482] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 481] mkdir("./file2", 0777 [pid 475] ioctl(4, LOOP_CLR_FD [pid 310] openat(AT_FDCWD, "./15/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 482] chdir("./16" [pid 475] <... ioctl resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 481] <... mkdir resumed>) = 0 [pid 475] close(4 [pid 482] <... chdir resumed>) = 0 [pid 310] fstat(4 [pid 475] <... close resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 482] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 481] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 482] <... prctl resumed>) = 0 [pid 475] exit_group(0 [ 30.669539][ T473] EXT4-fs (loop4): 1 truncate cleaned up [ 30.679292][ T474] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 30.700831][ T475] EXT4-fs (loop0): 1 truncate cleaned up [pid 310] getdents64(4 [pid 482] setpgid(0, 0 [pid 475] <... exit_group resumed>) = ? [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 482] <... setpgid resumed>) = 0 [pid 475] +++ exited with 0 +++ [pid 310] getdents64(4 [pid 474] <... mount resumed>) = 0 [pid 474] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 482] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=475, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 474] <... openat resumed>) = 3 [pid 482] <... openat resumed>) = 3 [pid 310] close(4 [pid 474] chdir("./file2") = 0 [pid 474] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 474] ioctl(4, LOOP_CLR_FD) = 0 [pid 474] close(4) = 0 [pid 474] exit_group(0) = ? [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./15/file2" [pid 482] write(3, "1000", 4 [pid 306] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 474] +++ exited with 0 +++ [pid 310] <... rmdir resumed>) = 0 [pid 482] <... write resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] getdents64(3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=474, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 482] close(3 [pid 306] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... openat resumed>) = 3 [pid 482] <... close resumed>) = 0 [pid 310] close(3 [pid 306] fstat(3 [pid 482] symlink("/dev/binderfs", "./binderfs" [pid 310] <... close resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 482] <... symlink resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 482] write(1, "executing program\n", 18 executing program [pid 310] rmdir("./15" [pid 482] <... write resumed>) = 18 [pid 310] <... rmdir resumed>) = 0 [pid 306] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 482] memfd_create("syzkaller", 0 [pid 310] mkdir("./16", 0777 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 482] <... memfd_create resumed>) = 3 [pid 481] <... mount resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./15/binderfs" [pid 481] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] <... mkdir resumed>) = 0 [pid 482] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./15/binderfs" [pid 482] <... mmap resumed>) = 0x7f90a3563000 [pid 481] <... openat resumed>) = 3 [pid 481] chdir("./file2" [pid 306] <... unlink resumed>) = 0 [pid 481] <... chdir resumed>) = 0 [pid 481] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 481] ioctl(4, LOOP_CLR_FD) = 0 [pid 481] close(4) = 0 [pid 481] exit_group(0) = ? [pid 309] <... restart_syscall resumed>) = 0 [pid 306] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 481] +++ exited with 0 +++ [pid 482] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 309] fstat(3 [pid 482] <... write resumed>) = 262144 [pid 310] <... openat resumed>) = 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=481, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] <... umount2 resumed>) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] getdents64(3 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] close(3 [pid 309] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] newfstatat(AT_FDCWD, "./16/binderfs" [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] unlink("./16/binderfs") = 0 [pid 306] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 485 [pid 309] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./15/file2" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] newfstatat(AT_FDCWD, "./16/file2" [pid 306] umount2("./15/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 482] munmap(0x7f90a3563000, 138412032 [pid 309] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "./15/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 482] <... munmap resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... openat resumed>) = 4 [pid 482] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 309] openat(AT_FDCWD, "./16/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... restart_syscall resumed>) = 0 [pid 306] fstat(4 [pid 482] <... openat resumed>) = 4 [pid 309] <... openat resumed>) = 4 [pid 482] ioctl(4, LOOP_SET_FD, 3 [pid 309] fstat(4 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 482] <... ioctl resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 482] close(3 [pid 309] getdents64(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] getdents64(4 [pid 482] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 482] close(4 [pid 309] getdents64(4 [pid 307] <... openat resumed>) = 3 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 482] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] fstat(3 [pid 482] mkdir("./file2", 0777 [pid 309] close(4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4 [pid 482] <... mkdir resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 307] getdents64(3 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [ 30.745277][ T481] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 30.752195][ T474] EXT4-fs (loop3): 1 truncate cleaned up [ 30.764960][ T481] EXT4-fs (loop1): 1 truncate cleaned up [pid 482] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] rmdir("./16/file2" [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] close(4 [pid 309] <... rmdir resumed>) = 0 [pid 307] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... close resumed>) = 0 [pid 309] getdents64(3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] rmdir("./15/file2" [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] newfstatat(AT_FDCWD, "./17/binderfs" [pid 306] <... rmdir resumed>) = 0 [pid 309] close(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] getdents64(3 [pid 309] <... close resumed>) = 0 [pid 307] unlink("./17/binderfs" [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] rmdir("./16" [pid 307] <... unlink resumed>) = 0 [pid 306] close(3 [pid 309] <... rmdir resumed>) = 0 [pid 307] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... close resumed>) = 0 [pid 309] mkdir("./17", 0777 [pid 307] <... umount2 resumed>) = 0 [pid 306] rmdir("./15" [pid 309] <... mkdir resumed>) = 0 [pid 307] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] mkdir("./16", 0777 [pid 309] <... openat resumed>) = 3 [pid 307] newfstatat(AT_FDCWD, "./17/file2" [pid 306] <... mkdir resumed>) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... openat resumed>) = 3 [pid 309] close(3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] <... close resumed>) = 0 [pid 307] openat(AT_FDCWD, "./17/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... openat resumed>) = 4 [pid 306] close(3 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] fstat(4 [pid 306] <... close resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[]ci2-android-6-1/strace-static-x86_64: Process 485 attached [pid 307] getdents64(4 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 485] set_robust_list(0x5555737ed6a0, 24 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 486 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 486 attached [pid 485] <... set_robust_list resumed>) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 307] getdents64(4 [pid 486] set_robust_list(0x5555737ed6a0, 24 [pid 485] rt_sigprocmask(SIG_SETMASK, [] [pid 486] <... set_robust_list resumed>) = 0 [pid 485] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 486] rt_sigprocmask(SIG_SETMASK, [] [pid 485] chdir("./16" [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 486] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 485] <... chdir resumed>) = 0 [pid 307] close(4 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 488 [pid 486] chdir("./17" [pid 485] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] <... close resumed>) = 0 [pid 486] <... chdir resumed>) = 0 [pid 485] <... prctl resumed>) = 0 [pid 307] rmdir("./17/file2" [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 486] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 485] setpgid(0, 0 [pid 486] <... prctl resumed>) = 0 [pid 485] <... setpgid resumed>) = 0 [pid 486] setpgid(0, 0 [pid 485] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 486] <... setpgid resumed>) = 0 [pid 485] <... openat resumed>) = 3 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 486] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 485] write(3, "1000", 4 [pid 307] getdents64(3 [pid 486] <... openat resumed>) = 3 [pid 485] <... write resumed>) = 4 ci2-android-6-1/strace-static-x86_64: Process 488 attached [pid 486] write(3, "1000", 4 [pid 485] close(3 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 486] <... write resumed>) = 4 [pid 485] <... close resumed>) = 0 [pid 307] close(3 [pid 486] close(3 [pid 485] symlink("/dev/binderfs", "./binderfs" [pid 486] <... close resumed>) = 0 [pid 485] <... symlink resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 486] symlink("/dev/binderfs", "./binderfs" [pid 485] write(1, "executing program\n", 18 [pid 307] rmdir("./17" [pid 486] <... symlink resumed>) = 0 [pid 485] <... write resumed>) = 18 [pid 486] write(1, "executing program\n", 18 [pid 485] memfd_create("syzkaller", 0 [pid 486] <... write resumed>) = 18 executing program executing program [pid 485] <... memfd_create resumed>) = 3 [pid 486] memfd_create("syzkaller", 0 [pid 485] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] <... rmdir resumed>) = 0 [pid 486] <... memfd_create resumed>) = 3 [pid 485] <... mmap resumed>) = 0x7f90a3563000 [pid 307] mkdir("./18", 0777 [pid 488] set_robust_list(0x5555737ed6a0, 24 [pid 486] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 485] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 307] <... mkdir resumed>) = 0 [pid 488] <... set_robust_list resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 488] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... openat resumed>) = 3 [pid 488] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 488] chdir("./16" [pid 486] <... mmap resumed>) = 0x7f90a3563000 [pid 485] <... write resumed>) = 262144 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 488] <... chdir resumed>) = 0 [pid 307] close(3 [pid 488] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] <... close resumed>) = 0 [pid 488] <... prctl resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 488] setpgid(0, 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 488] <... setpgid resumed>) = 0 [pid 485] munmap(0x7f90a3563000, 138412032 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 488] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 486] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 485] <... munmap resumed>) = 0 [pid 482] <... mount resumed>) = 0 [pid 488] <... openat resumed>) = 3 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 489 [pid 488] write(3, "1000", 4 [pid 486] <... write resumed>) = 262144 [pid 485] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 482] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 307] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 489 attached [pid 488] <... write resumed>) = 4 [pid 486] munmap(0x7f90a3563000, 138412032 [pid 485] <... openat resumed>) = 4 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 482] <... openat resumed>) = 3 [pid 488] close(3) = 0 [pid 488] symlink("/dev/binderfs", "./binderfs" [pid 486] <... munmap resumed>) = 0 [pid 485] ioctl(4, LOOP_SET_FD, 3 [pid 482] chdir("./file2" [pid 489] set_robust_list(0x5555737ed6a0, 24 [pid 488] <... symlink resumed>) = 0 [pid 486] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 485] <... ioctl resumed>) = 0 executing program [pid 488] write(1, "executing program\n", 18) = 18 [pid 488] memfd_create("syzkaller", 0) = 3 [pid 488] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 489] <... set_robust_list resumed>) = 0 [pid 486] <... openat resumed>) = 4 [pid 485] close(3 [pid 482] <... chdir resumed>) = 0 [pid 489] rt_sigprocmask(SIG_SETMASK, [] [pid 486] ioctl(4, LOOP_SET_FD, 3 [pid 485] <... close resumed>) = 0 [pid 482] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 488] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 486] <... ioctl resumed>) = 0 [pid 489] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 486] close(3 [pid 485] close(4 [pid 482] <... openat resumed>) = 4 [pid 489] chdir("./18" [pid 488] <... write resumed>) = 262144 [pid 486] <... close resumed>) = 0 [pid 485] <... close resumed>) = 0 [pid 482] ioctl(4, LOOP_CLR_FD [pid 489] <... chdir resumed>) = 0 [pid 488] munmap(0x7f90a3563000, 138412032 [pid 486] close(4 [pid 485] mkdir("./file2", 0777 [pid 482] <... ioctl resumed>) = 0 [pid 489] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 488] <... munmap resumed>) = 0 [pid 486] <... close resumed>) = 0 [pid 485] <... mkdir resumed>) = 0 [pid 482] close(4 [pid 489] <... prctl resumed>) = 0 [pid 488] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 486] mkdir("./file2", 0777 [ 30.789550][ T482] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 30.823366][ T482] EXT4-fs (loop2): 1 truncate cleaned up [pid 485] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 482] <... close resumed>) = 0 [pid 489] setpgid(0, 0 [pid 488] <... openat resumed>) = 4 [pid 486] <... mkdir resumed>) = 0 [pid 482] exit_group(0 [pid 489] <... setpgid resumed>) = 0 [pid 488] ioctl(4, LOOP_SET_FD, 3 [pid 486] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 482] <... exit_group resumed>) = ? [pid 489] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 488] <... ioctl resumed>) = 0 [pid 482] +++ exited with 0 +++ [pid 489] <... openat resumed>) = 3 [pid 488] close(3 [pid 489] write(3, "1000", 4 [pid 488] <... close resumed>) = 0 [pid 489] <... write resumed>) = 4 [pid 488] close(4 [pid 489] close(3 [pid 488] <... close resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=482, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 489] <... close resumed>) = 0 [pid 488] mkdir("./file2", 0777 [pid 489] symlink("/dev/binderfs", "./binderfs" [pid 488] <... mkdir resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 489] <... symlink resumed>) = 0 [pid 488] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... executing program [pid 489] write(1, "executing program\n", 18 [pid 308] <... restart_syscall resumed>) = 0 [pid 489] <... write resumed>) = 18 [pid 489] memfd_create("syzkaller", 0) = 3 [pid 489] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 308] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [ 30.844806][ T485] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 30.855207][ T486] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 30.869189][ T488] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 30.882276][ T485] EXT4-fs (loop4): 1 truncate cleaned up [pid 489] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 485] <... mount resumed>) = 0 [pid 308] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./16/binderfs" [pid 486] <... mount resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 486] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 308] unlink("./16/binderfs" [pid 489] <... write resumed>) = 262144 [pid 486] <... openat resumed>) = 3 [pid 485] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 308] <... unlink resumed>) = 0 [pid 489] munmap(0x7f90a3563000, 138412032 [pid 488] <... mount resumed>) = 0 [pid 486] chdir("./file2" [pid 485] <... openat resumed>) = 3 [pid 308] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 489] <... munmap resumed>) = 0 [pid 488] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 486] <... chdir resumed>) = 0 [pid 485] chdir("./file2" [pid 489] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 488] <... openat resumed>) = 3 [pid 485] <... chdir resumed>) = 0 [pid 489] <... openat resumed>) = 4 [pid 486] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 489] ioctl(4, LOOP_SET_FD, 3 [pid 486] <... openat resumed>) = 4 [pid 485] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 486] ioctl(4, LOOP_CLR_FD [pid 489] <... ioctl resumed>) = 0 [pid 488] chdir("./file2" [pid 486] <... ioctl resumed>) = 0 [pid 485] <... openat resumed>) = 4 [pid 308] <... umount2 resumed>) = 0 [pid 489] close(3 [pid 488] <... chdir resumed>) = 0 [pid 486] close(4 [pid 485] ioctl(4, LOOP_CLR_FD [pid 308] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 489] <... close resumed>) = 0 [pid 488] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 486] <... close resumed>) = 0 [pid 485] <... ioctl resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 489] close(4 [pid 488] <... openat resumed>) = 4 [pid 486] exit_group(0 [pid 485] close(4 [pid 308] newfstatat(AT_FDCWD, "./16/file2" [pid 489] <... close resumed>) = 0 [pid 488] ioctl(4, LOOP_CLR_FD [pid 486] <... exit_group resumed>) = ? [pid 485] <... close resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 489] mkdir("./file2", 0777 [pid 488] <... ioctl resumed>) = 0 [pid 486] +++ exited with 0 +++ [pid 485] exit_group(0 [pid 308] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 489] <... mkdir resumed>) = 0 [pid 488] close(4 [pid 485] <... exit_group resumed>) = ? [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=486, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 489] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 485] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=485, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./17/binderfs") = 0 [pid 309] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./16/binderfs") = 0 [pid 310] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 488] <... close resumed>) = 0 [pid 488] exit_group(0) = ? [pid 488] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=488, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... umount2 resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 308] openat(AT_FDCWD, "./16/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] fstat(4 [pid 309] newfstatat(AT_FDCWD, "./17/file2" [pid 306] <... restart_syscall resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./16/file2" [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] getdents64(4 [pid 306] <... openat resumed>) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 310] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./17/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] getdents64(4 [pid 306] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./16/binderfs" [pid 310] openat(AT_FDCWD, "./16/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 4 [pid 306] <... unlink resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 308] close(4 [pid 310] fstat(4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... close resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 308] rmdir("./16/file2" [pid 310] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] <... rmdir resumed>) = 0 [ 30.890470][ T486] EXT4-fs (loop3): 1 truncate cleaned up [ 30.894044][ T488] EXT4-fs (loop0): 1 truncate cleaned up [ 30.917951][ T489] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 308] getdents64(3 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./16/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./16/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./16/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 308] close(3 [pid 306] <... openat resumed>) = 4 [pid 310] close(4 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] rmdir("./17/file2" [pid 306] fstat(4 [pid 308] rmdir("./16" [pid 489] <... mount resumed>) = 0 [pid 310] rmdir("./16/file2" [pid 309] <... rmdir resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 489] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 308] <... rmdir resumed>) = 0 [pid 306] getdents64(4 [pid 489] <... openat resumed>) = 3 [pid 310] <... rmdir resumed>) = 0 [pid 309] getdents64(3 [pid 308] mkdir("./17", 0777 [pid 489] chdir("./file2" [pid 310] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] close(3 [pid 308] <... mkdir resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] <... close resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] rmdir("./17" [pid 310] close(3 [pid 306] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./16/file2" [pid 310] <... close resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 306] <... rmdir resumed>) = 0 [pid 489] <... chdir resumed>) = 0 [pid 310] rmdir("./16" [pid 309] mkdir("./18", 0777 [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] close(3 [pid 310] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./16" [pid 309] <... mkdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] mkdir("./17", 0777 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] mkdir("./17", 0777) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] close(3 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... close resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... openat resumed>) = 3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] ioctl(3, LOOP_CLR_FD [pid 310] <... openat resumed>) = 3 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... openat resumed>) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] close(3 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... close resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 494 attached ci2-android-6-1/strace-static-x86_64: Process 495 attached [pid 489] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 495] set_robust_list(0x5555737ed6a0, 24 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 495 [pid 495] <... set_robust_list resumed>) = 0 [pid 494] set_robust_list(0x5555737ed6a0, 24 [pid 489] <... openat resumed>) = 4 [pid 310] close(3 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 494 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 495] rt_sigprocmask(SIG_SETMASK, [] [pid 494] <... set_robust_list resumed>) = 0 [pid 489] ioctl(4, LOOP_CLR_FD [pid 310] <... close resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 495] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 495] chdir("./17") = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 495] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 489] <... ioctl resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 496 [pid 495] <... prctl resumed>) = 0 [pid 495] setpgid(0, 0) = 0 [pid 495] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 495] write(3, "1000", 4) = 4 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 497 [pid 489] close(4 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 495] close(3 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 489] <... close resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 495] <... close resumed>) = 0 [pid 489] exit_group(0 [pid 495] symlink("/dev/binderfs", "./binderfs"ci2-android-6-1/strace-static-x86_64: Process 497 attached ci2-android-6-1/strace-static-x86_64: Process 496 attached ) = 0 [pid 494] rt_sigprocmask(SIG_SETMASK, [] [pid 489] <... exit_group resumed>) = ? [pid 495] write(1, "executing program\n", 18) = 18 executing program [pid 495] memfd_create("syzkaller", 0) = 3 [pid 495] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 497] set_robust_list(0x5555737ed6a0, 24 [pid 496] set_robust_list(0x5555737ed6a0, 24 [pid 494] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 489] +++ exited with 0 +++ [pid 497] <... set_robust_list resumed>) = 0 [pid 496] <... set_robust_list resumed>) = 0 [pid 495] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 494] chdir("./17" [pid 497] rt_sigprocmask(SIG_SETMASK, [] [pid 496] rt_sigprocmask(SIG_SETMASK, [] [pid 494] <... chdir resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=489, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 497] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 496] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 495] <... write resumed>) = 262144 [pid 494] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 497] chdir("./17" [pid 496] chdir("./18" [pid 495] munmap(0x7f90a3563000, 138412032 [pid 497] <... chdir resumed>) = 0 [pid 496] <... chdir resumed>) = 0 [pid 494] <... prctl resumed>) = 0 [pid 497] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 496] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 495] <... munmap resumed>) = 0 [pid 494] setpgid(0, 0 [pid 497] <... prctl resumed>) = 0 [pid 496] <... prctl resumed>) = 0 [pid 495] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 495] ioctl(4, LOOP_SET_FD, 3 [pid 497] setpgid(0, 0 [pid 496] setpgid(0, 0 [pid 494] <... setpgid resumed>) = 0 [pid 496] <... setpgid resumed>) = 0 [pid 495] <... ioctl resumed>) = 0 [pid 495] close(3) = 0 [pid 495] close(4) = 0 [pid 495] mkdir("./file2", 0777) = 0 [pid 495] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 497] <... setpgid resumed>) = 0 [pid 496] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 494] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 497] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 496] <... openat resumed>) = 3 [pid 494] <... openat resumed>) = 3 [pid 497] <... openat resumed>) = 3 [pid 496] write(3, "1000", 4 [pid 494] write(3, "1000", 4 [pid 497] write(3, "1000", 4 [pid 496] <... write resumed>) = 4 [pid 494] <... write resumed>) = 4 [pid 497] <... write resumed>) = 4 [pid 496] close(3 [pid 494] close(3 [pid 497] close(3 [pid 496] <... close resumed>) = 0 [pid 494] <... close resumed>) = 0 [pid 497] <... close resumed>) = 0 [pid 496] symlink("/dev/binderfs", "./binderfs" [pid 494] symlink("/dev/binderfs", "./binderfs" [pid 497] symlink("/dev/binderfs", "./binderfs" [pid 496] <... symlink resumed>) = 0 [pid 494] <... symlink resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./18/binderfs" [pid 497] <... symlink resumed>) = 0 [pid 496] write(1, "executing program\n", 18 [pid 494] write(1, "executing program\n", 18 executing program executing program [pid 497] write(1, "executing program\n", 18 [pid 496] <... write resumed>) = 18 [pid 494] <... write resumed>) = 18 executing program [pid 497] <... write resumed>) = 18 [pid 496] memfd_create("syzkaller", 0 [pid 494] memfd_create("syzkaller", 0 [pid 497] memfd_create("syzkaller", 0 [pid 496] <... memfd_create resumed>) = 3 [pid 494] <... memfd_create resumed>) = 3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 497] <... memfd_create resumed>) = 3 [pid 496] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 494] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 497] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 496] <... mmap resumed>) = 0x7f90a3563000 [pid 494] <... mmap resumed>) = 0x7f90a3563000 [pid 497] <... mmap resumed>) = 0x7f90a3563000 [pid 496] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 495] <... mount resumed>) = 0 [pid 494] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 307] unlink("./18/binderfs" [pid 497] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 495] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 307] <... unlink resumed>) = 0 [pid 495] <... openat resumed>) = 3 [pid 496] <... write resumed>) = 262144 [pid 494] <... write resumed>) = 262144 [pid 307] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 497] <... write resumed>) = 262144 [pid 496] munmap(0x7f90a3563000, 138412032 [pid 495] chdir("./file2" [pid 494] munmap(0x7f90a3563000, 138412032 [pid 497] munmap(0x7f90a3563000, 138412032 [pid 496] <... munmap resumed>) = 0 [pid 494] <... munmap resumed>) = 0 [pid 497] <... munmap resumed>) = 0 [pid 496] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 495] <... chdir resumed>) = 0 [pid 494] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 497] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 496] <... openat resumed>) = 4 [pid 495] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 494] <... openat resumed>) = 4 [pid 497] <... openat resumed>) = 4 [pid 496] ioctl(4, LOOP_SET_FD, 3 [pid 495] <... openat resumed>) = 4 [pid 494] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... umount2 resumed>) = 0 [pid 497] ioctl(4, LOOP_SET_FD, 3 [pid 496] <... ioctl resumed>) = 0 [pid 495] ioctl(4, LOOP_CLR_FD [pid 494] <... ioctl resumed>) = 0 [pid 497] <... ioctl resumed>) = 0 [pid 496] close(3 [pid 495] <... ioctl resumed>) = 0 [pid 494] close(3 [pid 497] close(3 [pid 496] <... close resumed>) = 0 [pid 495] close(4 [pid 494] <... close resumed>) = 0 [pid 307] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./18/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./18/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./18/file2") = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./18") = 0 [pid 307] mkdir("./19", 0777) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 499 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 30.950313][ T489] EXT4-fs (loop1): 1 truncate cleaned up [ 30.980282][ T495] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 30.994394][ T495] EXT4-fs (loop0): 1 truncate cleaned up [pid 497] <... close resumed>) = 0 [pid 496] close(4 [pid 495] <... close resumed>) = 0 [pid 494] close(4ci2-android-6-1/strace-static-x86_64: Process 499 attached [pid 497] close(4 [pid 496] <... close resumed>) = 0 [pid 495] exit_group(0 [pid 494] <... close resumed>) = 0 [pid 497] <... close resumed>) = 0 [pid 496] mkdir("./file2", 0777 [pid 495] <... exit_group resumed>) = ? [pid 494] mkdir("./file2", 0777 [pid 497] mkdir("./file2", 0777 [pid 496] <... mkdir resumed>) = 0 [pid 495] +++ exited with 0 +++ [pid 494] <... mkdir resumed>) = 0 [pid 497] <... mkdir resumed>) = 0 [pid 496] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 494] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=495, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 499] set_robust_list(0x5555737ed6a0, 24 [pid 497] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 499] <... set_robust_list resumed>) = 0 [pid 499] rt_sigprocmask(SIG_SETMASK, [] [pid 306] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 499] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 499] chdir("./19" [pid 306] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 499] <... chdir resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 499] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 306] fstat(3 [pid 499] <... prctl resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 499] setpgid(0, 0 [pid 306] getdents64(3 [pid 499] <... setpgid resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 499] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 499] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 499] write(3, "1000", 4 [pid 306] newfstatat(AT_FDCWD, "./17/binderfs" [pid 499] <... write resumed>) = 4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 499] close(3 [pid 306] unlink("./17/binderfs" [pid 499] <... close resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 499] symlink("/dev/binderfs", "./binderfs" [pid 306] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 499] <... symlink resumed>) = 0 [pid 499] write(1, "executing program\n", 18) = 18 [pid 499] memfd_create("syzkaller", 0) = 3 [pid 499] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 executing program [pid 499] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 499] munmap(0x7f90a3563000, 138412032) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 499] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 499] ioctl(4, LOOP_SET_FD, 3 [pid 306] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 499] <... ioctl resumed>) = 0 [pid 499] close(3) = 0 [pid 499] close(4) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 499] mkdir("./file2", 0777) = 0 [pid 306] newfstatat(AT_FDCWD, "./17/file2" [pid 499] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 31.042807][ T496] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 31.054973][ T494] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 31.068378][ T497] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [pid 306] openat(AT_FDCWD, "./17/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./17/file2") = 0 [pid 306] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./17") = 0 [pid 306] mkdir("./18", 0777) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 503 attached [pid 503] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 503] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 503] chdir("./18" [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 503 [pid 503] <... chdir resumed>) = 0 [pid 503] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 503] setpgid(0, 0) = 0 [pid 503] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 503] <... openat resumed>) = 3 [pid 503] write(3, "1000", 4) = 4 [pid 503] close(3) = 0 [pid 503] symlink("/dev/binderfs", "./binderfs" [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 503] <... symlink resumed>) = 0 [pid 503] write(1, "executing program\n", 18) = 18 executing program [pid 503] memfd_create("syzkaller", 0) = 3 [pid 503] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 503] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 496] <... mount resumed>) = 0 [pid 496] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 496] chdir("./file2") = 0 [pid 496] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 496] ioctl(4, LOOP_CLR_FD) = 0 [pid 496] close(4) = 0 [pid 496] exit_group(0) = ? [pid 496] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=496, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 497] <... mount resumed>) = 0 [pid 497] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 497] chdir("./file2") = 0 [pid 497] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 497] ioctl(4, LOOP_CLR_FD) = 0 [pid 497] close(4) = 0 [pid 497] exit_group(0) = ? [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 497] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=497, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 494] <... mount resumed>) = 0 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 494] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 494] chdir("./file2") = 0 [pid 494] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 494] ioctl(4, LOOP_CLR_FD) = 0 [pid 494] close(4) = 0 [pid 494] exit_group(0) = ? [pid 494] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=494, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 503] munmap(0x7f90a3563000, 138412032) = 0 [pid 503] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 31.084622][ T499] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 31.105441][ T496] EXT4-fs (loop3): 1 truncate cleaned up [ 31.114576][ T497] EXT4-fs (loop4): 1 truncate cleaned up [ 31.121146][ T499] EXT4-fs (loop1): 1 truncate cleaned up [ 31.127058][ T494] EXT4-fs (loop2): 1 truncate cleaned up [pid 503] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 503] close(3) = 0 [pid 503] close(4) = 0 [pid 503] mkdir("./file2", 0777) = 0 [pid 503] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 310] <... restart_syscall resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 310] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] fstat(3 [pid 309] <... openat resumed>) = 3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] fstat(3 [pid 308] <... openat resumed>) = 3 [pid 310] getdents64(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] fstat(3 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] newfstatat(AT_FDCWD, "./17/binderfs" [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] unlink("./17/binderfs" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... unlink resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./17/binderfs" [pid 310] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] newfstatat(AT_FDCWD, "./18/binderfs" [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./17/binderfs" [pid 309] unlink("./18/binderfs" [pid 308] <... unlink resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 499] <... mount resumed>) = 0 [pid 499] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 309] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 499] <... openat resumed>) = 3 [pid 499] chdir("./file2") = 0 [pid 499] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 499] ioctl(4, LOOP_CLR_FD) = 0 [pid 499] close(4) = 0 [pid 499] exit_group(0) = ? [pid 499] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=499, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... umount2 resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 309] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... restart_syscall resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./18/file2" [pid 308] newfstatat(AT_FDCWD, "./17/file2" [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... openat resumed>) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./19/binderfs" [pid 309] openat(AT_FDCWD, "./18/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./17/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... unlink resumed>) = 0 [pid 307] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 4 [pid 308] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 308] fstat(4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 309] getdents64(4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] newfstatat(AT_FDCWD, "./19/file2" [pid 308] getdents64(4 [pid 309] getdents64(4 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] close(4 [pid 308] getdents64(4 [pid 307] openat(AT_FDCWD, "./19/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] <... close resumed>) = 0 [pid 307] fstat(4 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] rmdir("./18/file2" [pid 308] close(4 [pid 307] getdents64(4 [pid 309] <... rmdir resumed>) = 0 [pid 309] getdents64(3 [pid 308] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] rmdir("./17/file2" [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 307] close(4 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 307] rmdir("./19/file2" [pid 309] <... close resumed>) = 0 [pid 308] getdents64(3 [pid 307] <... rmdir resumed>) = 0 [pid 309] rmdir("./18" [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 307] close(3 [pid 310] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] close(3 [pid 309] mkdir("./19", 0777 [pid 307] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... close resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 307] rmdir("./19") = 0 [pid 308] rmdir("./17" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] mkdir("./20", 0777 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 308] mkdir("./18", 0777 [pid 309] <... openat resumed>) = 3 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] <... mkdir resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 310] newfstatat(AT_FDCWD, "./17/file2" [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] ioctl(3, LOOP_CLR_FD) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... openat resumed>) = 3 [pid 307] close(3) = 0 [pid 309] close(3 [pid 310] umount2("./17/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... close resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] openat(AT_FDCWD, "./17/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] close(3 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 506 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... openat resumed>) = 4 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... close resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 507 [pid 310] fstat(4 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] getdents64(4 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 508 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 310] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] close(4 [pid 503] <... mount resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./17/file2" [pid 503] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] <... rmdir resumed>) = 0 [pid 503] <... openat resumed>) = 3 [pid 503] chdir("./file2") = 0 [pid 503] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 503] ioctl(4, LOOP_CLR_FD [pid 310] close(3 [pid 503] <... ioctl resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 503] close(4 [pid 310] rmdir("./17" [pid 503] <... close resumed>) = 0 [pid 503] exit_group(0 [pid 310] <... rmdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 507 attached [pid 310] mkdir("./18", 0777 [pid 503] <... exit_group resumed>) = ? [pid 507] set_robust_list(0x5555737ed6a0, 24 [pid 503] +++ exited with 0 +++ [pid 310] <... mkdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 506 attached [pid 507] <... set_robust_list resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=503, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 506] set_robust_list(0x5555737ed6a0, 24 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... openat resumed>) = 3 [pid 507] rt_sigprocmask(SIG_SETMASK, [] [pid 310] ioctl(3, LOOP_CLR_FD [pid 506] <... set_robust_list resumed>) = 0 [pid 507] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 506] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 506] chdir("./20") = 0 [pid 506] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 507] chdir("./19" [pid 310] close(3 [pid 506] <... prctl resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 507] <... chdir resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 507] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 506] setpgid(0, 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 507] <... prctl resumed>) = 0 [pid 506] <... setpgid resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 507] setpgid(0, 0 [pid 506] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 506] write(3, "1000", 4) = 4 [pid 506] close(3) = 0 [pid 506] symlink("/dev/binderfs", "./binderfs") = 0 [pid 507] <... setpgid resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 509 [pid 506] write(1, "executing program\n", 18) = 18 [pid 306] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW executing program [pid 506] memfd_create("syzkaller", 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 507] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYci2-android-6-1/strace-static-x86_64: Process 508 attached [pid 507] <... openat resumed>) = 3 [pid 506] <... memfd_create resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 508] set_robust_list(0x5555737ed6a0, 24 [pid 507] write(3, "1000", 4 [pid 506] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] fstat(3 [pid 508] <... set_robust_list resumed>) = 0 [pid 507] <... write resumed>) = 4 [pid 506] <... mmap resumed>) = 0x7f90a3563000 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [ 31.141708][ T503] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 31.161825][ T503] EXT4-fs (loop0): 1 truncate cleaned up [pid 508] rt_sigprocmask(SIG_SETMASK, [] [pid 507] close(3 [pid 506] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 306] getdents64(3 [pid 507] <... close resumed>) = 0 [pid 508] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 508] chdir("./18" [pid 507] symlink("/dev/binderfs", "./binderfs" [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 508] <... chdir resumed>) = 0 [pid 306] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 508] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 507] <... symlink resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 507] write(1, "executing program\n", 18 [pid 306] newfstatat(AT_FDCWD, "./18/binderfs" [pid 507] <... write resumed>) = 18 executing program [pid 508] <... prctl resumed>) = 0 [pid 507] memfd_create("syzkaller", 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 508] setpgid(0, 0 [pid 507] <... memfd_create resumed>) = 3 [pid 306] unlink("./18/binderfs" [pid 507] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 508] <... setpgid resumed>) = 0 [pid 507] <... mmap resumed>) = 0x7f90a3563000 [pid 506] <... write resumed>) = 262144 [pid 306] <... unlink resumed>) = 0 [pid 508] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 508] write(3, "1000", 4) = 4 [pid 508] close(3) = 0 [pid 508] symlink("/dev/binderfs", "./binderfs") = 0 [pid 508] write(1, "executing program\n", 18) = 18 [pid 508] memfd_create("syzkaller", 0) = 3 [pid 507] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 executing program [pid 306] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 508] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 506] munmap(0x7f90a3563000, 138412032ci2-android-6-1/strace-static-x86_64: Process 509 attached [pid 508] <... mmap resumed>) = 0x7f90a3563000 [pid 506] <... munmap resumed>) = 0 [pid 509] set_robust_list(0x5555737ed6a0, 24 [pid 508] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 506] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 509] <... set_robust_list resumed>) = 0 [pid 508] <... write resumed>) = 262144 [pid 507] <... write resumed>) = 262144 [pid 506] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 509] rt_sigprocmask(SIG_SETMASK, [] [pid 508] munmap(0x7f90a3563000, 138412032 [pid 507] munmap(0x7f90a3563000, 138412032 [pid 506] ioctl(4, LOOP_SET_FD, 3 [pid 306] newfstatat(AT_FDCWD, "./18/file2" [pid 509] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 508] <... munmap resumed>) = 0 [pid 507] <... munmap resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 509] chdir("./18" [pid 508] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 507] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 306] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 509] <... chdir resumed>) = 0 [pid 508] <... openat resumed>) = 4 [pid 507] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 509] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 508] ioctl(4, LOOP_SET_FD, 3 [pid 507] ioctl(4, LOOP_SET_FD, 3 [pid 306] openat(AT_FDCWD, "./18/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 509] <... prctl resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 509] setpgid(0, 0 [pid 306] fstat(4 [pid 509] <... setpgid resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./18/file2" [pid 507] <... ioctl resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 306] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./18" [pid 507] close(3 [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./19", 0777 [pid 507] <... close resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 507] close(4 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 507] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 507] mkdir("./file2", 0777 [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 507] <... mkdir resumed>) = 0 [pid 306] close(3 [pid 507] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 306] <... close resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 510 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 510 attached [pid 510] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 510] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 510] chdir("./19") = 0 [pid 510] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 510] setpgid(0, 0) = 0 [pid 510] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 510] write(3, "1000", 4) = 4 [pid 510] close(3) = 0 [pid 510] symlink("/dev/binderfs", "./binderfs") = 0 [pid 510] write(1, "executing program\n", 18) = 18 executing program [pid 510] memfd_create("syzkaller", 0) = 3 [pid 510] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 510] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 510] munmap(0x7f90a3563000, 138412032) = 0 [pid 506] <... ioctl resumed>) = 0 [pid 509] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 506] close(3) = 0 [pid 509] <... openat resumed>) = 3 [pid 508] <... ioctl resumed>) = 0 [pid 506] close(4 [pid 510] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 510] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 510] close(3) = 0 [pid 510] close(4) = 0 [pid 510] mkdir("./file2", 0777 [pid 506] <... close resumed>) = 0 [pid 510] <... mkdir resumed>) = 0 [pid 510] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 509] write(3, "1000", 4 [pid 508] close(3 [pid 506] mkdir("./file2", 0777 [pid 509] <... write resumed>) = 4 [pid 509] close(3 [pid 508] <... close resumed>) = 0 [pid 506] <... mkdir resumed>) = 0 [pid 509] <... close resumed>) = 0 [pid 508] close(4 [pid 506] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 509] symlink("/dev/binderfs", "./binderfs" [pid 508] <... close resumed>) = 0 [pid 509] <... symlink resumed>) = 0 [pid 509] write(1, "executing program\n", 18 [pid 508] mkdir("./file2", 0777 [pid 509] <... write resumed>) = 18 executing program [pid 509] memfd_create("syzkaller", 0 [pid 508] <... mkdir resumed>) = 0 [pid 509] <... memfd_create resumed>) = 3 [pid 508] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 509] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [ 31.226399][ T507] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 31.249756][ T510] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 31.261614][ T506] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [pid 509] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 509] munmap(0x7f90a3563000, 138412032) = 0 [pid 509] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 509] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 509] close(3) = 0 [pid 509] close(4) = 0 [pid 509] mkdir("./file2", 0777) = 0 [pid 509] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 510] <... mount resumed>) = 0 [ 31.273659][ T508] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 31.293421][ T510] EXT4-fs (loop0): 1 truncate cleaned up [ 31.303548][ T507] EXT4-fs (loop3): 1 truncate cleaned up [ 31.309405][ T506] EXT4-fs (loop1): 1 truncate cleaned up [ 31.318317][ T508] EXT4-fs (loop2): 1 truncate cleaned up [pid 510] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 506] <... mount resumed>) = 0 [pid 510] <... openat resumed>) = 3 [pid 506] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 510] chdir("./file2" [pid 506] <... openat resumed>) = 3 [pid 510] <... chdir resumed>) = 0 [pid 506] chdir("./file2" [pid 510] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 506] <... chdir resumed>) = 0 [pid 510] <... openat resumed>) = 4 [pid 506] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 510] ioctl(4, LOOP_CLR_FD [pid 506] <... openat resumed>) = 4 [pid 510] <... ioctl resumed>) = 0 [pid 506] ioctl(4, LOOP_CLR_FD [pid 510] close(4 [pid 506] <... ioctl resumed>) = 0 [pid 510] <... close resumed>) = 0 [pid 506] close(4 [pid 510] exit_group(0 [pid 507] <... mount resumed>) = 0 [pid 506] <... close resumed>) = 0 [pid 510] <... exit_group resumed>) = ? [pid 506] exit_group(0 [pid 510] +++ exited with 0 +++ [pid 507] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 506] <... exit_group resumed>) = ? [pid 507] <... openat resumed>) = 3 [pid 506] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=510, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 509] <... mount resumed>) = 0 [pid 507] chdir("./file2" [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=506, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 507] <... chdir resumed>) = 0 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 508] <... mount resumed>) = 0 [pid 507] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 508] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 507] <... openat resumed>) = 4 [pid 508] <... openat resumed>) = 3 [pid 507] ioctl(4, LOOP_CLR_FD [pid 508] chdir("./file2" [pid 507] <... ioctl resumed>) = 0 [pid 508] <... chdir resumed>) = 0 [pid 507] close(4 [pid 307] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 508] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 507] <... close resumed>) = 0 [pid 508] <... openat resumed>) = 4 [pid 507] exit_group(0 [pid 508] ioctl(4, LOOP_CLR_FD [pid 507] <... exit_group resumed>) = ? [pid 307] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 508] <... ioctl resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 508] close(4 [pid 507] +++ exited with 0 +++ [pid 307] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 509] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 508] <... close resumed>) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=507, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 508] exit_group(0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] fstat(3 [pid 306] fstat(3 [pid 508] <... exit_group resumed>) = ? [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 508] +++ exited with 0 +++ [pid 307] getdents64(3 [pid 306] getdents64(3 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=508, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./20/binderfs" [pid 306] newfstatat(AT_FDCWD, "./19/binderfs" [pid 509] <... openat resumed>) = 3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 509] chdir("./file2" [pid 307] unlink("./20/binderfs" [pid 306] unlink("./19/binderfs" [pid 509] <... chdir resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 509] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 509] <... openat resumed>) = 4 [pid 509] ioctl(4, LOOP_CLR_FD) = 0 [pid 509] close(4) = 0 [pid 509] exit_group(0) = ? [pid 509] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=509, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... restart_syscall resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./20/file2" [pid 310] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... openat resumed>) = 3 [pid 309] fstat(3 [pid 310] fstat(3 [pid 308] <... openat resumed>) = 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3 [pid 308] fstat(3 [pid 310] getdents64(3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] openat(AT_FDCWD, "./20/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = 0 [pid 310] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] getdents64(3 [pid 307] <... openat resumed>) = 4 [pid 306] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] fstat(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./18/binderfs" [pid 309] newfstatat(AT_FDCWD, "./19/binderfs" [pid 308] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] newfstatat(AT_FDCWD, "./19/file2" [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] getdents64(4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./18/binderfs" [pid 309] unlink("./19/binderfs" [pid 308] newfstatat(AT_FDCWD, "./18/binderfs" [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... unlink resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] getdents64(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] unlink("./18/binderfs" [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] openat(AT_FDCWD, "./19/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... unlink resumed>) = 0 [pid 307] close(4 [pid 306] <... openat resumed>) = 4 [pid 308] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 [pid 306] fstat(4 [pid 307] rmdir("./20/file2" [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... rmdir resumed>) = 0 [ 31.325456][ T509] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 31.341183][ T509] EXT4-fs (loop4): 1 truncate cleaned up [pid 307] getdents64(3 [pid 306] getdents64(4 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] close(3 [pid 306] getdents64(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] newfstatat(AT_FDCWD, "./18/file2" [pid 307] rmdir("./20" [pid 306] close(4 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 308] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] mkdir("./21", 0777 [pid 306] rmdir("./19/file2" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... mkdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "./18/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] getdents64(3 [pid 308] <... openat resumed>) = 4 [pid 307] <... openat resumed>) = 3 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] fstat(4 [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] close(3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... close resumed>) = 0 [pid 308] getdents64(4 [pid 307] close(3 [pid 306] rmdir("./19" [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] <... close resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 308] getdents64(4 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] mkdir("./20", 0777 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 308] close(4 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 308] rmdir("./18/file2" [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 516 [pid 306] ioctl(3, LOOP_CLR_FD [pid 308] <... rmdir resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] getdents64(3 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] close(3 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... close resumed>) = 0 [pid 308] close(3 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... close resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] rmdir("./18" [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... umount2 resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 308] mkdir("./19", 0777 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 517 [pid 308] <... mkdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... umount2 resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 3 [pid 308] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] close(3) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 518 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 516 attached [pid 516] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 516] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 516] chdir("./21") = 0 [pid 516] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 516] setpgid(0, 0) = 0 [pid 516] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ci2-android-6-1/strace-static-x86_64: Process 518 attached [pid 518] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 518] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 518] chdir("./19") = 0 [pid 518] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 518] setpgid(0, 0) = 0 [pid 518] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 518] write(3, "1000", 4) = 4 [pid 518] close(3) = 0 [pid 518] symlink("/dev/binderfs", "./binderfs") = 0 [pid 516] write(3, "1000", 4) = 4 [pid 310] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 516] close(3) = 0 [pid 516] symlink("/dev/binderfs", "./binderfs") = 0 [pid 518] write(1, "executing program\n", 18) = 18 [pid 518] memfd_create("syzkaller", 0) = 3 [pid 516] write(1, "executing program\n", 18) = 18 [pid 518] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 516] memfd_create("syzkaller", 0 [pid 518] <... mmap resumed>) = 0x7f90a3563000 [pid 516] <... memfd_create resumed>) = 3 [pid 518] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 516] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./19/file2" [pid 310] newfstatat(AT_FDCWD, "./18/file2" [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./18/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./19/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] openat(AT_FDCWD, "./18/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 4 [pid 310] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 310] fstat(4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 310] getdents64(4 [pid 516] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4 [pid 309] getdents64(4 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] close(4 [pid 309] close(4 [pid 310] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 310] rmdir("./18/file2" [pid 309] rmdir("./19/file2" [pid 310] <... rmdir resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 310] getdents64(3 [pid 309] getdents64(3 [pid 518] <... write resumed>) = 262144 [pid 516] <... write resumed>) = 262144 [pid 518] munmap(0x7f90a3563000, 138412032 [pid 516] munmap(0x7f90a3563000, 138412032 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] close(3 [pid 309] close(3 [pid 518] <... munmap resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 310] rmdir("./18" [pid 516] <... munmap resumed>) = 0 [pid 516] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 518] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 516] <... openat resumed>) = 4 [pid 518] <... openat resumed>) = 4 [pid 516] ioctl(4, LOOP_SET_FD, 3 [pid 309] rmdir("./19" [pid 518] ioctl(4, LOOP_SET_FD, 3 [pid 516] <... ioctl resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 518] <... ioctl resumed>) = 0 [pid 310] mkdir("./19", 0777 [pid 309] <... rmdir resumed>) = 0 [pid 518] close(3 [pid 516] close(3 [pid 518] <... close resumed>) = 0 [pid 516] <... close resumed>) = 0 [pid 518] close(4 [pid 310] <... mkdir resumed>) = 0 [pid 309] mkdir("./20", 0777 [pid 516] close(4 [pid 518] <... close resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... mkdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] <... openat resumed>) = 3 [pid 310] close(3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 310] <... close resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] close(3 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... close resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 518] mkdir("./file2", 0777 [pid 516] <... close resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 516] mkdir("./file2", 0777 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 519 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 516] <... mkdir resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 520 executing program executing program [pid 518] <... mkdir resumed>) = 0 [pid 516] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 518] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 520 attached ci2-android-6-1/strace-static-x86_64: Process 517 attached [pid 520] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 517] set_robust_list(0x5555737ed6a0, 24 [pid 520] rt_sigprocmask(SIG_SETMASK, [] [pid 517] <... set_robust_list resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 519 attached [pid 519] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 519] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 519] chdir("./19") = 0 [pid 519] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 519] setpgid(0, 0) = 0 [pid 519] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 519] write(3, "1000", 4) = 4 [pid 519] close(3) = 0 [pid 519] symlink("/dev/binderfs", "./binderfs") = 0 [pid 519] write(1, "executing program\n", 18) = 18 [pid 519] memfd_create("syzkaller", 0) = 3 [pid 519] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 executing program [pid 519] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 520] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 519] munmap(0x7f90a3563000, 138412032 [pid 517] rt_sigprocmask(SIG_SETMASK, [] [pid 520] chdir("./20" [pid 517] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 519] <... munmap resumed>) = 0 [pid 519] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 519] ioctl(4, LOOP_SET_FD, 3 [pid 520] <... chdir resumed>) = 0 [pid 519] <... ioctl resumed>) = 0 [pid 519] close(3) = 0 [pid 517] chdir("./20" [pid 520] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 519] close(4 [pid 520] <... prctl resumed>) = 0 [pid 517] <... chdir resumed>) = 0 [pid 519] <... close resumed>) = 0 [pid 520] setpgid(0, 0 [pid 517] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 519] mkdir("./file2", 0777 [pid 520] <... setpgid resumed>) = 0 [pid 517] <... prctl resumed>) = 0 [pid 520] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 517] setpgid(0, 0 [pid 519] <... mkdir resumed>) = 0 [pid 519] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 517] <... setpgid resumed>) = 0 [pid 520] <... openat resumed>) = 3 [pid 520] write(3, "1000", 4 [pid 517] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 520] <... write resumed>) = 4 [pid 517] <... openat resumed>) = 3 [pid 520] close(3 [pid 517] write(3, "1000", 4 [pid 520] <... close resumed>) = 0 [pid 517] <... write resumed>) = 4 [pid 520] symlink("/dev/binderfs", "./binderfs") = 0 [pid 517] close(3) = 0 [ 31.408853][ T516] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 31.419378][ T518] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 31.442227][ T519] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [pid 520] write(1, "executing program\n", 18 [pid 517] symlink("/dev/binderfs", "./binderfs" [pid 520] <... write resumed>) = 18 [pid 517] <... symlink resumed>) = 0 [pid 520] memfd_create("syzkaller", 0 [pid 517] write(1, "executing program\n", 18) = 18 [pid 520] <... memfd_create resumed>) = 3 executing program executing program [pid 517] memfd_create("syzkaller", 0 [pid 520] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 517] <... memfd_create resumed>) = 3 [pid 520] <... mmap resumed>) = 0x7f90a3563000 [pid 517] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 520] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 517] <... mmap resumed>) = 0x7f90a3563000 [pid 520] <... write resumed>) = 262144 [pid 517] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 520] munmap(0x7f90a3563000, 138412032 [pid 517] <... write resumed>) = 262144 [pid 520] <... munmap resumed>) = 0 [pid 517] munmap(0x7f90a3563000, 138412032) = 0 [pid 520] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 517] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 520] ioctl(4, LOOP_SET_FD, 3 [pid 517] ioctl(4, LOOP_SET_FD, 3 [pid 520] <... ioctl resumed>) = 0 [pid 517] <... ioctl resumed>) = 0 [pid 520] close(3 [pid 517] close(3 [pid 520] <... close resumed>) = 0 [pid 517] <... close resumed>) = 0 [pid 520] close(4 [pid 517] close(4 [pid 520] <... close resumed>) = 0 [pid 517] <... close resumed>) = 0 [pid 520] mkdir("./file2", 0777 [pid 517] mkdir("./file2", 0777) = 0 [pid 520] <... mkdir resumed>) = 0 [pid 517] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 520] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 516] <... mount resumed>) = 0 [pid 516] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 517] <... mount resumed>) = 0 [pid 516] <... openat resumed>) = 3 [pid 517] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [ 31.455628][ T516] EXT4-fs (loop1): 1 truncate cleaned up [ 31.475638][ T517] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 31.489907][ T517] EXT4-fs (loop0): 1 truncate cleaned up [ 31.491021][ T519] EXT4-fs (loop4): 1 truncate cleaned up [ 31.502873][ T518] EXT4-fs (loop2): 1 truncate cleaned up [pid 516] chdir("./file2" [pid 517] <... openat resumed>) = 3 [pid 518] <... mount resumed>) = 0 [pid 518] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 518] chdir("./file2") = 0 [pid 518] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 518] ioctl(4, LOOP_CLR_FD [pid 516] <... chdir resumed>) = 0 [pid 517] chdir("./file2" [pid 518] <... ioctl resumed>) = 0 [pid 518] close(4) = 0 [pid 518] exit_group(0) = ? [pid 518] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=518, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 519] <... mount resumed>) = 0 [pid 519] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 519] chdir("./file2") = 0 [pid 519] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 519] ioctl(4, LOOP_CLR_FD) = 0 [pid 519] close(4) = 0 [pid 519] exit_group(0) = ? [pid 519] +++ exited with 0 +++ [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 517] <... chdir resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=519, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] <... openat resumed>) = 3 [pid 516] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 517] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] getdents64(3 [pid 517] <... openat resumed>) = 4 [pid 516] <... openat resumed>) = 4 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 517] ioctl(4, LOOP_CLR_FD [pid 516] ioctl(4, LOOP_CLR_FD [pid 308] newfstatat(AT_FDCWD, "./19/binderfs" [pid 517] <... ioctl resumed>) = 0 [pid 516] <... ioctl resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 517] close(4 [pid 516] close(4 [pid 308] unlink("./19/binderfs" [pid 517] <... close resumed>) = 0 [pid 516] <... close resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 517] exit_group(0 [pid 516] exit_group(0 [pid 308] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 520] <... mount resumed>) = 0 [pid 517] <... exit_group resumed>) = ? [pid 516] <... exit_group resumed>) = ? [pid 310] <... restart_syscall resumed>) = 0 [pid 517] +++ exited with 0 +++ [pid 516] +++ exited with 0 +++ [pid 520] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=516, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=517, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] fstat(3 [pid 308] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] getdents64(3 [pid 308] newfstatat(AT_FDCWD, "./19/file2" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... openat resumed>) = 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] fstat(3 [pid 306] <... openat resumed>) = 3 [pid 310] newfstatat(AT_FDCWD, "./19/binderfs" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] openat(AT_FDCWD, "./19/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] unlink("./19/binderfs" [pid 307] getdents64(3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... unlink resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 310] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] fstat(4 [pid 306] getdents64(3 [pid 520] <... openat resumed>) = 3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] getdents64(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] newfstatat(AT_FDCWD, "./21/binderfs" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(4 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./20/binderfs" [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] unlink("./21/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 308] close(4 [pid 307] <... unlink resumed>) = 0 [pid 306] unlink("./20/binderfs" [pid 308] <... close resumed>) = 0 [pid 307] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... unlink resumed>) = 0 [pid 310] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] rmdir("./19/file2" [pid 306] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rmdir resumed>) = 0 [pid 520] chdir("./file2" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./19/file2" [pid 307] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./19/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] getdents64(3 [pid 307] newfstatat(AT_FDCWD, "./21/file2" [pid 306] <... umount2 resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 520] <... chdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "./19/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 520] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] <... openat resumed>) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 520] <... openat resumed>) = 4 [pid 310] fstat(4 [pid 307] openat(AT_FDCWD, "./21/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... openat resumed>) = 4 [pid 310] getdents64(4 [pid 308] close(3 [pid 307] fstat(4 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] <... close resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(4 [pid 308] rmdir("./19" [pid 307] getdents64(4 [pid 520] ioctl(4, LOOP_CLR_FD [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 520] <... ioctl resumed>) = 0 [pid 310] close(4 [pid 308] <... rmdir resumed>) = 0 [pid 307] getdents64(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 520] close(4 [pid 310] <... close resumed>) = 0 [pid 308] mkdir("./20", 0777 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 520] <... close resumed>) = 0 [pid 310] rmdir("./19/file2" [pid 307] close(4 [pid 520] exit_group(0 [pid 310] <... rmdir resumed>) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./20/file2" [pid 520] <... exit_group resumed>) = ? [pid 310] getdents64(3 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] rmdir("./21/file2" [pid 520] +++ exited with 0 +++ [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] <... openat resumed>) = 3 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] close(3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=520, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] getdents64(3 [pid 310] <... close resumed>) = 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rmdir("./19" [pid 308] close(3 [pid 307] close(3 [pid 310] <... rmdir resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] mkdir("./20", 0777 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] rmdir("./21" [pid 306] openat(AT_FDCWD, "./20/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... mkdir resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] mkdir("./22", 0777 [pid 306] <... openat resumed>) = 4 [pid 310] <... openat resumed>) = 3 [pid 309] <... restart_syscall resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 306] fstat(4 [pid 310] ioctl(3, LOOP_CLR_FD [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 526 [pid 307] <... openat resumed>) = 3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] close(3 [pid 309] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] getdents64(4 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] close(3 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... openat resumed>) = 3 [pid 307] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] fstat(3 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] getdents64(4 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 527 [pid 309] getdents64(3 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 527 attached ci2-android-6-1/strace-static-x86_64: Process 526 attached [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 ci2-android-6-1/strace-static-x86_64: Process 528 attached [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 527] set_robust_list(0x5555737ed6a0, 24 [pid 306] close(4 [pid 528] set_robust_list(0x5555737ed6a0, 24 [pid 526] set_robust_list(0x5555737ed6a0, 24 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 528 [pid 528] <... set_robust_list resumed>) = 0 [pid 527] <... set_robust_list resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./20/binderfs" [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... close resumed>) = 0 [pid 528] rt_sigprocmask(SIG_SETMASK, [] [pid 527] rt_sigprocmask(SIG_SETMASK, [] [pid 526] <... set_robust_list resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] rmdir("./20/file2" [pid 528] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 527] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] unlink("./20/binderfs" [pid 528] chdir("./22" [pid 527] chdir("./20" [pid 526] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... unlink resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 528] <... chdir resumed>) = 0 [pid 527] <... chdir resumed>) = 0 [pid 309] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(3 [pid 527] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 526] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 527] <... prctl resumed>) = 0 [pid 526] chdir("./20" [pid 306] close(3 [pid 527] setpgid(0, 0 [pid 526] <... chdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 528] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 527] <... setpgid resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 528] <... prctl resumed>) = 0 [pid 309] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 528] setpgid(0, 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 528] <... setpgid resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./20/file2" [pid 528] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 528] <... openat resumed>) = 3 [pid 309] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 528] write(3, "1000", 4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 528] <... write resumed>) = 4 [pid 309] openat(AT_FDCWD, "./20/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 528] close(3 [pid 309] <... openat resumed>) = 4 [pid 528] <... close resumed>) = 0 [pid 309] fstat(4 [pid 528] symlink("/dev/binderfs", "./binderfs" [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 528] <... symlink resumed>) = 0 [pid 309] getdents64(4 [pid 528] write(1, "executing program\n", 18 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 528] <... write resumed>) = 18 [pid 309] getdents64(4 [pid 528] memfd_create("syzkaller", 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 528] <... memfd_create resumed>) = 3 [pid 309] close(4 [pid 528] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... close resumed>) = 0 [pid 528] <... mmap resumed>) = 0x7f90a3563000 executing program [pid 309] rmdir("./20/file2" [pid 306] rmdir("./20" [pid 528] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 527] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... rmdir resumed>) = 0 [pid 527] <... openat resumed>) = 3 [ 31.510276][ T520] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 31.531794][ T520] EXT4-fs (loop3): 1 truncate cleaned up [pid 309] getdents64(3 [pid 306] <... rmdir resumed>) = 0 [pid 527] write(3, "1000", 4 [pid 526] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] mkdir("./21", 0777 [pid 528] <... write resumed>) = 262144 [pid 527] <... write resumed>) = 4 [pid 526] <... prctl resumed>) = 0 [pid 309] close(3 [pid 528] munmap(0x7f90a3563000, 138412032 [pid 527] close(3 [pid 526] setpgid(0, 0 [pid 309] <... close resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 528] <... munmap resumed>) = 0 [pid 527] <... close resumed>) = 0 [pid 526] <... setpgid resumed>) = 0 [pid 309] rmdir("./20" [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 527] symlink("/dev/binderfs", "./binderfs" [pid 526] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] <... openat resumed>) = 3 [pid 528] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 527] <... symlink resumed>) = 0 [pid 526] <... openat resumed>) = 3 [pid 309] <... rmdir resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 528] <... openat resumed>) = 4 [pid 527] write(1, "executing program\n", 18 executing program [pid 526] write(3, "1000", 4 [pid 309] mkdir("./21", 0777 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 527] <... write resumed>) = 18 [pid 526] <... write resumed>) = 4 [pid 306] close(3 [pid 527] memfd_create("syzkaller", 0 [pid 526] close(3 [pid 306] <... close resumed>) = 0 [pid 528] ioctl(4, LOOP_SET_FD, 3 [pid 527] <... memfd_create resumed>) = 3 [pid 526] <... close resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 527] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 526] symlink("/dev/binderfs", "./binderfs" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 528] <... ioctl resumed>) = 0 [pid 527] <... mmap resumed>) = 0x7f90a3563000 [pid 309] <... openat resumed>) = 3 [pid 528] close(3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 528] <... close resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 528] close(4 [pid 309] close(3 [pid 528] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 528] mkdir("./file2", 0777 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 528] <... mkdir resumed>) = 0 [pid 527] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 528] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 527] <... write resumed>) = 262144 [pid 526] <... symlink resumed>) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 529 [pid 527] munmap(0x7f90a3563000, 138412032 executing program [pid 526] write(1, "executing program\n", 18 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 530 [pid 527] <... munmap resumed>) = 0 [pid 526] <... write resumed>) = 18 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 527] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 526] memfd_create("syzkaller", 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 527] <... openat resumed>) = 4 [pid 526] <... memfd_create resumed>) = 3 [pid 527] ioctl(4, LOOP_SET_FD, 3 [pid 526] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 527] <... ioctl resumed>) = 0 [pid 526] <... mmap resumed>) = 0x7f90a3563000 ci2-android-6-1/strace-static-x86_64: Process 529 attached [pid 529] set_robust_list(0x5555737ed6a0, 24ci2-android-6-1/strace-static-x86_64: Process 530 attached ) = 0 [pid 529] rt_sigprocmask(SIG_SETMASK, [] [pid 530] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 530] rt_sigprocmask(SIG_SETMASK, [] [pid 529] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 529] chdir("./21" [pid 530] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 527] close(3 [pid 526] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 530] chdir("./21" [pid 527] <... close resumed>) = 0 [pid 529] <... chdir resumed>) = 0 [pid 529] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 529] setpgid(0, 0 [pid 530] <... chdir resumed>) = 0 [pid 529] <... setpgid resumed>) = 0 [pid 529] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 530] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 530] setpgid(0, 0) = 0 [pid 530] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 527] close(4 [pid 526] <... write resumed>) = 262144 [pid 527] <... close resumed>) = 0 [pid 529] <... openat resumed>) = 3 [pid 530] <... openat resumed>) = 3 [pid 527] mkdir("./file2", 0777 [pid 529] write(3, "1000", 4 [pid 530] write(3, "1000", 4 [pid 529] <... write resumed>) = 4 [pid 530] <... write resumed>) = 4 [pid 529] close(3 [pid 530] close(3 [pid 529] <... close resumed>) = 0 [pid 527] <... mkdir resumed>) = 0 [pid 530] <... close resumed>) = 0 [pid 529] symlink("/dev/binderfs", "./binderfs" [pid 527] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 526] munmap(0x7f90a3563000, 138412032 [pid 530] symlink("/dev/binderfs", "./binderfs" [pid 529] <... symlink resumed>) = 0 [pid 526] <... munmap resumed>) = 0 [pid 530] <... symlink resumed>) = 0 [pid 529] write(1, "executing program\n", 18 executing program [pid 526] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 530] write(1, "executing program\n", 18 [pid 529] <... write resumed>) = 18 [pid 526] <... openat resumed>) = 4 [pid 530] <... write resumed>) = 18 [pid 529] memfd_create("syzkaller", 0 [pid 530] memfd_create("syzkaller", 0 [pid 529] <... memfd_create resumed>) = 3 [pid 526] ioctl(4, LOOP_SET_FD, 3 [pid 530] <... memfd_create resumed>) = 3 [pid 529] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 530] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 529] <... mmap resumed>) = 0x7f90a3563000 [pid 530] <... mmap resumed>) = 0x7f90a3563000 [pid 530] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 529] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 530] <... write resumed>) = 262144 [pid 529] <... write resumed>) = 262144 [pid 529] munmap(0x7f90a3563000, 138412032) = 0 [pid 529] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 526] <... ioctl resumed>) = 0 [pid 529] <... openat resumed>) = 4 [pid 529] ioctl(4, LOOP_SET_FD, 3 [pid 526] close(3) = 0 [pid 526] close(4) = 0 [pid 526] mkdir("./file2", 0777) = 0 executing program [pid 526] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 529] <... ioctl resumed>) = 0 [pid 529] close(3) = 0 [pid 529] close(4) = 0 [pid 529] mkdir("./file2", 0777) = 0 [ 31.598655][ T528] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 31.619086][ T527] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 31.636830][ T526] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [pid 529] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 530] munmap(0x7f90a3563000, 138412032) = 0 [pid 530] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 530] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 530] close(3) = 0 [pid 530] close(4) = 0 [pid 530] mkdir("./file2", 0777) = 0 [ 31.649217][ T529] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 31.668595][ T530] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 31.684491][ T528] EXT4-fs (loop1): 1 truncate cleaned up [ 31.686667][ T529] EXT4-fs (loop0): 1 truncate cleaned up [pid 530] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 528] <... mount resumed>) = 0 [pid 529] <... mount resumed>) = 0 [pid 529] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 529] chdir("./file2") = 0 [pid 529] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 529] ioctl(4, LOOP_CLR_FD) = 0 [pid 529] close(4) = 0 [pid 529] exit_group(0) = ? [pid 529] +++ exited with 0 +++ [pid 527] <... mount resumed>) = 0 [pid 526] <... mount resumed>) = 0 [pid 526] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 526] chdir("./file2") = 0 [pid 526] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 527] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 526] ioctl(4, LOOP_CLR_FD [pid 527] <... openat resumed>) = 3 [pid 526] <... ioctl resumed>) = 0 [pid 526] close(4) = 0 [pid 527] chdir("./file2") = 0 [pid 528] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=529, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 526] exit_group(0 [pid 527] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 528] <... openat resumed>) = 3 [pid 526] <... exit_group resumed>) = ? [pid 527] ioctl(4, LOOP_CLR_FD [pid 530] <... mount resumed>) = 0 [pid 528] chdir("./file2" [pid 527] <... ioctl resumed>) = 0 [pid 526] +++ exited with 0 +++ [pid 530] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 530] chdir("./file2") = 0 [pid 530] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 528] <... chdir resumed>) = 0 [pid 527] close(4 [pid 306] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 530] <... openat resumed>) = 4 [pid 528] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=526, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 530] ioctl(4, LOOP_CLR_FD [pid 528] <... openat resumed>) = 4 [pid 527] <... close resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 528] ioctl(4, LOOP_CLR_FD [pid 306] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 528] <... ioctl resumed>) = 0 [pid 530] <... ioctl resumed>) = 0 [pid 528] close(4 [pid 527] exit_group(0 [pid 306] <... openat resumed>) = 3 [pid 530] close(4 [pid 528] <... close resumed>) = 0 [pid 306] fstat(3 [pid 530] <... close resumed>) = 0 [pid 528] exit_group(0 [pid 527] <... exit_group resumed>) = ? [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 530] exit_group(0 [pid 528] <... exit_group resumed>) = ? [pid 306] getdents64(3 [pid 530] <... exit_group resumed>) = ? [pid 527] +++ exited with 0 +++ [pid 530] +++ exited with 0 +++ [pid 528] +++ exited with 0 +++ [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=527, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=530, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=528, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./21/binderfs") = 0 [pid 306] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 306] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./21/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./21/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./21/file2" [pid 308] <... restart_syscall resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 306] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] close(3 [pid 308] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] rmdir("./21" [pid 308] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... rmdir resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 306] mkdir("./22", 0777 [pid 308] fstat(3 [pid 306] <... mkdir resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] getdents64(3 [pid 306] <... openat resumed>) = 3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./20/binderfs" [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] unlink("./20/binderfs" [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 536 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... unlink resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 536 attached [pid 536] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 536] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... restart_syscall resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 310] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] fstat(3 [pid 309] fstat(3 [pid 308] <... umount2 resumed>) = 0 [pid 307] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... openat resumed>) = 3 [pid 310] getdents64(3 [pid 309] getdents64(3 [pid 307] fstat(3 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] newfstatat(AT_FDCWD, "./20/binderfs" [pid 309] newfstatat(AT_FDCWD, "./21/binderfs" [pid 307] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] unlink("./20/binderfs" [pid 309] unlink("./21/binderfs" [pid 307] newfstatat(AT_FDCWD, "./22/binderfs" [pid 310] <... unlink resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 308] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] unlink("./22/binderfs") = 0 [pid 307] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 536] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 536] chdir("./22") = 0 [pid 536] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 536] setpgid(0, 0) = 0 [pid 536] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 536] write(3, "1000", 4) = 4 [pid 536] close(3) = 0 [pid 536] symlink("/dev/binderfs", "./binderfs") = 0 [ 31.697281][ T526] EXT4-fs (loop2): 1 truncate cleaned up [ 31.703324][ T527] EXT4-fs (loop4): 1 truncate cleaned up [ 31.706160][ T530] EXT4-fs (loop3): 1 truncate cleaned up [pid 536] write(1, "executing program\n", 18) = 18 [pid 310] <... umount2 resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = 0 [pid 536] memfd_create("syzkaller", 0) = 3 [pid 536] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 310] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./20/file2" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./20/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] newfstatat(AT_FDCWD, "./21/file2" [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] newfstatat(AT_FDCWD, "./22/file2" [pid 310] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./20/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./20/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] fstat(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./20/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./22/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] openat(AT_FDCWD, "./21/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 4 [pid 310] getdents64(4 [pid 307] <... openat resumed>) = 4 [pid 309] <... openat resumed>) = 4 [pid 308] fstat(4 [pid 536] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] fstat(4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] fstat(4 [pid 310] getdents64(4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] getdents64(4 [pid 310] close(4 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] <... close resumed>) = 0 [pid 309] getdents64(4 [pid 308] getdents64(4 [pid 310] rmdir("./20/file2" [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 536] <... write resumed>) = 262144 [pid 310] <... rmdir resumed>) = 0 [pid 309] close(4 [pid 308] close(4 [pid 307] getdents64(4 [pid 536] munmap(0x7f90a3563000, 138412032 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 310] getdents64(3 [pid 309] rmdir("./21/file2" [pid 308] rmdir("./20/file2" [pid 307] close(4 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 536] <... munmap resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 536] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 536] ioctl(4, LOOP_SET_FD, 3 [pid 310] close(3 [pid 309] getdents64(3 [pid 308] <... rmdir resumed>) = 0 [pid 307] rmdir("./22/file2" [pid 310] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] getdents64(3 [pid 536] <... ioctl resumed>) = 0 [pid 536] close(3) = 0 [pid 536] close(4 [pid 307] <... rmdir resumed>) = 0 [pid 307] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] rmdir("./20" [pid 309] close(3 [pid 308] close(3 [pid 307] close(3 [pid 536] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 536] mkdir("./file2", 0777 [pid 308] <... close resumed>) = 0 [pid 307] rmdir("./22" [pid 309] <... close resumed>) = 0 [pid 536] <... mkdir resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 308] rmdir("./20" [pid 307] <... rmdir resumed>) = 0 [pid 309] rmdir("./21" [pid 310] mkdir("./21", 0777 [pid 536] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 308] <... rmdir resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] mkdir("./21", 0777 [pid 307] mkdir("./23", 0777 executing program [pid 309] mkdir("./22", 0777 [pid 310] <... mkdir resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 310] close(3 [pid 308] close(3 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] close(3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... close resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 539 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 538 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 540 [pid 308] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 538 attached [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 541 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 538] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 538] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 538] chdir("./21" [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 538] <... chdir resumed>) = 0 [pid 538] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 538] setpgid(0, 0) = 0 [pid 538] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECci2-android-6-1/strace-static-x86_64: Process 540 attached ) = 3 [pid 540] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 540] rt_sigprocmask(SIG_SETMASK, [] [pid 538] write(3, "1000", 4) = 4 [pid 538] close(3 [pid 540] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 538] <... close resumed>) = 0 [pid 540] chdir("./22"ci2-android-6-1/strace-static-x86_64: Process 541 attached [pid 538] symlink("/dev/binderfs", "./binderfs") = 0 [pid 541] set_robust_list(0x5555737ed6a0, 24 [pid 540] <... chdir resumed>) = 0 [pid 541] <... set_robust_list resumed>) = 0 [pid 541] rt_sigprocmask(SIG_SETMASK, [] [pid 540] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 540] setpgid(0, 0) = 0 [pid 540] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECci2-android-6-1/strace-static-x86_64: Process 539 attached [pid 536] <... mount resumed>) = 0 [pid 541] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 541] chdir("./23") = 0 [pid 539] set_robust_list(0x5555737ed6a0, 24 [pid 536] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 541] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 541] setpgid(0, 0) = 0 [pid 541] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 539] <... set_robust_list resumed>) = 0 [pid 541] <... openat resumed>) = 3 [pid 540] <... openat resumed>) = 3 [pid 539] rt_sigprocmask(SIG_SETMASK, [] [pid 536] <... openat resumed>) = 3 [pid 540] write(3, "1000", 4 [pid 538] write(1, "executing program\n", 18 [pid 539] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 536] chdir("./file2" [pid 541] write(3, "1000", 4 [pid 538] <... write resumed>) = 18 executing program [pid 540] <... write resumed>) = 4 [pid 541] <... write resumed>) = 4 [pid 538] memfd_create("syzkaller", 0 [pid 540] close(3 [pid 541] close(3 [pid 540] <... close resumed>) = 0 [pid 541] <... close resumed>) = 0 [pid 539] chdir("./21" [pid 540] symlink("/dev/binderfs", "./binderfs" [pid 541] symlink("/dev/binderfs", "./binderfs" [pid 539] <... chdir resumed>) = 0 [pid 536] <... chdir resumed>) = 0 [pid 539] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 536] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 539] <... prctl resumed>) = 0 [pid 538] <... memfd_create resumed>) = 3 [pid 539] setpgid(0, 0 [pid 536] <... openat resumed>) = 4 [pid 538] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 539] <... setpgid resumed>) = 0 [pid 541] <... symlink resumed>) = 0 [pid 539] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 536] ioctl(4, LOOP_CLR_FD [pid 540] <... symlink resumed>) = 0 [pid 540] write(1, "executing program\n", 18 executing program [pid 541] write(1, "executing program\n", 18 [pid 540] <... write resumed>) = 18 [pid 541] <... write resumed>) = 18 executing program [pid 540] memfd_create("syzkaller", 0 [pid 539] <... openat resumed>) = 3 [pid 541] memfd_create("syzkaller", 0) = 3 [pid 539] write(3, "1000", 4 [pid 536] <... ioctl resumed>) = 0 [pid 539] <... write resumed>) = 4 [pid 536] close(4 [pid 541] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 539] close(3 [pid 536] <... close resumed>) = 0 [pid 540] <... memfd_create resumed>) = 3 [pid 539] <... close resumed>) = 0 [pid 536] exit_group(0 [pid 539] symlink("/dev/binderfs", "./binderfs") = 0 [pid 536] <... exit_group resumed>) = ? [pid 540] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 539] write(1, "executing program\n", 18 [pid 538] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 536] +++ exited with 0 +++ executing program [pid 539] <... write resumed>) = 18 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=536, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 540] <... mmap resumed>) = 0x7f90a3563000 [pid 539] memfd_create("syzkaller", 0) = 3 [pid 539] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 540] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 539] <... mmap resumed>) = 0x7f90a3563000 [pid 541] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 539] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 541] <... write resumed>) = 262144 [pid 541] munmap(0x7f90a3563000, 138412032) = 0 [pid 541] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 541] ioctl(4, LOOP_SET_FD, 3 [pid 540] <... write resumed>) = 262144 [pid 539] munmap(0x7f90a3563000, 138412032 [pid 538] <... write resumed>) = 262144 [pid 540] munmap(0x7f90a3563000, 138412032 [pid 539] <... munmap resumed>) = 0 [pid 538] munmap(0x7f90a3563000, 138412032 [pid 541] <... ioctl resumed>) = 0 [pid 540] <... munmap resumed>) = 0 [pid 539] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 538] <... munmap resumed>) = 0 [pid 541] close(3 [pid 540] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 539] <... openat resumed>) = 4 [pid 538] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 541] <... close resumed>) = 0 [pid 540] <... openat resumed>) = 4 [pid 539] ioctl(4, LOOP_SET_FD, 3 [pid 538] <... openat resumed>) = 4 [pid 541] close(4 [pid 540] ioctl(4, LOOP_SET_FD, 3 [pid 539] <... ioctl resumed>) = 0 [pid 538] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... restart_syscall resumed>) = 0 [pid 539] close(3 [pid 538] <... ioctl resumed>) = 0 [pid 539] <... close resumed>) = 0 [pid 539] close(4 [pid 306] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 539] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 539] mkdir("./file2", 0777 [pid 538] close(3 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 540] <... ioctl resumed>) = 0 [pid 306] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./22/binderfs") = 0 [pid 306] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 540] close(3 [pid 539] <... mkdir resumed>) = 0 [pid 538] <... close resumed>) = 0 [pid 541] <... close resumed>) = 0 [pid 540] <... close resumed>) = 0 [pid 539] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 538] close(4 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 31.761741][ T536] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 31.777740][ T536] EXT4-fs (loop0): 1 truncate cleaned up [pid 306] newfstatat(AT_FDCWD, "./22/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./22/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4 [pid 540] close(4 [pid 538] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./22/file2") = 0 [pid 306] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./22") = 0 [pid 306] mkdir("./23", 0777) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 541] mkdir("./file2", 0777 [pid 540] <... close resumed>) = 0 [pid 538] mkdir("./file2", 0777 [pid 541] <... mkdir resumed>) = 0 [pid 540] mkdir("./file2", 0777 [pid 538] <... mkdir resumed>) = 0 [pid 541] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 540] <... mkdir resumed>) = 0 [pid 538] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 542 [pid 540] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"...ci2-android-6-1/strace-static-x86_64: Process 542 attached [pid 542] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 542] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 542] chdir("./23") = 0 [pid 542] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 542] setpgid(0, 0) = 0 [pid 542] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 542] write(3, "1000", 4 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 542] <... write resumed>) = 4 [pid 542] close(3) = 0 [pid 542] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 542] write(1, "executing program\n", 18) = 18 [pid 542] memfd_create("syzkaller", 0) = 3 [pid 542] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 542] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 542] munmap(0x7f90a3563000, 138412032) = 0 [ 31.821409][ T539] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 31.837942][ T541] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 31.848472][ T540] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 31.859341][ T538] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [pid 542] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 541] <... mount resumed>) = 0 [pid 542] <... openat resumed>) = 4 [pid 542] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 542] close(3) = 0 [pid 542] close(4) = 0 [pid 539] <... mount resumed>) = 0 [pid 542] mkdir("./file2", 0777) = 0 [pid 542] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 541] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 539] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 538] <... mount resumed>) = 0 [pid 541] <... openat resumed>) = 3 [pid 541] chdir("./file2") = 0 [pid 539] <... openat resumed>) = 3 [pid 541] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 539] chdir("./file2" [pid 541] ioctl(4, LOOP_CLR_FD [pid 539] <... chdir resumed>) = 0 [pid 541] <... ioctl resumed>) = 0 [pid 539] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 541] close(4) = 0 [pid 541] exit_group(0 [pid 539] <... openat resumed>) = 4 [pid 541] <... exit_group resumed>) = ? [pid 541] +++ exited with 0 +++ [pid 539] ioctl(4, LOOP_CLR_FD [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=541, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 539] <... ioctl resumed>) = 0 [pid 540] <... mount resumed>) = 0 [pid 539] close(4 [pid 538] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 540] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 539] <... close resumed>) = 0 [pid 538] <... openat resumed>) = 3 [pid 307] <... restart_syscall resumed>) = 0 [pid 539] exit_group(0 [pid 538] chdir("./file2" [pid 540] <... openat resumed>) = 3 [pid 307] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./23/binderfs") = 0 [pid 307] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 539] <... exit_group resumed>) = ? [pid 542] <... mount resumed>) = 0 [pid 542] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 542] chdir("./file2") = 0 [pid 542] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 542] ioctl(4, LOOP_CLR_FD) = 0 [pid 542] close(4) = 0 [pid 542] exit_group(0) = ? [pid 542] +++ exited with 0 +++ [pid 539] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=539, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=542, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] <... umount2 resumed>) = 0 [pid 306] fstat(3 [pid 307] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] getdents64(3 [pid 307] newfstatat(AT_FDCWD, "./23/file2" [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] unlink("./23/binderfs") = 0 [pid 307] openat(AT_FDCWD, "./23/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... openat resumed>) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 538] <... chdir resumed>) = 0 [pid 538] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 538] ioctl(4, LOOP_CLR_FD) = 0 [pid 538] close(4) = 0 [pid 538] exit_group(0) = ? [pid 307] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 538] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=538, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 540] chdir("./file2" [pid 307] close(4 [pid 540] <... chdir resumed>) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 310] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 307] rmdir("./23/file2" [pid 310] fstat(3 [pid 308] fstat(3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 308] getdents64(3 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] <... umount2 resumed>) = 0 [pid 310] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rmdir resumed>) = 0 [pid 306] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./21/binderfs" [pid 308] newfstatat(AT_FDCWD, "./21/binderfs" [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./21/binderfs" [pid 308] unlink("./21/binderfs" [pid 310] <... unlink resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 307] getdents64(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./23/file2" [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] close(3 [pid 306] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 540] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 540] <... openat resumed>) = 4 [pid 307] <... close resumed>) = 0 [pid 306] openat(AT_FDCWD, "./23/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 540] ioctl(4, LOOP_CLR_FD [pid 307] rmdir("./23" [pid 306] <... openat resumed>) = 4 [pid 540] <... ioctl resumed>) = 0 [pid 306] fstat(4 [pid 540] close(4) = 0 [pid 540] exit_group(0) = ? [pid 307] <... rmdir resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] mkdir("./24", 0777 [pid 306] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 540] +++ exited with 0 +++ [pid 310] <... umount2 resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 306] getdents64(4 [pid 310] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=540, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] <... umount2 resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] newfstatat(AT_FDCWD, "./21/file2" [pid 308] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./21/file2" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] openat(AT_FDCWD, "./21/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] umount2("./21/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... openat resumed>) = 4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] fstat(4 [pid 308] openat(AT_FDCWD, "./21/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... openat resumed>) = 4 [pid 310] getdents64(4 [pid 308] fstat(4 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4 [pid 308] getdents64(4 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] close(4 [pid 308] getdents64(4 [pid 310] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] rmdir("./21/file2" [pid 308] close(4 [pid 310] <... rmdir resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] rmdir("./21/file2" [pid 310] close(3 [pid 309] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rmdir resumed>) = 0 [pid 310] rmdir("./21" [pid 309] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... rmdir resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 308] getdents64(3 [pid 310] mkdir("./22", 0777 [pid 309] fstat(3 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] close(3 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] getdents64(3 [pid 308] <... close resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] <... openat resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] rmdir("./21" [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rmdir resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] close(4 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] mkdir("./22", 0777 [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] close(3 [pid 309] newfstatat(AT_FDCWD, "./22/binderfs" [pid 308] <... mkdir resumed>) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] close(3 [pid 306] rmdir("./23/file2" [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] unlink("./22/binderfs" [pid 308] <... openat resumed>) = 3 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... unlink resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] <... close resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [ 31.873594][ T541] EXT4-fs (loop1): 1 truncate cleaned up [ 31.880437][ T539] EXT4-fs (loop2): 1 truncate cleaned up [ 31.888868][ T542] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 31.900857][ T538] EXT4-fs (loop4): 1 truncate cleaned up [ 31.906655][ T540] EXT4-fs (loop3): 1 truncate cleaned up [ 31.916042][ T542] EXT4-fs (loop0): 1 truncate cleaned up [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... rmdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 548 attached [pid 309] <... umount2 resumed>) = 0 [pid 308] close(3 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] getdents64(3 [pid 548] set_robust_list(0x5555737ed6a0, 24 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 548 [pid 309] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... close resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 548] <... set_robust_list resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] newfstatat(AT_FDCWD, "./22/file2" [pid 548] rt_sigprocmask(SIG_SETMASK, [] [pid 306] close(3 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 550 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 549 [pid 306] <... close resumed>) = 0 [pid 309] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] rmdir("./23" [pid 309] openat(AT_FDCWD, "./22/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 549 attached [pid 549] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 549] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... rmdir resumed>) = 0 [pid 309] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 306] mkdir("./24", 0777 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 549] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 549] chdir("./24") = 0 [pid 549] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 549] setpgid(0, 0) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 309] getdents64(4 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 549] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] <... openat resumed>) = 3 [pid 309] getdents64(4 [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] close(4 [pid 549] <... openat resumed>) = 3 [pid 309] <... close resumed>) = 0 [pid 306] close(3 [pid 309] rmdir("./22/file2" [pid 306] <... close resumed>) = 0 [pid 549] write(3, "1000", 4) = 4 [pid 549] close(3) = 0 [pid 549] symlink("/dev/binderfs", "./binderfs" [pid 309] <... rmdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] getdents64(3 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] close(3 [pid 549] <... symlink resumed>) = 0 [pid 549] write(1, "executing program\n", 18) = 18 [pid 549] memfd_create("syzkaller", 0) = 3 [pid 549] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 309] <... close resumed>) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 551 executing program [pid 309] rmdir("./22" [pid 549] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 548] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 309] mkdir("./23", 0777 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 549] <... write resumed>) = 262144 [pid 548] chdir("./22" [pid 309] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 549] munmap(0x7f90a3563000, 138412032 [pid 309] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] close(3) = 0 [pid 549] <... munmap resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 549] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 549] <... openat resumed>) = 4 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 549] ioctl(4, LOOP_SET_FD, 3 [pid 548] <... chdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 552 attached ci2-android-6-1/strace-static-x86_64: Process 551 attached ci2-android-6-1/strace-static-x86_64: Process 550 attached [pid 549] <... ioctl resumed>) = 0 [pid 548] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 552 [pid 551] set_robust_list(0x5555737ed6a0, 24 [pid 548] <... prctl resumed>) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 551] <... set_robust_list resumed>) = 0 [pid 548] setpgid(0, 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 552] set_robust_list(0x5555737ed6a0, 24 [pid 551] rt_sigprocmask(SIG_SETMASK, [] [pid 548] <... setpgid resumed>) = 0 [pid 552] <... set_robust_list resumed>) = 0 [pid 551] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 548] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 552] rt_sigprocmask(SIG_SETMASK, [] [pid 551] chdir("./24" [pid 548] <... openat resumed>) = 3 [pid 552] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 551] <... chdir resumed>) = 0 [pid 548] write(3, "1000", 4 [pid 552] chdir("./23" [pid 551] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 548] <... write resumed>) = 4 [pid 552] <... chdir resumed>) = 0 [pid 551] <... prctl resumed>) = 0 [pid 548] close(3 [pid 552] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 551] setpgid(0, 0 [pid 548] <... close resumed>) = 0 [pid 552] <... prctl resumed>) = 0 [pid 551] <... setpgid resumed>) = 0 [pid 548] symlink("/dev/binderfs", "./binderfs" [pid 552] setpgid(0, 0 [pid 551] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 548] <... symlink resumed>) = 0 [pid 552] <... setpgid resumed>) = 0 [pid 551] <... openat resumed>) = 3 executing program [pid 548] write(1, "executing program\n", 18 [pid 552] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 551] write(3, "1000", 4 [pid 548] <... write resumed>) = 18 [pid 552] <... openat resumed>) = 3 [pid 551] <... write resumed>) = 4 [pid 548] memfd_create("syzkaller", 0 [pid 552] write(3, "1000", 4 [pid 551] close(3 [pid 549] close(3 [pid 548] <... memfd_create resumed>) = 3 [pid 552] <... write resumed>) = 4 [pid 551] <... close resumed>) = 0 [pid 549] <... close resumed>) = 0 [pid 548] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 552] close(3 [pid 551] symlink("/dev/binderfs", "./binderfs" [pid 549] close(4 [pid 548] <... mmap resumed>) = 0x7f90a3563000 [pid 550] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 550] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 550] chdir("./22" [pid 548] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 550] <... chdir resumed>) = 0 [pid 550] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 551] <... symlink resumed>) = 0 [pid 550] <... prctl resumed>) = 0 [pid 550] setpgid(0, 0) = 0 [pid 550] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 550] write(3, "1000", 4) = 4 [pid 550] close(3) = 0 [pid 550] symlink("/dev/binderfs", "./binderfs") = 0 [pid 550] write(1, "executing program\n", 18 [pid 548] <... write resumed>) = 262144 executing program [pid 550] <... write resumed>) = 18 [pid 550] memfd_create("syzkaller", 0) = 3 [pid 550] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 552] <... close resumed>) = 0 [pid 551] write(1, "executing program\n", 18 [pid 550] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 549] <... close resumed>) = 0 executing program [pid 548] munmap(0x7f90a3563000, 138412032 [pid 552] symlink("/dev/binderfs", "./binderfs" [pid 551] <... write resumed>) = 18 [pid 550] <... write resumed>) = 262144 [pid 549] mkdir("./file2", 0777 [pid 548] <... munmap resumed>) = 0 [pid 552] <... symlink resumed>) = 0 [pid 551] memfd_create("syzkaller", 0 [pid 549] <... mkdir resumed>) = 0 [pid 548] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 552] write(1, "executing program\n", 18 [pid 551] <... memfd_create resumed>) = 3 executing program [pid 549] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 548] <... openat resumed>) = 4 [pid 552] <... write resumed>) = 18 [pid 551] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 550] munmap(0x7f90a3563000, 138412032 [pid 548] ioctl(4, LOOP_SET_FD, 3 [pid 550] <... munmap resumed>) = 0 [pid 550] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 550] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 550] close(3) = 0 [pid 550] close(4) = 0 [pid 550] mkdir("./file2", 0777) = 0 [pid 550] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 552] memfd_create("syzkaller", 0) = 3 [pid 552] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 551] <... mmap resumed>) = 0x7f90a3563000 [pid 548] <... ioctl resumed>) = 0 [pid 552] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 551] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 548] close(3 [pid 552] <... write resumed>) = 262144 [pid 551] <... write resumed>) = 262144 [pid 548] <... close resumed>) = 0 [pid 552] munmap(0x7f90a3563000, 138412032 [pid 551] munmap(0x7f90a3563000, 138412032 [pid 548] close(4 [pid 552] <... munmap resumed>) = 0 [pid 551] <... munmap resumed>) = 0 [pid 548] <... close resumed>) = 0 [pid 552] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 551] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 548] mkdir("./file2", 0777 [pid 552] <... openat resumed>) = 4 [pid 551] <... openat resumed>) = 4 [pid 548] <... mkdir resumed>) = 0 [pid 552] ioctl(4, LOOP_SET_FD, 3 [pid 551] ioctl(4, LOOP_SET_FD, 3 [pid 548] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 552] <... ioctl resumed>) = 0 [pid 551] <... ioctl resumed>) = 0 [pid 552] close(3 [pid 551] close(3 [pid 552] <... close resumed>) = 0 [pid 551] <... close resumed>) = 0 [pid 552] close(4 [pid 551] close(4 [pid 552] <... close resumed>) = 0 [pid 551] <... close resumed>) = 0 [pid 552] mkdir("./file2", 0777 [pid 551] mkdir("./file2", 0777 [pid 552] <... mkdir resumed>) = 0 [pid 551] <... mkdir resumed>) = 0 [pid 552] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [ 31.990878][ T549] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [ 32.015351][ T548] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 32.026055][ T550] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [pid 551] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 549] <... mount resumed>) = 0 [pid 549] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 549] chdir("./file2") = 0 [pid 548] <... mount resumed>) = 0 [pid 549] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 550] <... mount resumed>) = 0 [pid 549] <... openat resumed>) = 4 [pid 548] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 549] ioctl(4, LOOP_CLR_FD) = 0 [pid 549] close(4) = 0 [pid 549] exit_group(0) = ? [pid 549] +++ exited with 0 +++ [pid 548] <... openat resumed>) = 3 [pid 548] chdir("./file2") = 0 [pid 548] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=549, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 551] <... mount resumed>) = 0 [pid 550] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 548] <... openat resumed>) = 4 [pid 548] ioctl(4, LOOP_CLR_FD) = 0 [pid 548] close(4) = 0 [ 32.036292][ T551] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 32.045433][ T549] EXT4-fs (loop1): 1 truncate cleaned up [ 32.059337][ T552] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 32.061766][ T548] EXT4-fs (loop4): 1 truncate cleaned up [ 32.076037][ T550] EXT4-fs (loop2): 1 truncate cleaned up [ 32.083987][ T551] EXT4-fs (loop0): 1 truncate cleaned up [pid 548] exit_group(0) = ? [pid 548] +++ exited with 0 +++ [pid 551] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 551] chdir("./file2") = 0 [pid 551] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 550] <... openat resumed>) = 3 [pid 550] chdir("./file2" [pid 552] <... mount resumed>) = 0 [pid 551] <... openat resumed>) = 4 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=548, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 307] <... restart_syscall resumed>) = 0 [pid 550] <... chdir resumed>) = 0 [pid 552] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 551] ioctl(4, LOOP_CLR_FD [pid 550] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 550] <... openat resumed>) = 4 [pid 310] fstat(3 [pid 307] fstat(3 [pid 550] ioctl(4, LOOP_CLR_FD [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 550] <... ioctl resumed>) = 0 [pid 310] getdents64(3 [pid 307] getdents64(3 [pid 552] <... openat resumed>) = 3 [pid 551] <... ioctl resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 552] chdir("./file2") = 0 [pid 551] close(4) = 0 [pid 552] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 551] exit_group(0 [pid 552] ioctl(4, LOOP_CLR_FD) = 0 [pid 552] close(4) = 0 [pid 551] <... exit_group resumed>) = ? [pid 550] close(4 [pid 310] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 550] <... close resumed>) = 0 [pid 550] exit_group(0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 550] <... exit_group resumed>) = ? [pid 310] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./22/binderfs" [pid 552] exit_group(0) = ? [pid 550] +++ exited with 0 +++ [pid 552] +++ exited with 0 +++ [pid 551] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=550, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=552, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=551, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 309] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... restart_syscall resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 306] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 3 [pid 308] fstat(3 [pid 306] <... openat resumed>) = 3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 310] <... unlink resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./23/binderfs" [pid 308] newfstatat(AT_FDCWD, "./22/binderfs" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./24/binderfs" [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./23/binderfs" [pid 308] unlink("./22/binderfs" [pid 306] unlink("./24/binderfs" [pid 309] <... unlink resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 309] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./24/binderfs") = 0 [pid 307] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./22/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./22/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./22/file2") = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./22") = 0 [pid 310] mkdir("./23", 0777) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 310] close(3) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 558 [ 32.091353][ T552] EXT4-fs (loop3): 1 truncate cleaned up [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 558 attached [pid 309] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 309] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 558] set_robust_list(0x5555737ed6a0, 24 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = 0 [pid 558] <... set_robust_list resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./23/file2" [pid 308] newfstatat(AT_FDCWD, "./22/file2" [pid 307] newfstatat(AT_FDCWD, "./24/file2" [pid 306] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 558] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 558] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./22/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./24/file2" [pid 558] chdir("./23" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 558] <... chdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "./23/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./22/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./24/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 558] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] <... openat resumed>) = 4 [pid 308] <... openat resumed>) = 4 [pid 307] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 558] <... prctl resumed>) = 0 [pid 309] fstat(4 [pid 308] fstat(4 [pid 307] fstat(4 [pid 306] openat(AT_FDCWD, "./24/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 558] setpgid(0, 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... openat resumed>) = 4 [pid 558] <... setpgid resumed>) = 0 [pid 309] getdents64(4 [pid 308] getdents64(4 [pid 307] getdents64(4 [pid 306] fstat(4 [pid 558] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 executing program [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 558] <... openat resumed>) = 3 [pid 309] getdents64(4 [pid 308] getdents64(4 [pid 307] getdents64(4 [pid 306] getdents64(4 [pid 558] write(3, "1000", 4 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 558] <... write resumed>) = 4 [pid 309] close(4 [pid 308] close(4 [pid 307] close(4 [pid 306] getdents64(4 [pid 558] close(3 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 558] <... close resumed>) = 0 [pid 309] rmdir("./23/file2" [pid 308] rmdir("./22/file2" [pid 307] rmdir("./24/file2" [pid 306] close(4 [pid 558] symlink("/dev/binderfs", "./binderfs" [pid 309] <... rmdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 558] <... symlink resumed>) = 0 [pid 309] getdents64(3 [pid 308] getdents64(3 [pid 307] getdents64(3 [pid 306] rmdir("./24/file2" [pid 558] write(1, "executing program\n", 18 [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 558] <... write resumed>) = 18 [pid 309] close(3 [pid 308] close(3 [pid 307] close(3 [pid 306] getdents64(3 [pid 558] memfd_create("syzkaller", 0 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 558] <... memfd_create resumed>) = 3 [pid 309] rmdir("./23" [pid 308] rmdir("./22" [pid 307] rmdir("./24" [pid 306] close(3 [pid 558] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 558] <... mmap resumed>) = 0x7f90a3563000 [pid 309] mkdir("./24", 0777 [pid 308] mkdir("./23", 0777 [pid 307] mkdir("./25", 0777 [pid 306] rmdir("./24" [pid 558] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 309] <... mkdir resumed>) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 558] <... write resumed>) = 262144 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] mkdir("./25", 0777 [pid 558] munmap(0x7f90a3563000, 138412032 [pid 309] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 306] <... mkdir resumed>) = 0 [pid 558] <... munmap resumed>) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 558] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... openat resumed>) = 3 [pid 558] <... openat resumed>) = 4 [pid 309] close(3 [pid 308] close(3 [pid 307] close(3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 558] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 559 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] close(3ci2-android-6-1/strace-static-x86_64: Process 559 attached [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... close resumed>) = 0 [pid 559] set_robust_list(0x5555737ed6a0, 24 [pid 558] <... ioctl resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 559] <... set_robust_list resumed>) = 0 [pid 558] close(3 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 559] rt_sigprocmask(SIG_SETMASK, [] [pid 558] <... close resumed>) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 560 [pid 307] <... clone resumed>, child_tidptr=0x5555737ed690) = 561 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 559] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 558] close(4 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 559] chdir("./24" [pid 558] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 562 [pid 559] <... chdir resumed>) = 0 [pid 558] mkdir("./file2", 0777 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 559] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 558] <... mkdir resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 559] <... prctl resumed>) = 0 [pid 558] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 559] setpgid(0, 0ci2-android-6-1/strace-static-x86_64: Process 561 attached ) = 0 [pid 559] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 561] set_robust_list(0x5555737ed6a0, 24 [pid 559] <... openat resumed>) = 3 [pid 559] write(3, "1000", 4 [pid 561] <... set_robust_list resumed>) = 0 [pid 559] <... write resumed>) = 4 [pid 559] close(3) = 0 [pid 559] symlink("/dev/binderfs", "./binderfs") = 0 [pid 559] write(1, "executing program\n", 18) = 18 executing program [pid 559] memfd_create("syzkaller", 0 [pid 561] rt_sigprocmask(SIG_SETMASK, [] [pid 559] <... memfd_create resumed>) = 3 [pid 559] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 561] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 559] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 561] chdir("./25" [pid 559] <... write resumed>) = 262144 [pid 559] munmap(0x7f90a3563000, 138412032 [pid 561] <... chdir resumed>) = 0 [pid 559] <... munmap resumed>) = 0 [pid 559] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 559] ioctl(4, LOOP_SET_FD, 3 [pid 561] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 559] <... ioctl resumed>) = 0 [pid 561] <... prctl resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 560 attached [pid 560] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 560] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 560] chdir("./23") = 0 [pid 560] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 560] setpgid(0, 0) = 0 [pid 560] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ci2-android-6-1/strace-static-x86_64: Process 562 attached [pid 562] set_robust_list(0x5555737ed6a0, 24 [pid 561] setpgid(0, 0 [pid 562] <... set_robust_list resumed>) = 0 [pid 562] rt_sigprocmask(SIG_SETMASK, [] [pid 560] write(3, "1000", 4) = 4 [pid 560] close(3 [pid 562] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 560] <... close resumed>) = 0 [pid 562] chdir("./25" [pid 560] symlink("/dev/binderfs", "./binderfs" [pid 562] <... chdir resumed>) = 0 [pid 561] <... setpgid resumed>) = 0 [pid 560] <... symlink resumed>) = 0 [pid 562] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 560] write(1, "executing program\n", 18 executing program [pid 562] <... prctl resumed>) = 0 [pid 561] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 560] <... write resumed>) = 18 [pid 562] setpgid(0, 0 [pid 560] memfd_create("syzkaller", 0 [pid 562] <... setpgid resumed>) = 0 [pid 560] <... memfd_create resumed>) = 3 [pid 562] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 560] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 562] <... openat resumed>) = 3 [pid 560] <... mmap resumed>) = 0x7f90a3563000 [pid 562] write(3, "1000", 4 [pid 560] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 562] <... write resumed>) = 4 [pid 562] close(3) = 0 [pid 562] symlink("/dev/binderfs", "./binderfs" [pid 561] <... openat resumed>) = 3 [pid 562] <... symlink resumed>) = 0 [pid 561] write(3, "1000", 4 [pid 562] write(1, "executing program\n", 18) = 18 executing program [pid 562] memfd_create("syzkaller", 0) = 3 [pid 561] <... write resumed>) = 4 [pid 559] close(3 [pid 562] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 559] <... close resumed>) = 0 [pid 562] <... mmap resumed>) = 0x7f90a3563000 [pid 559] close(4 [pid 562] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 561] close(3 [pid 560] <... write resumed>) = 262144 [pid 559] <... close resumed>) = 0 [pid 561] <... close resumed>) = 0 [pid 559] mkdir("./file2", 0777 [pid 561] symlink("/dev/binderfs", "./binderfs" [pid 559] <... mkdir resumed>) = 0 [pid 559] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 562] <... write resumed>) = 262144 [pid 561] <... symlink resumed>) = 0 [ 32.176229][ T558] set_capacity_and_notify: 110 callbacks suppressed [ 32.176247][ T558] loop4: detected capacity change from 0 to 512 [ 32.194406][ T558] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 32.208719][ T559] loop3: detected capacity change from 0 to 512 executing program [pid 561] write(1, "executing program\n", 18) = 18 [pid 560] munmap(0x7f90a3563000, 138412032) = 0 [pid 560] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 561] memfd_create("syzkaller", 0 [pid 560] <... openat resumed>) = 4 [pid 560] ioctl(4, LOOP_SET_FD, 3 [pid 561] <... memfd_create resumed>) = 3 [pid 562] munmap(0x7f90a3563000, 138412032) = 0 [pid 561] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 562] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 562] ioctl(4, LOOP_SET_FD, 3 [pid 561] <... mmap resumed>) = 0x7f90a3563000 [pid 560] <... ioctl resumed>) = 0 [pid 562] <... ioctl resumed>) = 0 [pid 560] close(3) = 0 [pid 562] close(3 [pid 560] close(4) = 0 [pid 562] <... close resumed>) = 0 [pid 562] close(4) = 0 [pid 560] mkdir("./file2", 0777) = 0 [pid 562] mkdir("./file2", 0777) = 0 [pid 562] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 560] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 561] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 561] munmap(0x7f90a3563000, 138412032) = 0 [pid 561] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 558] <... mount resumed>) = 0 [pid 558] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [ 32.224467][ T559] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [ 32.235458][ T560] loop2: detected capacity change from 0 to 512 [ 32.242509][ T562] loop0: detected capacity change from 0 to 512 [ 32.254768][ T562] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 32.264803][ T558] EXT4-fs (loop4): 1 truncate cleaned up [pid 561] ioctl(4, LOOP_SET_FD, 3 [pid 558] <... openat resumed>) = 3 [pid 561] <... ioctl resumed>) = 0 [pid 561] close(3) = 0 [pid 561] close(4) = 0 [pid 561] mkdir("./file2", 0777 [pid 559] <... mount resumed>) = 0 [pid 561] <... mkdir resumed>) = 0 [pid 561] mount("/dev/loop1", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 559] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 558] chdir("./file2") = 0 [pid 558] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 558] ioctl(4, LOOP_CLR_FD) = 0 [pid 558] close(4) = 0 [pid 558] exit_group(0) = ? [pid 559] <... openat resumed>) = 3 [pid 558] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=558, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 562] <... mount resumed>) = 0 [pid 310] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 562] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 559] chdir("./file2" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 559] <... chdir resumed>) = 0 [pid 310] unlink("./23/binderfs" [pid 559] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] <... unlink resumed>) = 0 [pid 559] <... openat resumed>) = 4 [pid 310] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 559] ioctl(4, LOOP_CLR_FD) = 0 [pid 559] close(4) = 0 [pid 559] exit_group(0) = ? [pid 559] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=559, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [ 32.271581][ T561] loop1: detected capacity change from 0 to 512 [ 32.271584][ T560] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 32.274146][ T559] EXT4-fs (loop3): 1 truncate cleaned up [ 32.299770][ T562] EXT4-fs (loop0): 1 truncate cleaned up [ 32.307054][ T560] EXT4-fs (loop2): 1 truncate cleaned up [ 32.313348][ T561] EXT4-fs (loop1): encrypted files will use data=ordered instead of data journaling mode [pid 562] <... openat resumed>) = 3 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 562] chdir("./file2" [pid 560] <... mount resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 562] <... chdir resumed>) = 0 [pid 562] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 309] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 562] ioctl(4, LOOP_CLR_FD [pid 561] <... mount resumed>) = 0 [pid 560] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 310] <... umount2 resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 562] <... ioctl resumed>) = 0 [pid 310] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 562] close(4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 3 [pid 562] <... close resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./23/file2" [pid 309] fstat(3 [pid 562] exit_group(0 [pid 560] <... openat resumed>) = 3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 562] <... exit_group resumed>) = ? [pid 561] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 560] chdir("./file2" [pid 310] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 562] +++ exited with 0 +++ [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 560] <... chdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "./23/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=562, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] <... openat resumed>) = 4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 561] <... openat resumed>) = 3 [pid 560] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] fstat(4 [pid 309] newfstatat(AT_FDCWD, "./24/binderfs" [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] getdents64(4 [pid 309] unlink("./24/binderfs" [pid 561] chdir("./file2" [pid 560] <... openat resumed>) = 4 [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] <... unlink resumed>) = 0 [pid 310] getdents64(4 [pid 309] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] close(4 [pid 561] <... chdir resumed>) = 0 [pid 560] ioctl(4, LOOP_CLR_FD [pid 310] <... close resumed>) = 0 [pid 561] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 560] <... ioctl resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 561] <... openat resumed>) = 4 [pid 560] close(4 [pid 310] rmdir("./23/file2" [pid 561] ioctl(4, LOOP_CLR_FD [pid 560] <... close resumed>) = 0 [pid 309] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 561] <... ioctl resumed>) = 0 [pid 560] exit_group(0 [pid 310] <... rmdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... restart_syscall resumed>) = 0 [pid 561] close(4 [pid 560] <... exit_group resumed>) = ? [pid 310] getdents64(3 [pid 309] newfstatat(AT_FDCWD, "./24/file2" [pid 561] <... close resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] close(3 [pid 309] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 560] +++ exited with 0 +++ [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 561] exit_group(0 [pid 310] rmdir("./23" [pid 309] openat(AT_FDCWD, "./24/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=560, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 561] <... exit_group resumed>) = ? [pid 310] <... rmdir resumed>) = 0 [pid 309] <... openat resumed>) = 4 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... openat resumed>) = 3 [pid 310] mkdir("./24", 0777 [pid 309] fstat(4 [pid 306] fstat(3 [pid 561] +++ exited with 0 +++ [pid 310] <... mkdir resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] getdents64(4 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=561, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] getdents64(3 [pid 310] <... openat resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] getdents64(4 [pid 306] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] close(3 [pid 309] close(4 [pid 306] newfstatat(AT_FDCWD, "./25/binderfs" [pid 310] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] rmdir("./24/file2" [pid 306] unlink("./25/binderfs" [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] getdents64(3 [pid 306] umount2("./25/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 ci2-android-6-1/strace-static-x86_64: Process 568 attached [pid 568] set_robust_list(0x5555737ed6a0, 24 [pid 309] close(3 [pid 568] <... set_robust_list resumed>) = 0 [pid 568] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... close resumed>) = 0 [pid 568] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] rmdir("./24" [pid 568] chdir("./24") = 0 [pid 568] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 568] setpgid(0, 0) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 568] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 568 [pid 309] <... rmdir resumed>) = 0 [pid 306] umount2("./25/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 568] <... openat resumed>) = 3 [pid 309] mkdir("./25", 0777 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 568] write(3, "1000", 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 568] <... write resumed>) = 4 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 568] close(3 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] newfstatat(AT_FDCWD, "./25/file2" [pid 568] <... close resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 568] symlink("/dev/binderfs", "./binderfs" [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 568] <... symlink resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./25/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 568] write(1, "executing program\n", 18 [pid 309] close(3 executing program [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 568] <... write resumed>) = 18 [pid 309] <... close resumed>) = 0 [pid 308] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 568] memfd_create("syzkaller", 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "./25/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] fstat(3 [pid 307] fstat(3 [pid 306] <... openat resumed>) = 4 [pid 568] <... memfd_create resumed>) = 3 [pid 568] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(4 [pid 568] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 569 [pid 308] getdents64(3 [pid 307] getdents64(3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 568] <... write resumed>) = 262144 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 306] getdents64(4 [pid 568] munmap(0x7f90a3563000, 138412032) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./23/binderfs" [pid 307] newfstatat(AT_FDCWD, "./25/binderfs" [pid 306] getdents64(4 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 308] unlink("./23/binderfs" [pid 307] unlink("./25/binderfs" [pid 306] close(4 [pid 568] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 308] <... unlink resumed>) = 0 [pid 568] <... openat resumed>) = 4 [pid 306] <... close resumed>) = 0 [pid 568] ioctl(4, LOOP_SET_FD, 3 [ 32.329635][ T561] EXT4-fs (loop1): 1 truncate cleaned up [pid 308] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... unlink resumed>) = 0 [pid 306] rmdir("./25/file2"ci2-android-6-1/strace-static-x86_64: Process 569 attached [pid 307] umount2("./25/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 568] <... ioctl resumed>) = 0 [pid 568] close(3) = 0 [pid 568] close(4) = 0 [pid 568] mkdir("./file2", 0777) = 0 [pid 568] mount("/dev/loop4", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 569] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 569] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 569] chdir("./25") = 0 [pid 569] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 569] setpgid(0, 0) = 0 [pid 569] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 569] write(3, "1000", 4) = 4 [pid 569] close(3) = 0 [pid 569] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 569] write(1, "executing program\n", 18) = 18 [pid 569] memfd_create("syzkaller", 0) = 3 [pid 569] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 569] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 308] <... umount2 resumed>) = 0 [pid 306] getdents64(3 [pid 569] <... write resumed>) = 262144 [pid 307] <... umount2 resumed>) = 0 [pid 569] munmap(0x7f90a3563000, 138412032) = 0 [pid 569] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 569] ioctl(4, LOOP_SET_FD, 3 [pid 308] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./25/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] close(3 [pid 308] newfstatat(AT_FDCWD, "./23/file2" [pid 307] newfstatat(AT_FDCWD, "./25/file2" [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... close resumed>) = 0 [pid 308] umount2("./23/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] rmdir("./25" [pid 308] openat(AT_FDCWD, "./23/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] umount2("./25/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... rmdir resumed>) = 0 [pid 569] <... ioctl resumed>) = 0 [pid 569] close(3) = 0 [pid 569] close(4) = 0 [pid 569] mkdir("./file2", 0777) = 0 [pid 569] mount("/dev/loop3", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 308] fstat(4 [pid 307] openat(AT_FDCWD, "./25/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] mkdir("./26", 0777 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... openat resumed>) = 4 [pid 306] <... mkdir resumed>) = 0 [pid 308] getdents64(4 [pid 307] fstat(4 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] getdents64(4 [pid 307] getdents64(4 [pid 306] <... openat resumed>) = 3 [pid 308] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 306] ioctl(3, LOOP_CLR_FD [pid 308] close(4 [pid 307] getdents64(4 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] close(3 [pid 308] rmdir("./23/file2" [pid 307] close(4 [pid 306] <... close resumed>) = 0 [ 32.373102][ T568] loop4: detected capacity change from 0 to 512 [ 32.390386][ T569] loop3: detected capacity change from 0 to 512 [ 32.397980][ T568] EXT4-fs (loop4): encrypted files will use data=ordered instead of data journaling mode [ 32.407483][ T569] EXT4-fs (loop3): encrypted files will use data=ordered instead of data journaling mode [pid 568] <... mount resumed>) = 0 [pid 568] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 568] chdir("./file2") = 0 [pid 568] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 568] ioctl(4, LOOP_CLR_FD) = 0 [pid 568] close(4) = 0 [pid 568] exit_group(0) = ? [pid 568] +++ exited with 0 +++ [pid 308] <... rmdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=568, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./23") = 0 [pid 307] rmdir("./25/file2" [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] mkdir("./24", 0777 [pid 310] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... mkdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] getdents64(3 [pid 308] <... openat resumed>) = 3 [pid 308] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 310] <... openat resumed>) = 3 [pid 308] close(3 [pid 307] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] fstat(3 [pid 306] <... clone resumed>, child_tidptr=0x5555737ed690) = 571 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... close resumed>) = 0 [pid 307] close(3 [pid 310] getdents64(3 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... close resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] rmdir("./25" [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./24/binderfs" [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] unlink("./24/binderfs" [pid 307] <... rmdir resumed>) = 0 [pid 310] <... unlink resumed>) = 0 [pid 307] mkdir("./26", 0777 [pid 310] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... clone resumed>, child_tidptr=0x5555737ed690) = 572 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 571 attached [pid 571] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 571] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 571] chdir("./26" [pid 307] <... mkdir resumed>) = 0 [pid 571] <... chdir resumed>) = 0 [pid 571] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 571] setpgid(0, 0 [pid 307] <... openat resumed>) = 3 [pid 571] <... setpgid resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 571] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] close(3 [pid 571] <... openat resumed>) = 3 [pid 571] write(3, "1000", 4) = 4 [pid 571] close(3) = 0 [pid 571] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 571] write(1, "executing program\n", 18) = 18 [pid 571] memfd_create("syzkaller", 0) = 3 [pid 571] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 307] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 571] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 571] munmap(0x7f90a3563000, 138412032) = 0 [pid 571] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 32.420493][ T568] EXT4-fs (loop4): 1 truncate cleaned up [pid 571] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... umount2 resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 571] <... ioctl resumed>) = 0 [pid 571] close(3) = 0 [pid 571] close(4) = 0 [pid 571] mkdir("./file2", 0777) = 0 [pid 571] mount("/dev/loop0", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"...) = 0 [pid 571] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 571] chdir("./file2") = 0 [pid 571] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 571] ioctl(4, LOOP_CLR_FD) = 0 [pid 571] close(4) = 0 [pid 571] exit_group(0) = ? [pid 571] +++ exited with 0 +++ ci2-android-6-1/strace-static-x86_64: Process 572 attached [pid 572] set_robust_list(0x5555737ed6a0, 24) = 0 [pid 572] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 572] chdir("./24") = 0 [ 32.444536][ T571] loop0: detected capacity change from 0 to 512 [ 32.448314][ T317] ================================================================== [ 32.458099][ T571] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 32.458950][ T317] BUG: KASAN: null-ptr-deref in do_page_cache_ra+0x18f/0x230 [ 32.474688][ T571] EXT4-fs (loop0): 1 truncate cleaned up [ 32.476167][ T317] Write of size 8 at addr 0000000000000000 by task udevd/317 [ 32.489197][ T317] [pid 572] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 572] setpgid(0, 0) = 0 [pid 572] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 32.491551][ T317] CPU: 0 PID: 317 Comm: udevd Not tainted syzkaller #0 [ 32.498441][ T317] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 [ 32.508989][ T317] Call Trace: [ 32.511072][ T572] loop2: detected capacity change from 0 to 512 [ 32.512308][ T317] [ 32.512318][ T317] __dump_stack+0x21/0x24 [ 32.523826][ T572] EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode [ 32.525843][ T317] dump_stack_lvl+0x110/0x170 [ 32.540428][ T317] ? __cfi_dump_stack_lvl+0x8/0x8 [ 32.541765][ T569] EXT4-fs (loop3): 1 truncate cleaned up [ 32.545494][ T317] ? do_page_cache_ra+0x18f/0x230 [ 32.556276][ T317] ? do_page_cache_ra+0x18f/0x230 [ 32.561350][ T317] print_report+0x3d/0x60 [ 32.565724][ T317] kasan_report+0x122/0x150 [ 32.570297][ T317] ? do_page_cache_ra+0x18f/0x230 [ 32.575392][ T317] kasan_check_range+0x249/0x2a0 [ 32.580395][ T317] __kasan_check_write+0x14/0x20 [ 32.585371][ T317] do_page_cache_ra+0x18f/0x230 [ 32.590267][ T317] page_cache_sync_ra+0x32b/0x3d0 [ 32.595338][ T317] filemap_read+0x6b6/0x23c0 [ 32.599973][ T317] ? __cfi_mas_store_prealloc+0x10/0x10 [ 32.605556][ T317] ? __cfi_filemap_read+0x10/0x10 [ 32.610602][ T317] ? __kasan_check_write+0x14/0x20 [ 32.615734][ T317] ? rwsem_read_trylock+0x2af/0x640 [ 32.620959][ T317] ? __fsnotify_parent+0x72a/0x820 [ 32.626092][ T317] ? get_unmapped_area+0x30c/0x370 [ 32.631226][ T317] blkdev_read_iter+0x439/0x580 [ 32.636096][ T317] vfs_read+0x46e/0x930 [ 32.640285][ T317] ? __cfi_vfs_read+0x10/0x10 [ 32.644982][ T317] ? __kasan_check_read+0x11/0x20 [ 32.650024][ T317] ? __fdget_pos+0x1f2/0x380 [ 32.654632][ T317] ksys_read+0x14a/0x260 [ 32.658887][ T317] ? __cfi_ksys_read+0x10/0x10 [ 32.663684][ T317] ? debug_smp_processor_id+0x17/0x20 [ 32.669077][ T317] __x64_sys_read+0x7b/0x90 [ 32.673606][ T317] x64_sys_call+0x2f/0x9a0 [ 32.678048][ T317] do_syscall_64+0x4c/0xa0 [ 32.682499][ T317] ? clear_bhb_loop+0x30/0x80 [ 32.687222][ T317] ? clear_bhb_loop+0x30/0x80 [ 32.691927][ T317] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 32.697845][ T317] RIP: 0033:0x7fd7d24a7407 [ 32.702296][ T317] Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff [ 32.721941][ T317] RSP: 002b:00007ffd5c50db70 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 [ 32.730374][ T317] RAX: ffffffffffffffda RBX: 00007fd7d2c27880 RCX: 00007fd7d24a7407 [pid 572] write(3, "1000", 4) = 4 [pid 572] close(3) = 0 [pid 572] symlink("/dev/binderfs", "./binderfs") = 0 [pid 572] write(1, "executing program\n", 18) = 18 [pid 572] memfd_create("syzkaller", 0) = 3 [pid 572] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a3563000 [pid 572] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 572] munmap(0x7f90a3563000, 138412032) = 0 [pid 572] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 572] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 572] close(3) = 0 [pid 572] close(4) = 0 [pid 572] mkdir("./file2", 0777) = 0 [pid 572] mount("/dev/loop2", "./file2", "ext4", MS_NODEV|MS_NOATIME, "max_batch_time=0x0000000000000020,max_batch_time=0x0000000000000002,debug_want_extra_isize=0x0000000"... [pid 569] <... mount resumed>) = 0 [pid 569] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 569] chdir("./file2") = 0 [pid 569] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 569] ioctl(4, LOOP_CLR_FD) = 0 [pid 569] close(4) = 0 [pid 569] exit_group(0) = ? [pid 569] +++ exited with 0 +++ executing program [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555737ed690) = 576 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=569, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] newfstatat(AT_FDCWD, "./24/file2", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./24/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./24/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./24/file2") = 0 [pid 309] <... openat resumed>) = 3 [pid 309] fstat(3 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=571, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./25/binderfs" [pid 306] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... openat resumed>) = 3 [pid 309] unlink("./25/binderfs" [pid 306] fstat(3 [pid 309] <... unlink resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] umount2("./25/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(3 [pid 310] getdents64(3, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./24") = 0 [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 4 entries */, 32768) = 112 [pid 310] mkdir("./25", 0777 [pid 309] <... umount2 resumed>) = 0 [pid 306] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./25/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./26/binderfs" [pid 309] newfstatat(AT_FDCWD, "./25/file2" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./26/binderfs" [pid 309] umount2("./25/file2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] <... unlink resumed>) = 0 [pid 309] openat(AT_FDCWD, "./25/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./26/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... openat resumed>) = 3 [pid 309] getdents64(4 [pid 310] ioctl(3, LOOP_CLR_FD) = 0 [pid 310] close(3) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 306] <... umount2 resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] umount2("./26/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] close(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./26/file2" [pid 309] rmdir("./25/file2" [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555737ed690) = 578 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... rmdir resumed>) = 0 [pid 306] umount2("./26/file2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 306] openat(AT_FDCWD, "./26/file2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] close(3 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 309] rmdir("./25" [pid 306] fstat(4 [pid 309] <... rmdir resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] mkdir("./26", 0777 [pid 306] getdents64(4 [pid 309] <... mkdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555737f6790 /* 2 entries */, 32768) = 48 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] getdents64(4, 0x5555737f6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./26/file2") = 0 [pid 306] getdents64(3 [pid 309] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] <... getdents64 resumed>, 0x5555737ee750 /* 0 entries */, 32768) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] close(3 [pid 309] close(3) = 0 [pid 306] <... close resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] rmdir("./26" [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 578 attached [pid 578] set_robust_list(0x5555737ed6a0, 24 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... rmdir resumed>) = 0 [pid 578] <... set_robust_list resumed>) = 0 [pid 578] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 578] chdir("./25"ci2-android-6-1/strace-static-x86_64: Process 576 attached ) = 0 [pid 576] set_robust_list(0x5555737ed6a0, 24 [pid 578] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 578] setpgid(0, 0 [pid 576] <... set_robust_list resumed>) = 0 [pid 578] <... setpgid resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555737ed690) = 579 [pid 306] mkdir("./27", 0777 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 576] rt_sigprocmask(SIG_SETMASK, [] [pid 578] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [ 32.738393][ T317] RDX: 0000000000000200 RSI: 00007fd7d2c1f000 RDI: 0000000000000009 [ 32.746384][ T317] RBP: 000055fc23326790 R08: 0000000000000000 R09: 0000000000000000 [ 32.754379][ T317] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 32.762367][ T317] R13: 0000000000020000 R14: 000055fc23337578 R15: 00007fd7d2d4e39c [ 32.770537][ T317] [ 32.773574][ T317] ================================================================== ci2-android-6-1/strace-static-x86_64: Process 579 attached [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 579] set_robust_list(0x5555737ed6a0, 24 [pid 578] <... openat resumed>) = 3 [pid 576] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 578] write(3, "1000", 4 [pid 576] chdir("./26" [pid 578] <... write resumed>) = 4 [pid 576] <... chdir resumed>) = 0 [pid 578] close(3 [pid 576] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 578] <... close resumed>) = 0 [pid 576] <... prctl resumed>) = 0 [pid 578] symlink("/dev/binderfs", "./binderfs" [pid 576] setpgid(0, 0 [pid 578] <... symlink resumed>) = 0 [pid 576] <... setpgid resumed>) = 0 [pid 576] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 32.815508][ T317] Disabling lock debugging due to kernel taint [ 32.822521][ T317] BUG: kernel NULL pointer dereference, address: 0000000000000003 [ 32.825369][ T572] EXT4-fs (loop2): 1 truncate cleaned up [ 32.830353][ T317] #PF: supervisor write access in kernel mode [ 32.830365][ T317] #PF: error_code(0x0002) - not-present page [ 32.830376][ T317] PGD 0 P4D 0 [ 32.830393][ T317] Oops: 0002 [#1] PREEMPT SMP KASAN [ 32.830412][ T317] CPU: 0 PID: 317 Comm: udevd Tainted: G B syzkaller #0 ci2-android-6-1/strace-static-x86_64: Process 580 attached [pid 578] write(1, "executing program\n", 18 [pid 576] write(3, "1000", 4 [pid 572] <... mount resumed>) = 0 [pid 578] <... write resumed>) = 18 [pid 576] <... write resumed>) = 4 [pid 578] memfd_create("syzkaller", 0 [pid 576] close(3 [pid 578] <... memfd_create resumed>) = 3 [pid 576] <... close resumed>) = 0 [pid 578] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 576] symlink("/dev/binderfs", "./binderfs" [pid 578] <... mmap resumed>) = 0x7f90a3563000 [pid 576] <... symlink resumed>) = 0 [pid 578] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 576] write(1, "executing program\n", 18) = 18 [pid 576] memfd_create("syzkaller", 0) = 3 executing program executing program [pid 572] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY [pid 580] set_robust_list(0x5555737ed6a0, 24 [pid 578] <... write resumed>) = 262144 [pid 576] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 572] <... openat resumed>) = 3 [pid 580] <... set_robust_list resumed>) = 0 [pid 576] <... mmap resumed>) = 0x7f90a3563000 [pid 572] chdir("./file2" [pid 580] rt_sigprocmask(SIG_SETMASK, [] [pid 576] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144 [pid 572] <... chdir resumed>) = 0 [pid 580] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 572] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 580] chdir("./27" [pid 572] <... openat resumed>) = 4 [pid 580] <... chdir resumed>) = 0 [pid 576] <... write resumed>) = 262144 [pid 572] ioctl(4, LOOP_CLR_FD [pid 580] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 572] <... ioctl resumed>) = 0 [pid 580] <... prctl resumed>) = 0 [ 32.830433][ T317] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 [ 32.830444][ T317] RIP: 0010:do_page_cache_ra+0x18f/0x230 [ 32.872183][ T28] audit: type=1400 audit(1791997956.002:72): avc: denied { read } for pid=85 comm="syslogd" name="log" dev="sda1" ino=2010 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:var_t tclass=lnk_file permissive=1 [pid 572] close(4 [pid 580] setpgid(0, 0 [pid 578] munmap(0x7f90a3563000, 138412032 [pid 576] munmap(0x7f90a3563000, 138412032 [pid 572] <... close resumed>) = 0 [pid 580] <... setpgid resumed>) = 0 [pid 572] exit_group(0 [pid 580] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 572] <... exit_group resumed>) = ? [pid 580] <... openat resumed>) = 3 [pid 578] <... munmap resumed>) = 0 [pid 576] <... munmap resumed>) = 0 [pid 572] +++ exited with 0 +++ [pid 580] write(3, "1000", 4 [pid 578] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 580] <... write resumed>) = 4 [pid 578] <... openat resumed>) = 4 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=572, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 580] close(3 [pid 578] ioctl(4, LOOP_SET_FD, 3 [pid 576] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 580] <... close resumed>) = 0 [ 32.875274][ T317] Code: fd ff 48 3d 01 f0 ff ff 72 10 e8 7c 1e d2 ff 49 83 ee 01 73 78 e9 87 00 00 00 49 89 c4 48 89 c7 be 08 00 00 00 e8 11 ba 17 00 41 80 4c 24 03 10 4c 89 e7 48 83 c7 34 be 04 00 00 00 e8 f9 b9 [ 32.907998][ T28] audit: type=1400 audit(1791997956.002:73): avc: denied { search } for pid=85 comm="syslogd" name="/" dev="tmpfs" ino=1 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 32.922223][ T317] RSP: 0018:ffffc90000e67878 EFLAGS: 00010246 [ 32.922245][ T317] RAX: ffff888122330000 RBX: 0000000000000020 RCX: ffff888122330000 [ 32.922261][ T317] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 32.965454][ T576] loop1: detected capacity change from 0 to 512 [ 32.965515][ T317] RBP: ffffc90000e678c8 R08: ffffffff87b777e7 R09: 1ffffffff0f6eefc [ 32.979862][ T317] R10: dffffc0000000000 R11: fffffbfff0f6eefd R12: 0000000000000000 [ 32.987886][ T317] R13: 000000000000001f R14: 0000000000000000 R15: ffff88810b6ea3d0 [ 32.995906][ T317] FS: 00007fd7d2c27880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 [ 33.004881][ T317] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 33.011519][ T317] CR2: 0000000000000003 CR3: 000000010fdaa000 CR4: 00000000003506b0 [ 33.019555][ T317] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 33.024596][ T580] EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode [ 33.027593][ T317] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 33.045413][ T317] Call Trace: [ 33.048721][ T317] [ 33.051683][ T317] page_cache_sync_ra+0x32b/0x3d0 [ 33.056745][ T317] filemap_read+0x6b6/0x23c0 [ 33.061378][ T317] ? __cfi_mas_store_prealloc+0x10/0x10 [ 33.066969][ T317] ? __cfi_filemap_read+0x10/0x10 [ 33.072047][ T317] ? __kasan_check_write+0x14/0x20 [ 33.077207][ T317] ? rwsem_read_trylock+0x2af/0x640 [ 33.082442][ T317] ? __fsnotify_parent+0x72a/0x820 [ 33.087581][ T317] ? get_unmapped_area+0x30c/0x370 [ 33.092736][ T317] blkdev_read_iter+0x439/0x580 [ 33.097617][ T317] vfs_read+0x46e/0x930 [ 33.101799][ T317] ? __cfi_vfs_read+0x10/0x10 [ 33.106505][ T317] ? __kasan_check_read+0x11/0x20 [ 33.111556][ T317] ? __fdget_pos+0x1f2/0x380 [ 33.116172][ T317] ksys_read+0x14a/0x260 [ 33.120444][ T317] ? __cfi_ksys_read+0x10/0x10 [ 33.125232][ T317] ? debug_smp_processor_id+0x17/0x20 [ 33.130633][ T317] __x64_sys_read+0x7b/0x90 [ 33.135160][ T317] x64_sys_call+0x2f/0x9a0 [ 33.139604][ T317] do_syscall_64+0x4c/0xa0 [ 33.144054][ T317] ? clear_bhb_loop+0x30/0x80 [ 33.148760][ T317] ? clear_bhb_loop+0x30/0x80 [ 33.153497][ T317] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 33.159448][ T317] RIP: 0033:0x7fd7d24a7407 [ 33.163909][ T317] Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff [ 33.183540][ T317] RSP: 002b:00007ffd5c50db70 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 [ 33.191987][ T317] RAX: ffffffffffffffda RBX: 00007fd7d2c27880 RCX: 00007fd7d24a7407 [ 33.200016][ T317] RDX: 0000000000000200 RSI: 00007fd7d2c1f000 RDI: 0000000000000009 [ 33.208037][ T317] RBP: 000055fc23326790 R08: 0000000000000000 R09: 0000000000000000 [ 33.216057][ T317] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 33.224050][ T317] R13: 0000000000020000 R14: 000055fc23337578 R15: 00007fd7d2d4e39c [ 33.232057][ T317] [ 33.235096][ T317] Modules linked in: [ 33.239038][ T317] CR2: 0000000000000003 [ 33.243236][ T317] ---[ end trace 0000000000000000 ]--- [ 33.248719][ T317] RIP: 0010:do_page_cache_ra+0x18f/0x230 [ 33.254395][ T317] Code: fd ff 48 3d 01 f0 ff ff 72 10 e8 7c 1e d2 ff 49 83 ee 01 73 78 e9 87 00 00 00 49 89 c4 48 89 c7 be 08 00 00 00 e8 11 ba 17 00 41 80 4c 24 03 10 4c 89 e7 48 83 c7 34 be 04 00 00 00 e8 f9 b9 [ 33.274031][ T317] RSP: 0018:ffffc90000e67878 EFLAGS: 00010246 [ 33.280122][ T317] RAX: ffff888122330000 RBX: 0000000000000020 RCX: ffff888122330000 [ 33.288116][ T317] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 33.296107][ T317] RBP: ffffc90000e678c8 R08: ffffffff87b777e7 R09: 1ffffffff0f6eefc [ 33.304104][ T317] R10: dffffc0000000000 R11: fffffbfff0f6eefd R12: 0000000000000000 [ 33.312098][ T317] R13: 000000000000001f R14: 0000000000000000 R15: ffff88810b6ea3d0 [ 33.320087][ T317] FS: 00007fd7d2c27880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 [ 33.329038][ T317] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 33.335669][ T317] CR2: 0000000000000003 CR3: 000000010fdaa000 CR4: 00000000003506b0 [ 33.343668][ T317] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 33.351661][ T317] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 33.359660][ T317] Kernel panic - not syncing: Fatal exception [ 33.366315][ T317] Kernel Offset: disabled [ 33.370652][ T317] Rebooting in 86400 seconds..