ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor2327765209 <...> Warning: Permanently added '10.128.0.19' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor2327765209", ["ci2-android-6-1/syz-executor2327765209"], 0x7ffeb3b114b0 /* 10 vars */) = 0 brk(NULL) = 0x5555866cd000 brk(0x5555866cdd40) = 0x5555866cdd40 arch_prctl(ARCH_SET_FS, 0x5555866cd3c0) = 0 set_tid_address(0x5555866cd690) = 305 set_robust_list(0x5555866cd6a0, 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-executor2327765209", 4096) = 44 getrandom("\x23\x82\xd7\x59\x5c\x2c\xd4\xa6", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555866cdd40 brk(0x5555866eed40) = 0x5555866eed40 brk(0x5555866ef000) = 0x5555866ef000 mprotect(0x7f11f067e000, 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=0x5555866cd690) = 306 ci2-android-6-1/strace-static-x86_64: Process 306 attached [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] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 307 attached [pid 305] <... clone resumed>, child_tidptr=0x5555866cd690) = 307 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] set_robust_list(0x5555866cd6a0, 24 [pid 305] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... set_robust_list resumed>) = 0 [pid 306] getrandom( [pid 305] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... getrandom resumed>"\x6f\xf4\x55\x66\xe5\x35\x6e\xe9", 8, GRND_NONBLOCK) = 8 [pid 305] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 305] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] getrandom( [pid 306] mkdir("./syzkaller.lYswj7", 0700 [pid 307] <... getrandom resumed>"\x91\x4e\x11\x41\x6b\xfb\x91\xc8", 8, GRND_NONBLOCK) = 8 [pid 307] mkdir("./syzkaller.vsmMYq", 0700) = 0 [pid 307] chmod("./syzkaller.vsmMYq", 0777) = 0 [pid 307] chdir("./syzkaller.vsmMYq") = 0 [pid 307] mkdir("./0", 0777) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLYci2-android-6-1/strace-static-x86_64: Process 308 attached [pid 305] <... clone resumed>, child_tidptr=0x5555866cd690) = 308 [pid 306] <... mkdir resumed>) = 0 [pid 305] rt_sigprocmask(SIG_SETMASK, [] [pid 308] set_robust_list(0x5555866cd6a0, 24 [pid 307] <... openat resumed>) = 3 [pid 306] chmod("./syzkaller.lYswj7", 0777 [pid 305] <... rt_sigprocmask resumed>, 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 resumed>) = 0 [pid 306] chdir("./syzkaller.lYswj7") = 0 [pid 306] mkdir("./0", 0777) = 0 [pid 305] <... clone resumed>, child_tidptr=0x5555866cd690) = 309 [pid 305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 305] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... openat resumed>) = 3 [pid 305] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 305] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [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 305] <... clone resumed>, child_tidptr=0x5555866cd690) = 310 [pid 305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 311 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 308] <... set_robust_list resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] getrandom("\x98\x18\x71\x9a\x9a\xc7\xe1\x8d", 8, GRND_NONBLOCK) = 8 [pid 308] mkdir("./syzkaller.kLy16E", 0700) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 312 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 308] chmod("./syzkaller.kLy16E", 0777) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] chdir("./syzkaller.kLy16E") = 0 [pid 308] mkdir("./0", 0777) = 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=0x5555866cd690) = 313 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 313 attached [pid 313] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 313] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 313] chdir("./0") = 0 [pid 313] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 313] setpgid(0, 0) = 0 [pid 313] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 313] write(3, "1000", 4) = 4 [pid 313] close(3) = 0 [pid 313] symlink("/dev/binderfs", "./binderfs"ci2-android-6-1/strace-static-x86_64: Process 309 attached ) = 0 executing program [pid 313] write(1, "executing program\n", 18) = 18 [pid 313] memfd_create("syzkaller", 0) = 3 [pid 313] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 ci2-android-6-1/strace-static-x86_64: Process 311 attached ci2-android-6-1/strace-static-x86_64: Process 310 attached [ 23.961955][ T28] audit: type=1400 audit(1793134514.938:64): avc: denied { execmem } for pid=305 comm="syz-executor232" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 23.986207][ T28] audit: type=1400 audit(1793134514.958:65): avc: denied { read } for pid=307 comm="syz-executor232" name="loop1" dev="devtmpfs" ino=119 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 ci2-android-6-1/strace-static-x86_64: Process 312 attached [pid 310] set_robust_list(0x5555866cd6a0, 24 [pid 311] set_robust_list(0x5555866cd6a0, 24 [pid 309] set_robust_list(0x5555866cd6a0, 24 [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"..., 524288) = 524288 [pid 313] munmap(0x7f11e81cd000, 138412032) = 0 [pid 313] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 313] ioctl(4, LOOP_SET_FD, 3 [pid 312] set_robust_list(0x5555866cd6a0, 24 [pid 311] <... set_robust_list resumed>) = 0 [pid 310] <... set_robust_list resumed>) = 0 [pid 309] <... set_robust_list resumed>) = 0 [pid 313] <... ioctl resumed>) = 0 [pid 313] close(3) = 0 [pid 313] close(4) = 0 [ 24.012150][ T28] audit: type=1400 audit(1793134514.958:66): avc: denied { open } for pid=307 comm="syz-executor232" path="/dev/loop1" dev="devtmpfs" ino=119 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 24.026431][ T313] loop2: detected capacity change from 0 to 1024 [pid 313] mkdir("./file0", 0777) = 0 [pid 313] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 312] <... set_robust_list resumed>) = 0 [pid 311] rt_sigprocmask(SIG_SETMASK, [] [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 312] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 312] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 311] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 312] chdir("./0" [pid 311] chdir("./0" [pid 310] getrandom( [ 24.037642][ T28] audit: type=1400 audit(1793134514.968:67): avc: denied { ioctl } for pid=306 comm="syz-executor232" 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 [ 24.068628][ T28] audit: type=1400 audit(1793134514.998:68): avc: denied { write } for pid=313 comm="syz-executor232" 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 [ 24.081652][ T313] EXT4-fs (loop2): orphan cleanup on readonly fs [pid 309] getrandom( [pid 312] <... chdir resumed>) = 0 [pid 311] <... chdir resumed>) = 0 [pid 312] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] <... getrandom resumed>"\x26\xa8\x20\xf3\x86\x3e\x7e\x44", 8, GRND_NONBLOCK) = 8 [pid 309] <... getrandom resumed>"\x17\x9c\xac\x91\xf0\xcc\xf5\x8a", 8, GRND_NONBLOCK) = 8 [pid 312] <... prctl resumed>) = 0 [pid 311] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] mkdir("./syzkaller.itLUqz", 0700 [pid 309] mkdir("./syzkaller.tEsfko", 0700 [pid 312] setpgid(0, 0 [pid 311] <... prctl resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 312] <... setpgid resumed>) = 0 [pid 311] setpgid(0, 0 [pid 310] chmod("./syzkaller.itLUqz", 0777 [pid 309] chmod("./syzkaller.tEsfko", 0777 [pid 312] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 311] <... setpgid resumed>) = 0 [pid 310] <... chmod resumed>) = 0 [pid 309] <... chmod resumed>) = 0 [pid 312] <... openat resumed>) = 3 [pid 311] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 312] write(3, "1000", 4 [pid 310] chdir("./syzkaller.itLUqz" [pid 309] chdir("./syzkaller.tEsfko" [pid 312] <... write resumed>) = 4 [pid 311] <... openat resumed>) = 3 [pid 312] close(3 [pid 311] write(3, "1000", 4 [pid 310] <... chdir resumed>) = 0 [pid 309] <... chdir resumed>) = 0 [pid 312] <... close resumed>) = 0 [pid 311] <... write resumed>) = 4 [pid 312] symlink("/dev/binderfs", "./binderfs" [pid 311] close(3 [pid 310] mkdir("./0", 0777 [pid 309] mkdir("./0", 0777 [pid 312] <... symlink resumed>) = 0 [pid 311] <... close resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 311] symlink("/dev/binderfs", "./binderfs" [pid 312] write(1, "executing program\n", 18 [pid 310] <... mkdir resumed>) = 0 [pid 312] <... write resumed>) = 18 executing program [pid 311] <... symlink resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [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 312] memfd_create("syzkaller", 0 executing program [pid 311] write(1, "executing program\n", 18 [pid 309] <... openat resumed>) = 3 [pid 312] <... memfd_create resumed>) = 3 [pid 311] <... write resumed>) = 18 [pid 309] ioctl(3, LOOP_CLR_FD [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 316 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 312] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 311] memfd_create("syzkaller", 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 312] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] close(3 [pid 311] <... memfd_create resumed>) = 3 [pid 309] <... close resumed>) = 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"..., 524288 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 311] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 311] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 312] <... write resumed>) = 524288 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 317 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [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"..., 524288 [pid 312] munmap(0x7f11e81cd000, 138412032ci2-android-6-1/strace-static-x86_64: Process 317 attached [pid 311] <... write resumed>) = 524288 [pid 312] <... munmap resumed>) = 0 [pid 312] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 311] munmap(0x7f11e81cd000, 138412032ci2-android-6-1/strace-static-x86_64: Process 316 attached [pid 317] set_robust_list(0x5555866cd6a0, 24 [pid 312] <... openat resumed>) = 4 [pid 312] ioctl(4, LOOP_SET_FD, 3 [pid 317] <... set_robust_list resumed>) = 0 [pid 316] set_robust_list(0x5555866cd6a0, 24 [pid 312] <... ioctl resumed>) = 0 [pid 311] <... munmap resumed>) = 0 [pid 311] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 24.093436][ T28] audit: type=1400 audit(1793134515.048:69): avc: denied { mounton } for pid=313 comm="syz-executor232" path="/root/syzkaller.kLy16E/0/file0" dev="sda1" ino=2032 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 24.134072][ T313] EXT4-fs (loop2): 1 truncate cleaned up [ 24.144649][ T312] loop1: detected capacity change from 0 to 1024 [ 24.151283][ T313] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [pid 311] ioctl(4, LOOP_SET_FD, 3 [pid 317] rt_sigprocmask(SIG_SETMASK, [] [pid 316] <... set_robust_list resumed>) = 0 [pid 313] <... mount resumed>) = 0 [pid 312] close(3 [pid 317] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 316] rt_sigprocmask(SIG_SETMASK, [] [pid 317] chdir("./0" [pid 316] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 317] <... chdir resumed>) = 0 [pid 316] chdir("./0" [pid 317] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 316] <... chdir resumed>) = 0 [pid 312] <... close resumed>) = 0 [pid 317] <... prctl resumed>) = 0 [pid 316] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 317] setpgid(0, 0 [pid 316] <... prctl resumed>) = 0 [pid 312] close(4 [pid 317] <... setpgid resumed>) = 0 [pid 316] setpgid(0, 0 [pid 313] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 317] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 316] <... setpgid resumed>) = 0 [pid 312] <... close resumed>) = 0 [pid 317] <... openat resumed>) = 3 [pid 316] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 313] <... openat resumed>) = 3 [pid 317] write(3, "1000", 4 [pid 316] <... openat resumed>) = 3 [pid 312] mkdir("./file0", 0777 [pid 317] <... write resumed>) = 4 [pid 316] write(3, "1000", 4 [pid 313] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 317] close(3 [pid 316] <... write resumed>) = 4 [pid 312] <... mkdir resumed>) = 0 [pid 317] <... close resumed>) = 0 [pid 316] close(3 [pid 313] <... openat resumed>) = 4 [pid 312] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 317] symlink("/dev/binderfs", "./binderfs" [pid 316] <... close resumed>) = 0 [pid 313] ioctl(4, LOOP_CLR_FD [pid 311] <... ioctl resumed>) = 0 [pid 311] close(3) = 0 [pid 311] close(4) = 0 [pid 311] mkdir("./file0", 0777) = 0 [pid 311] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 316] symlink("/dev/binderfs", "./binderfs" [pid 317] <... symlink resumed>) = 0 [pid 313] <... ioctl resumed>) = 0 [pid 316] <... symlink resumed>) = 0 [pid 316] write(1, "executing program\n", 18) = 18 executing program [pid 316] memfd_create("syzkaller", 0 [pid 313] close(4 [pid 316] <... memfd_create resumed>) = 3 [pid 316] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 317] write(1, "executing program\n", 18 [pid 316] 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"..., 524288 [pid 313] <... close resumed>) = 0 executing program [pid 317] <... write resumed>) = 18 [pid 313] exit_group(0 [pid 317] memfd_create("syzkaller", 0 [pid 313] <... exit_group resumed>) = ? [pid 313] +++ exited with 0 +++ [pid 317] <... memfd_create resumed>) = 3 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=313, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 317] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 316] <... write resumed>) = 524288 [pid 316] munmap(0x7f11e81cd000, 138412032) = 0 [pid 316] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 316] ioctl(4, LOOP_SET_FD, 3 [pid 317] 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"..., 524288 [pid 308] <... restart_syscall resumed>) = 0 [ 24.154964][ T311] loop0: detected capacity change from 0 to 1024 [ 24.166632][ T28] audit: type=1400 audit(1793134515.148:70): avc: denied { mount } for pid=313 comm="syz-executor232" name="/" dev="loop2" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 24.201508][ T311] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 317] <... write resumed>) = 524288 [pid 308] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./0", 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 316] <... ioctl resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 316] close(3 [pid 317] munmap(0x7f11e81cd000, 138412032) = 0 [pid 317] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 24.208191][ T316] loop4: detected capacity change from 0 to 1024 [ 24.216303][ T311] EXT4-fs (loop0): 1 truncate cleaned up [ 24.222661][ T28] audit: type=1400 audit(1793134515.198:71): avc: denied { unmount } for pid=308 comm="syz-executor232" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 24.243408][ T308] EXT4-fs (loop2): unmounting filesystem. [ 24.243834][ T312] EXT4-fs (loop1): orphan cleanup on readonly fs [ 24.251199][ T317] loop3: detected capacity change from 0 to 1024 [pid 317] ioctl(4, LOOP_SET_FD, 3 [pid 316] <... close resumed>) = 0 [pid 316] close(4) = 0 [pid 316] mkdir("./file0", 0777 [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./0/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./0/file0") = 0 [pid 316] <... mkdir resumed>) = 0 [pid 308] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./0/binderfs" [pid 316] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... unlink resumed>) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./0") = 0 [pid 308] mkdir("./1", 0777) = 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=0x5555866cd690) = 324 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 324 attached [pid 324] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 324] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 324] chdir("./1") = 0 [pid 324] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 324] setpgid(0, 0) = 0 [pid 324] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 324] write(3, "1000", 4) = 4 [pid 324] close(3) = 0 [pid 324] symlink("/dev/binderfs", "./binderfs") = 0 [pid 324] write(1, "executing program\n", 18) = 18 executing program [pid 324] memfd_create("syzkaller", 0) = 3 [pid 324] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 317] <... ioctl resumed>) = 0 [pid 317] close(3) = 0 [pid 317] close(4) = 0 [pid 317] mkdir("./file0", 0777) = 0 [pid 324] 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"..., 524288 [pid 317] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 324] <... write resumed>) = 524288 [pid 324] munmap(0x7f11e81cd000, 138412032) = 0 [pid 324] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 24.262130][ T311] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 24.294427][ T312] EXT4-fs (loop1): 1 truncate cleaned up [ 24.300563][ T324] loop2: detected capacity change from 0 to 1024 [pid 324] ioctl(4, LOOP_SET_FD, 3 [pid 311] <... mount resumed>) = 0 [pid 311] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 324] <... ioctl resumed>) = 0 [pid 324] close(3) = 0 [pid 324] close(4) = 0 [pid 324] mkdir("./file0", 0777) = 0 [pid 324] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 311] <... openat resumed>) = 3 [pid 311] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 312] <... mount resumed>) = 0 [pid 311] <... openat resumed>) = 4 [pid 311] ioctl(4, LOOP_CLR_FD [pid 312] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 311] <... ioctl resumed>) = 0 [pid 311] close(4 [pid 312] <... openat resumed>) = 3 [pid 311] <... close resumed>) = 0 [pid 312] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 311] exit_group(0) = ? [pid 311] +++ exited with 0 +++ [pid 312] <... openat resumed>) = 4 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=311, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 312] ioctl(4, LOOP_CLR_FD [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 312] <... ioctl resumed>) = 0 [ 24.309064][ T317] EXT4-fs (loop3): orphan cleanup on readonly fs [ 24.311390][ T316] EXT4-fs (loop4): orphan cleanup on readonly fs [ 24.324294][ T312] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [ 24.338079][ T317] EXT4-fs (loop3): 1 truncate cleaned up [ 24.347693][ T324] EXT4-fs (loop2): orphan cleanup on readonly fs [ 24.356270][ T316] EXT4-fs (loop4): 1 truncate cleaned up [pid 312] close(4 [pid 306] <... restart_syscall resumed>) = 0 [pid 317] <... mount resumed>) = 0 [pid 312] <... close resumed>) = 0 [pid 312] exit_group(0) = ? [pid 306] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 312] +++ exited with 0 +++ [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=312, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 306] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... openat resumed>) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 317] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 316] <... mount resumed>) = 0 [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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 317] <... openat resumed>) = 3 [pid 316] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 317] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 316] <... openat resumed>) = 3 [pid 317] <... openat resumed>) = 4 [pid 316] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 317] ioctl(4, LOOP_CLR_FD [pid 324] <... mount resumed>) = 0 [pid 317] <... ioctl resumed>) = 0 [pid 316] <... openat resumed>) = 4 [pid 317] close(4 [pid 316] ioctl(4, LOOP_CLR_FD [pid 324] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 317] <... close resumed>) = 0 [pid 316] <... ioctl resumed>) = 0 [pid 324] <... openat resumed>) = 3 [pid 317] exit_group(0 [pid 316] close(4 [pid 317] <... exit_group resumed>) = ? [pid 324] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 316] <... close resumed>) = 0 [pid 317] +++ exited with 0 +++ [pid 316] exit_group(0 [pid 324] <... openat resumed>) = 4 [pid 316] <... exit_group resumed>) = ? [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=317, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 316] +++ exited with 0 +++ [pid 324] ioctl(4, LOOP_CLR_FD) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=316, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 324] close(4 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 324] <... close resumed>) = 0 [pid 324] exit_group(0) = ? [pid 324] +++ exited with 0 +++ [pid 309] <... restart_syscall resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=324, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 309] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] fstat(3 [pid 308] <... openat resumed>) = 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] fstat(3 [pid 309] getdents64(3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] getdents64(3 [pid 309] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... umount2 resumed>) = 0 [ 24.357066][ T324] EXT4-fs (loop2): 1 truncate cleaned up [ 24.368037][ T317] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [ 24.377187][ T316] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [ 24.389760][ T324] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [ 24.393969][ T306] EXT4-fs (loop0): unmounting filesystem. [ 24.406800][ T307] EXT4-fs (loop1): unmounting filesystem. [pid 308] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... restart_syscall resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 306] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./0/file0" [pid 310] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] newfstatat(AT_FDCWD, "./0/file0" [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./0", 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 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 3 [pid 307] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... openat resumed>) = 4 [pid 310] getdents64(3 [pid 307] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] fstat(4 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... openat resumed>) = 4 [pid 306] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] fstat(4 [pid 309] <... umount2 resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4 [pid 309] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] close(4 [pid 309] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... close resumed>) = 0 [pid 309] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rmdir("./0/file0" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] getdents64(4 [pid 309] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... rmdir resumed>) = 0 [pid 309] <... openat resumed>) = 4 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] fstat(4 [pid 307] close(4 [pid 306] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] getdents64(4 [pid 307] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./0/binderfs" [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] rmdir("./0/file0" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] unlink("./0/binderfs" [pid 309] close(4 [pid 306] <... unlink resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./0/file0" [pid 306] getdents64(3 [pid 309] <... rmdir resumed>) = 0 [pid 309] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rmdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(3 [pid 309] newfstatat(AT_FDCWD, "./0/binderfs" [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 307] newfstatat(AT_FDCWD, "./0/binderfs" [pid 306] rmdir("./0" [pid 309] unlink("./0/binderfs") = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 308] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] getdents64(3 [pid 308] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] close(3) = 0 [pid 308] <... openat resumed>) = 4 [pid 306] mkdir("./1", 0777 [pid 309] rmdir("./0" [pid 308] fstat(4 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 309] mkdir("./1", 0777 [pid 308] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... mkdir resumed>) = 0 [pid 308] getdents64(4 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] close(4 [pid 306] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 3 [pid 308] <... close resumed>) = 0 [pid 307] unlink("./0/binderfs" [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] rmdir("./1/file0") = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] close(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] close(3 [pid 308] newfstatat(AT_FDCWD, "./1/binderfs" [pid 309] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] unlink("./1/binderfs") = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] getdents64(3 [pid 307] <... unlink resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 329 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] getdents64(3 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] close(3 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... close resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] rmdir("./1" [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 330 [pid 308] <... rmdir resumed>) = 0 [pid 308] mkdir("./2", 0777 [pid 307] close(3 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... mkdir resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... close resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 330 attached [pid 330] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 330] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] rmdir("./0" [pid 308] <... openat resumed>) = 3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 330] chdir("./1" [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... rmdir resumed>) = 0 [pid 308] close(3) = 0 [pid 307] mkdir("./1", 0777 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 330] <... chdir resumed>) = 0 [pid 330] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 330] <... prctl resumed>) = 0 [pid 330] setpgid(0, 0) = 0 [pid 330] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 331 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... openat resumed>) = 3 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 330] <... openat resumed>) = 3 [pid 310] <... umount2 resumed>) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) ci2-android-6-1/strace-static-x86_64: Process 329 attached ci2-android-6-1/strace-static-x86_64: Process 331 attached [pid 310] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] close(3 [pid 330] write(3, "1000", 4) = 4 [pid 330] close(3) = 0 [pid 330] symlink("/dev/binderfs", "./binderfs" [pid 307] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 330] <... symlink resumed>) = 0 [pid 330] write(1, "executing program\n", 18) = 18 executing program [pid 330] memfd_create("syzkaller", 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 330] <... memfd_create resumed>) = 3 [pid 330] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] newfstatat(AT_FDCWD, "./0/file0" [pid 329] set_robust_list(0x5555866cd6a0, 24 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 332 attached [pid 331] set_robust_list(0x5555866cd6a0, 24 [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"..., 524288 [pid 329] <... set_robust_list resumed>) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 332 [pid 329] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 329] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 329] chdir("./1" [pid 310] <... openat resumed>) = 4 [pid 329] <... chdir resumed>) = 0 [pid 310] fstat(4 [pid 329] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 329] <... prctl resumed>) = 0 [pid 310] getdents64(4 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 329] setpgid(0, 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 332] set_robust_list(0x5555866cd6a0, 24 [pid 329] <... setpgid resumed>) = 0 [pid 310] getdents64(4 [pid 332] <... set_robust_list resumed>) = 0 [pid 331] <... set_robust_list resumed>) = 0 [pid 329] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 329] <... openat resumed>) = 3 [pid 310] close(4 [pid 331] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 329] write(3, "1000", 4 [pid 310] <... close resumed>) = 0 [pid 329] <... write resumed>) = 4 [pid 310] rmdir("./0/file0" [pid 331] chdir("./2" [pid 329] close(3 [pid 310] <... rmdir resumed>) = 0 [pid 329] <... close resumed>) = 0 [pid 310] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 329] symlink("/dev/binderfs", "./binderfs" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 331] <... chdir resumed>) = 0 [pid 329] <... symlink resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./0/binderfs" [pid 329] write(1, "executing program\n", 18 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 329] <... write resumed>) = 18 executing program [pid 310] unlink("./0/binderfs" [pid 330] <... write resumed>) = 524288 [pid 329] memfd_create("syzkaller", 0 [pid 310] <... unlink resumed>) = 0 [pid 329] <... memfd_create resumed>) = 3 [pid 310] getdents64(3 [pid 329] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 329] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] close(3 [pid 332] rt_sigprocmask(SIG_SETMASK, [] [pid 331] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 330] munmap(0x7f11e81cd000, 138412032 [pid 331] <... prctl resumed>) = 0 [pid 331] setpgid(0, 0) = 0 [pid 331] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 310] <... close resumed>) = 0 [pid 331] write(3, "1000", 4 [pid 310] rmdir("./0" [pid 331] <... write resumed>) = 4 [pid 331] close(3) = 0 [ 24.424875][ T308] EXT4-fs (loop2): unmounting filesystem. [ 24.432317][ T309] EXT4-fs (loop3): unmounting filesystem. [ 24.440229][ T310] EXT4-fs (loop4): unmounting filesystem. [pid 331] symlink("/dev/binderfs", "./binderfs") = 0 [pid 310] <... rmdir resumed>) = 0 [pid 331] write(1, "executing program\n", 18 executing program [pid 310] mkdir("./1", 0777 [pid 331] <... write resumed>) = 18 [pid 331] memfd_create("syzkaller", 0) = 3 [pid 331] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 332] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 330] <... munmap resumed>) = 0 [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"..., 524288 [pid 310] <... mkdir resumed>) = 0 [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"..., 524288 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 332] chdir("./1" [pid 330] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 329] <... write resumed>) = 524288 [pid 310] <... openat resumed>) = 3 [pid 331] <... write resumed>) = 524288 [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 332] <... chdir resumed>) = 0 [pid 331] munmap(0x7f11e81cd000, 138412032 [pid 330] <... openat resumed>) = 4 [pid 329] munmap(0x7f11e81cd000, 138412032) = 0 [pid 329] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 333 ci2-android-6-1/strace-static-x86_64: Process 333 attached [pid 329] <... openat resumed>) = 4 [pid 329] ioctl(4, LOOP_SET_FD, 3 [pid 333] set_robust_list(0x5555866cd6a0, 24 [pid 332] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 331] <... munmap resumed>) = 0 [pid 330] ioctl(4, LOOP_SET_FD, 3 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 333] <... set_robust_list resumed>) = 0 [pid 332] <... prctl resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 333] rt_sigprocmask(SIG_SETMASK, [] [pid 332] setpgid(0, 0 [pid 331] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 329] <... ioctl resumed>) = 0 [pid 331] <... openat resumed>) = 4 [pid 329] close(3 [pid 331] ioctl(4, LOOP_SET_FD, 3 [pid 329] <... close resumed>) = 0 [pid 333] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 332] <... setpgid resumed>) = 0 [pid 330] <... ioctl resumed>) = 0 [pid 329] close(4 [pid 333] chdir("./1" [pid 332] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 330] close(3 [pid 333] <... chdir resumed>) = 0 [pid 332] <... openat resumed>) = 3 [pid 330] <... close resumed>) = 0 [pid 333] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 332] write(3, "1000", 4 [pid 330] close(4 [pid 333] <... prctl resumed>) = 0 [pid 332] <... write resumed>) = 4 [pid 330] <... close resumed>) = 0 [pid 333] setpgid(0, 0 [pid 332] close(3 [pid 333] <... setpgid resumed>) = 0 [pid 332] <... close resumed>) = 0 [pid 330] mkdir("./file0", 0777 [pid 333] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 332] symlink("/dev/binderfs", "./binderfs" [pid 333] <... openat resumed>) = 3 [pid 332] <... symlink resumed>) = 0 [pid 330] <... mkdir resumed>) = 0 [pid 333] write(3, "1000", 4 [pid 332] write(1, "executing program\n", 18 [pid 333] <... write resumed>) = 4 [pid 332] <... write resumed>) = 18 [pid 330] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 333] close(3 [pid 332] memfd_create("syzkaller", 0 [pid 333] <... close resumed>) = 0 [pid 332] <... memfd_create resumed>) = 3 [pid 333] symlink("/dev/binderfs", "./binderfs" [pid 332] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 333] <... symlink resumed>) = 0 [pid 332] <... mmap resumed>) = 0x7f11e81cd000 [pid 333] write(1, "executing program\n", 18 [pid 332] 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"..., 524288 [pid 333] <... write resumed>) = 18 [pid 332] <... write resumed>) = 524288 [pid 333] memfd_create("syzkaller", 0 [pid 332] munmap(0x7f11e81cd000, 138412032 [pid 333] <... memfd_create resumed>) = 3 [pid 332] <... munmap resumed>) = 0 [pid 333] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 332] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 333] <... mmap resumed>) = 0x7f11e81cd000 [pid 332] <... openat resumed>) = 4 [pid 333] 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"..., 524288 executing program executing program [pid 332] ioctl(4, LOOP_SET_FD, 3 [pid 333] <... write resumed>) = 524288 [pid 331] <... ioctl resumed>) = 0 [pid 329] <... close resumed>) = 0 [pid 331] close(3 [pid 329] mkdir("./file0", 0777 [pid 331] <... close resumed>) = 0 [pid 329] <... mkdir resumed>) = 0 [pid 331] close(4 [pid 329] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 331] <... close resumed>) = 0 [ 24.491836][ T329] loop3: detected capacity change from 0 to 1024 [ 24.494587][ T330] loop0: detected capacity change from 0 to 1024 [ 24.501280][ T331] loop2: detected capacity change from 0 to 1024 [ 24.525669][ T332] loop1: detected capacity change from 0 to 1024 [pid 331] mkdir("./file0", 0777 [pid 333] munmap(0x7f11e81cd000, 138412032 [pid 331] <... mkdir resumed>) = 0 [pid 333] <... munmap resumed>) = 0 [pid 331] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 333] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 332] <... ioctl resumed>) = 0 [pid 332] close(3) = 0 [pid 332] close(4) = 0 [pid 332] mkdir("./file0", 0777) = 0 [pid 332] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 333] <... openat resumed>) = 4 [pid 333] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 333] close(3) = 0 [pid 333] close(4) = 0 [pid 333] mkdir("./file0", 0777) = 0 [ 24.538105][ T330] EXT4-fs (loop0): orphan cleanup on readonly fs [ 24.555690][ T329] EXT4-fs (loop3): orphan cleanup on readonly fs [ 24.565254][ T331] EXT4-fs (loop2): orphan cleanup on readonly fs [ 24.572489][ T329] EXT4-fs (loop3): 1 truncate cleaned up [ 24.573682][ T331] EXT4-fs (loop2): 1 truncate cleaned up [ 24.579576][ T330] EXT4-fs (loop0): 1 truncate cleaned up [pid 333] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 331] <... mount resumed>) = 0 [pid 331] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 331] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 329] <... mount resumed>) = 0 [pid 329] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 329] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [ 24.584470][ T331] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [ 24.599438][ T329] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [ 24.599762][ T333] EXT4-fs (loop4): orphan cleanup on readonly fs [ 24.611579][ T330] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 24.617487][ T333] EXT4-fs (loop4): 1 truncate cleaned up [ 24.629641][ T333] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [pid 329] ioctl(4, LOOP_CLR_FD) = 0 [pid 329] close(4) = 0 [pid 329] exit_group(0) = ? [pid 329] +++ exited with 0 +++ [pid 331] ioctl(4, LOOP_CLR_FD [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=329, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 331] <... ioctl resumed>) = 0 [pid 331] close(4) = 0 [pid 331] exit_group(0) = ? [pid 309] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 331] +++ exited with 0 +++ [pid 330] <... mount resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 330] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=331, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 330] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 3 [pid 330] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 309] fstat(3 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 330] <... openat resumed>) = 4 [pid 330] ioctl(4, LOOP_CLR_FD [pid 309] getdents64(3 [pid 330] <... ioctl resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 330] close(4 [pid 309] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 330] <... close resumed>) = 0 [pid 333] <... mount resumed>) = 0 [pid 333] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 333] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 333] ioctl(4, LOOP_CLR_FD) = 0 [pid 333] close(4) = 0 [pid 333] exit_group(0 [pid 308] <... restart_syscall resumed>) = 0 [pid 330] exit_group(0) = ? [pid 308] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] fstat(3 [pid 330] +++ exited with 0 +++ [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=330, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... restart_syscall resumed>) = 0 [pid 333] <... exit_group resumed>) = ? [pid 332] <... mount resumed>) = 0 [pid 333] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=333, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 306] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./1", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 332] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 332] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 332] ioctl(4, LOOP_CLR_FD) = 0 [pid 332] close(4) = 0 [pid 332] exit_group(0) = ? [pid 309] <... umount2 resumed>) = 0 [pid 332] +++ exited with 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 24.639018][ T332] EXT4-fs (loop1): orphan cleanup on readonly fs [ 24.648064][ T332] EXT4-fs (loop1): 1 truncate cleaned up [ 24.655721][ T309] EXT4-fs (loop3): unmounting filesystem. [ 24.667158][ T332] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [ 24.677800][ T308] EXT4-fs (loop2): unmounting filesystem. [ 24.685784][ T306] EXT4-fs (loop0): unmounting filesystem. [pid 310] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=332, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 4 [pid 307] fstat(3 [pid 309] fstat(4 [pid 310] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 310] fstat(4 [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(4 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4 [pid 307] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] getdents64(4 [pid 310] close(4) = 0 [pid 310] rmdir("./1/file0" [pid 307] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 310] <... rmdir resumed>) = 0 [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 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./1") = 0 [pid 310] mkdir("./2", 0777) = 0 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./1/file0" [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD) = 0 [pid 310] close(3 [pid 309] <... rmdir resumed>) = 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 309] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./1/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./1") = 0 [pid 309] mkdir("./2", 0777 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 339 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 339 attached [pid 339] set_robust_list(0x5555866cd6a0, 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 309] <... mkdir resumed>) = 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, ~[] [pid 339] symlink("/dev/binderfs", "./binderfs" [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... umount2 resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 340 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 340 attached [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./2/file0", 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, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] newfstatat(AT_FDCWD, "./1/file0" [pid 308] <... openat resumed>) = 4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] fstat(4 [pid 306] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 340] set_robust_list(0x5555866cd6a0, 24 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4 [pid 306] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 340] <... set_robust_list resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... openat resumed>) = 4 [pid 340] rt_sigprocmask(SIG_SETMASK, [] [pid 308] close(4 [pid 306] fstat(4 [pid 308] <... close resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 340] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] rmdir("./2/file0" [pid 306] getdents64(4 [pid 308] <... rmdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 340] chdir("./2" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] getdents64(4 [pid 308] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 340] <... chdir resumed>) = 0 [pid 308] unlink("./2/binderfs") = 0 [pid 306] close(4 [pid 340] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] getdents64(3 [pid 340] <... prctl resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... close resumed>) = 0 [pid 308] close(3) = 0 [pid 306] rmdir("./1/file0" [pid 308] rmdir("./2" [pid 306] <... rmdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 340] setpgid(0, 0 [pid 306] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 340] <... setpgid resumed>) = 0 [pid 308] mkdir("./3", 0777 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... mkdir resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./1/binderfs" [pid 340] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 340] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 306] unlink("./1/binderfs" [pid 340] write(3, "1000", 4 [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] <... unlink resumed>) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 340] <... write resumed>) = 4 [pid 308] close(3 [pid 306] getdents64(3 [pid 308] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 340] close(3 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] close(3 [pid 340] <... close resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 340] symlink("/dev/binderfs", "./binderfs" [pid 306] <... close resumed>) = 0 [pid 340] <... symlink resumed>) = 0 [pid 306] rmdir("./1" [pid 340] write(1, "executing program\n", 18 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 341 [pid 340] <... write resumed>) = 18 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... rmdir resumed>) = 0 executing program [pid 340] memfd_create("syzkaller", 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] mkdir("./2", 0777 [pid 340] <... memfd_create resumed>) = 3 [pid 340] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 339] <... symlink resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 340] <... mmap resumed>) = 0x7f11e81cd000 [pid 339] write(1, "executing program\n", 18 executing program [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [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"..., 524288 [pid 306] <... openat resumed>) = 3 [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) ci2-android-6-1/strace-static-x86_64: Process 341 attached [pid 340] <... write resumed>) = 524288 [pid 339] <... write resumed>) = 18 [pid 307] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(3 [pid 341] set_robust_list(0x5555866cd6a0, 24 [pid 340] munmap(0x7f11e81cd000, 138412032 [pid 339] memfd_create("syzkaller", 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 340] <... munmap resumed>) = 0 [pid 339] <... memfd_create resumed>) = 3 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 340] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 339] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 341] <... set_robust_list resumed>) = 0 [pid 340] <... openat resumed>) = 4 [pid 339] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] newfstatat(AT_FDCWD, "./1/file0" [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [ 24.692939][ T310] EXT4-fs (loop4): unmounting filesystem. [ 24.706820][ T307] EXT4-fs (loop1): unmounting filesystem. [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [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"..., 524288 [pid 340] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 342 [pid 340] close(3 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 340] <... close resumed>) = 0 [pid 340] close(4 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 340] <... close resumed>) = 0 [pid 340] mkdir("./file0", 0777 [pid 341] rt_sigprocmask(SIG_SETMASK, [] [pid 340] <... mkdir resumed>) = 0 [pid 340] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 341] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 341] chdir("./3" [pid 339] <... write resumed>) = 524288 [pid 341] <... chdir resumed>) = 0 [pid 339] munmap(0x7f11e81cd000, 138412032 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 341] prctl(PR_SET_PDEATHSIG, SIGKILLci2-android-6-1/strace-static-x86_64: Process 342 attached ) = 0 [pid 339] <... munmap resumed>) = 0 [pid 341] setpgid(0, 0) = 0 [pid 339] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 307] umount2("./1/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 342] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 342] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 342] chdir("./2") = 0 [pid 342] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 342] setpgid(0, 0) = 0 [pid 342] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 342] write(3, "1000", 4) = 4 [pid 342] close(3) = 0 [pid 342] symlink("/dev/binderfs", "./binderfs") = 0 [pid 342] write(1, "executing program\n", 18) = 18 [pid 342] memfd_create("syzkaller", 0) = 3 [pid 342] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 341] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 341] <... openat resumed>) = 3 [pid 341] write(3, "1000", 4 [pid 307] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 339] <... openat resumed>) = 4 [pid 341] <... write resumed>) = 4 [pid 339] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... openat resumed>) = 4 [pid 341] close(3 [pid 307] fstat(4 [pid 341] <... close resumed>) = 0 [pid 339] <... ioctl resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 342] 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"..., 524288 [pid 341] symlink("/dev/binderfs", "./binderfs" [pid 339] close(3 [pid 307] getdents64(4 [pid 341] <... symlink resumed>) = 0 [pid 339] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 341] write(1, "executing program\n", 18 [pid 339] close(4 executing program [pid 307] getdents64(4 [pid 341] <... write resumed>) = 18 [pid 339] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 341] memfd_create("syzkaller", 0) = 3 [pid 339] mkdir("./file0", 0777 [pid 307] close(4 [pid 341] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 339] <... mkdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 341] <... mmap resumed>) = 0x7f11e81cd000 [pid 339] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] rmdir("./1/file0") = 0 [pid 341] 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"..., 524288 [pid 307] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 341] <... write resumed>) = 524288 [pid 307] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./1/binderfs" [pid 341] munmap(0x7f11e81cd000, 138412032 [pid 342] <... write resumed>) = 524288 [pid 307] <... unlink resumed>) = 0 [pid 342] munmap(0x7f11e81cd000, 138412032 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3 [pid 342] <... munmap resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 342] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 307] rmdir("./1" [pid 342] <... openat resumed>) = 4 [pid 342] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... rmdir resumed>) = 0 [pid 307] mkdir("./2", 0777 [pid 342] <... ioctl resumed>) = 0 [pid 342] close(3) = 0 [pid 342] close(4) = 0 [pid 342] mkdir("./file0", 0777) = 0 [pid 342] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [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 [pid 340] <... mount resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 340] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 340] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 340] ioctl(4, LOOP_CLR_FD) = 0 [pid 340] close(4) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 340] exit_group(0) = ? [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 346 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 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=4 /* 0.04 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 346 attached [pid 346] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 346] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 346] chdir("./2") = 0 [pid 346] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 346] setpgid(0, 0) = 0 [pid 346] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 346] write(3, "1000", 4) = 4 [pid 346] close(3) = 0 [pid 346] symlink("/dev/binderfs", "./binderfs") = 0 [pid 346] write(1, "executing program\n", 18) = 18 executing program [pid 346] memfd_create("syzkaller", 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -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 346] <... memfd_create resumed>) = 3 [ 24.761396][ T340] EXT4-fs (loop3): orphan cleanup on readonly fs [ 24.777964][ T340] EXT4-fs (loop3): 1 truncate cleaned up [ 24.785221][ T339] EXT4-fs (loop4): orphan cleanup on readonly fs [ 24.787785][ T340] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [pid 309] getdents64(3 [pid 346] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 346] <... mmap resumed>) = 0x7f11e81cd000 [pid 346] 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"..., 524288 [pid 341] <... munmap resumed>) = 0 [pid 346] <... write resumed>) = 524288 [pid 346] munmap(0x7f11e81cd000, 138412032) = 0 [pid 346] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 346] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 346] close(3) = 0 [pid 346] close(4) = 0 [pid 346] mkdir("./file0", 0777) = 0 [pid 346] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 341] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 309] <... umount2 resumed>) = 0 [pid 341] <... openat resumed>) = 4 [pid 341] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 309] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 341] close(3) = 0 [pid 341] close(4) = 0 [pid 341] mkdir("./file0", 0777 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 341] <... mkdir resumed>) = 0 [ 24.812865][ T309] EXT4-fs (loop3): unmounting filesystem. [ 24.824167][ T339] EXT4-fs (loop4): 1 truncate cleaned up [ 24.830310][ T342] EXT4-fs (loop0): orphan cleanup on readonly fs [ 24.838254][ T346] EXT4-fs (loop1): orphan cleanup on readonly fs [ 24.845585][ T342] EXT4-fs (loop0): 1 truncate cleaned up [ 24.852243][ T339] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [pid 309] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 341] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./2/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 346] <... mount resumed>) = 0 [pid 309] getdents64(4 [pid 346] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 346] <... openat resumed>) = 3 [pid 346] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] close(4 [pid 346] <... openat resumed>) = 4 [pid 309] <... close resumed>) = 0 [pid 346] ioctl(4, LOOP_CLR_FD) = 0 [pid 309] rmdir("./2/file0" [pid 346] close(4) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 346] exit_group(0 [pid 309] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 346] <... exit_group resumed>) = ? [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./2/binderfs" [pid 346] +++ exited with 0 +++ [pid 309] <... unlink resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=346, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [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=0x5555866cd690) = 349 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 339] <... mount resumed>) = 0 [pid 339] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 342] <... mount resumed>) = 0 [pid 339] <... openat resumed>) = 3 [pid 342] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 339] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 342] <... openat resumed>) = 3 [pid 339] <... openat resumed>) = 4 [pid 342] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 339] ioctl(4, LOOP_CLR_FD [pid 342] <... openat resumed>) = 4 [pid 339] <... ioctl resumed>) = 0 [pid 342] ioctl(4, LOOP_CLR_FD [pid 339] close(4 [pid 342] <... ioctl resumed>) = 0 [pid 339] <... close resumed>) = 0 [pid 342] close(4) = 0 [pid 339] exit_group(0 [pid 342] exit_group(0 [pid 339] <... exit_group resumed>) = ? ci2-android-6-1/strace-static-x86_64: Process 349 attached [pid 342] <... exit_group resumed>) = ? [pid 339] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=339, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [ 24.862187][ T346] EXT4-fs (loop1): 1 truncate cleaned up [ 24.868131][ T346] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [ 24.882029][ T307] EXT4-fs (loop1): unmounting filesystem. [ 24.897767][ T342] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 24.905385][ T341] EXT4-fs (loop2): orphan cleanup on readonly fs [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 349] set_robust_list(0x5555866cd6a0, 24 [pid 310] <... restart_syscall resumed>) = 0 [pid 349] <... set_robust_list resumed>) = 0 [pid 342] +++ exited with 0 +++ [pid 349] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 310] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=342, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 349] chdir("./3" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 349] <... chdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 349] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] fstat(3 [pid 306] <... openat resumed>) = 3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(3 [pid 310] getdents64(3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 349] <... prctl resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] getdents64(3 [pid 349] setpgid(0, 0 [pid 310] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 349] <... setpgid resumed>) = 0 [pid 306] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 349] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 341] <... mount resumed>) = 0 [pid 307] getdents64(4 [pid 349] <... openat resumed>) = 3 [pid 349] write(3, "1000", 4) = 4 [pid 349] close(3) = 0 [pid 349] symlink("/dev/binderfs", "./binderfs") = 0 [pid 349] write(1, "executing program\n", 18) = 18 [pid 349] memfd_create("syzkaller", 0) = 3 [pid 349] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 349] 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"..., 524288 [pid 341] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... umount2 resumed>) = 0 [pid 341] <... openat resumed>) = 3 [pid 341] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] getdents64(4 [pid 341] <... openat resumed>) = 4 [pid 341] ioctl(4, LOOP_CLR_FD [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 341] <... ioctl resumed>) = 0 [pid 341] close(4 [pid 307] close(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 341] <... close resumed>) = 0 [pid 341] exit_group(0 [pid 307] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./2/file0" [pid 341] <... exit_group resumed>) = ? [pid 341] +++ exited with 0 +++ [pid 307] rmdir("./2/file0" [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=341, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 349] <... write resumed>) = 524288 [pid 310] <... umount2 resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... rmdir resumed>) = 0 [pid 306] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 349] munmap(0x7f11e81cd000, 138412032 [pid 310] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 349] <... munmap resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 349] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] newfstatat(AT_FDCWD, "./2/file0" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 349] <... openat resumed>) = 4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] newfstatat(AT_FDCWD, "./2/binderfs" [pid 306] <... openat resumed>) = 4 [pid 349] ioctl(4, LOOP_SET_FD, 3 [pid 310] umount2("./2/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] fstat(4 [pid 349] <... ioctl resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] unlink("./2/binderfs" [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 349] close(3 [pid 310] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... restart_syscall resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 349] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 307] getdents64(3 [pid 306] getdents64(4 [pid 349] close(4 [pid 310] fstat(4 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 349] <... close resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] close(3 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 349] mkdir("./file0", 0777 [pid 310] getdents64(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... close resumed>) = 0 [pid 308] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] getdents64(4 [pid 308] <... openat resumed>) = 3 [ 24.918765][ T341] EXT4-fs (loop2): 1 truncate cleaned up [ 24.929427][ T310] EXT4-fs (loop4): unmounting filesystem. [ 24.930096][ T341] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [ 24.944534][ T306] EXT4-fs (loop0): unmounting filesystem. [pid 307] rmdir("./2" [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 307] <... rmdir resumed>) = 0 [pid 306] close(4 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] mkdir("./3", 0777 [pid 306] <... close resumed>) = 0 [pid 308] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 349] <... mkdir resumed>) = 0 [pid 349] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./2/file0") = 0 [pid 310] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./2/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./2") = 0 [pid 310] mkdir("./3", 0777) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] <... mkdir resumed>) = 0 [pid 306] rmdir("./2/file0" [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 306] <... rmdir resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] close(3 [pid 306] newfstatat(AT_FDCWD, "./2/binderfs" [pid 307] <... close resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] unlink("./2/binderfs" [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... unlink resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 351 [pid 306] close(3 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... close resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] rmdir("./2") = 0 [pid 306] mkdir("./3", 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 308] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 352 [pid 308] newfstatat(AT_FDCWD, "./3/file0" [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./3/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./3/file0") = 0 [pid 308] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./3/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 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_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [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=0x5555866cd690) = 353 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 353 attached [pid 353] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 353] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 353] chdir("./4") = 0 [pid 353] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 353] setpgid(0, 0) = 0 [pid 353] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECci2-android-6-1/strace-static-x86_64: Process 352 attached ci2-android-6-1/strace-static-x86_64: Process 351 attached [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 352] set_robust_list(0x5555866cd6a0, 24 [pid 310] close(3 [pid 351] set_robust_list(0x5555866cd6a0, 24 [pid 310] <... close resumed>) = 0 [pid 352] <... set_robust_list resumed>) = 0 [pid 351] <... set_robust_list resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 352] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 352] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 351] rt_sigprocmask(SIG_SETMASK, [] [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 352] chdir("./3" [pid 351] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 353] <... openat resumed>) = 3 [pid 353] write(3, "1000", 4 [pid 351] chdir("./3" [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 354 [pid 352] <... chdir resumed>) = 0 [pid 351] <... chdir resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 352] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 351] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 352] <... prctl resumed>) = 0 [pid 351] <... prctl resumed>) = 0 [pid 352] setpgid(0, 0 [pid 351] setpgid(0, 0 [pid 352] <... setpgid resumed>) = 0 [pid 351] <... setpgid resumed>) = 0 [pid 352] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 351] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 352] write(3, "1000", 4 [pid 353] <... write resumed>) = 4 [pid 352] <... write resumed>) = 4 [pid 351] <... openat resumed>) = 3 [pid 352] close(3 [pid 351] write(3, "1000", 4 [pid 352] <... close resumed>) = 0 [pid 351] <... write resumed>) = 4 [pid 352] symlink("/dev/binderfs", "./binderfs" [pid 351] close(3 [pid 353] close(3) = 0 [pid 352] <... symlink resumed>) = 0 [pid 351] <... close resumed>) = 0 [pid 352] write(1, "executing program\n", 18 [pid 351] symlink("/dev/binderfs", "./binderfs" [pid 352] <... write resumed>) = 18 executing program [pid 351] <... symlink resumed>) = 0 [pid 353] symlink("/dev/binderfs", "./binderfs") = 0 [pid 352] memfd_create("syzkaller", 0 [pid 351] write(1, "executing program\n", 18 [pid 353] write(1, "executing program\n", 18) = 18 executing program [pid 353] memfd_create("syzkaller", 0) = 3 [pid 353] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 352] <... memfd_create resumed>) = 3 [pid 351] <... write resumed>) = 18 executing program [pid 352] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 351] memfd_create("syzkaller", 0ci2-android-6-1/strace-static-x86_64: Process 354 attached [pid 354] set_robust_list(0x5555866cd6a0, 24) = 0 [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 [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"..., 524288 [pid 352] 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"..., 524288 [pid 351] <... memfd_create resumed>) = 3 [pid 354] <... openat resumed>) = 3 [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 [ 24.969815][ T308] EXT4-fs (loop2): unmounting filesystem. [ 24.992653][ T349] EXT4-fs (loop3): orphan cleanup on readonly fs [ 25.003329][ T349] EXT4-fs (loop3): 1 truncate cleaned up [pid 354] memfd_create("syzkaller", 0) = 3 [pid 354] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 352] <... write resumed>) = 524288 [pid 351] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 352] munmap(0x7f11e81cd000, 138412032 [pid 349] <... mount resumed>) = 0 [pid 351] <... mmap resumed>) = 0x7f11e81cd000 [pid 352] <... munmap resumed>) = 0 [pid 353] <... write resumed>) = 524288 [pid 353] munmap(0x7f11e81cd000, 138412032) = 0 [pid 353] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 353] ioctl(4, LOOP_SET_FD, 3 [pid 351] 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"..., 524288 [pid 352] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 349] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 353] <... ioctl resumed>) = 0 [pid 353] close(3) = 0 [pid 353] close(4) = 0 [pid 353] mkdir("./file0", 0777) = 0 [pid 353] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 351] <... write resumed>) = 524288 [pid 352] <... openat resumed>) = 4 [pid 352] ioctl(4, LOOP_SET_FD, 3 [pid 351] munmap(0x7f11e81cd000, 138412032 [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"..., 524288 [pid 352] <... ioctl resumed>) = 0 [pid 354] <... write resumed>) = 524288 [pid 352] close(3 [pid 354] munmap(0x7f11e81cd000, 138412032) = 0 [pid 354] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 354] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 354] close(3) = 0 [pid 354] close(4) = 0 [pid 354] mkdir("./file0", 0777) = 0 [pid 352] <... close resumed>) = 0 [pid 354] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 352] close(4) = 0 [pid 352] mkdir("./file0", 0777) = 0 [pid 349] <... openat resumed>) = 3 [pid 352] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 349] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 349] ioctl(4, LOOP_CLR_FD) = 0 [pid 349] close(4) = 0 [pid 349] exit_group(0) = ? [pid 349] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=349, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 351] <... munmap resumed>) = 0 [pid 351] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 351] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 351] close(3) = 0 [pid 351] close(4) = 0 [pid 351] mkdir("./file0", 0777) = 0 [pid 351] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 309] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./3/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./3/file0") = 0 [pid 309] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -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") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [ 25.010729][ T349] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [ 25.034786][ T353] EXT4-fs (loop2): orphan cleanup on readonly fs [ 25.050950][ T353] EXT4-fs (loop2): 1 truncate cleaned up [ 25.059693][ T309] EXT4-fs (loop3): unmounting filesystem. [pid 309] rmdir("./3") = 0 [pid 309] mkdir("./4", 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=0x5555866cd690) = 360 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 360 attached [pid 360] set_robust_list(0x5555866cd6a0, 24) = 0 [ 25.073855][ T352] EXT4-fs (loop0): orphan cleanup on readonly fs [ 25.075678][ T353] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [ 25.091231][ T354] EXT4-fs (loop4): orphan cleanup on readonly fs [ 25.098524][ T351] EXT4-fs (loop1): orphan cleanup on readonly fs [ 25.113340][ T352] EXT4-fs (loop0): 1 truncate cleaned up [pid 360] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 353] <... mount resumed>) = 0 [pid 353] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 353] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 353] ioctl(4, LOOP_CLR_FD) = 0 [pid 353] close(4) = 0 [pid 353] exit_group(0) = ? [pid 360] chdir("./4") = 0 [pid 360] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 360] setpgid(0, 0) = 0 [pid 360] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 360] write(3, "1000", 4) = 4 [pid 354] <... mount resumed>) = 0 [pid 360] close(3) = 0 [pid 360] symlink("/dev/binderfs", "./binderfs") = 0 [pid 360] write(1, "executing program\n", 18) = 18 executing program [pid 360] memfd_create("syzkaller", 0) = 3 [pid 360] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 360] 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"..., 524288 [pid 354] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 352] <... mount resumed>) = 0 [pid 354] <... openat resumed>) = 3 [pid 354] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 354] ioctl(4, LOOP_CLR_FD) = 0 [pid 354] close(4 [pid 352] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 354] <... close resumed>) = 0 [pid 360] <... write resumed>) = 524288 [pid 354] exit_group(0 [pid 353] +++ exited with 0 +++ [pid 352] <... openat resumed>) = 3 [pid 351] <... mount resumed>) = 0 [pid 354] <... exit_group resumed>) = ? [pid 352] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 351] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=353, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 360] munmap(0x7f11e81cd000, 138412032 [pid 354] +++ exited with 0 +++ [pid 352] <... openat resumed>) = 4 [pid 351] <... openat resumed>) = 3 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 352] ioctl(4, LOOP_CLR_FD [pid 351] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=354, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 352] <... ioctl resumed>) = 0 [pid 351] <... openat resumed>) = 4 [pid 352] close(4 [pid 351] ioctl(4, LOOP_CLR_FD [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 352] <... close resumed>) = 0 [pid 351] <... ioctl resumed>) = 0 [pid 352] exit_group(0 [pid 351] close(4 [pid 352] <... exit_group resumed>) = ? [pid 351] <... close resumed>) = 0 [pid 360] <... munmap resumed>) = 0 [pid 360] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 352] +++ exited with 0 +++ [pid 360] <... openat resumed>) = 4 [pid 351] exit_group(0) = ? [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=352, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 360] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 351] +++ exited with 0 +++ [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... restart_syscall resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=351, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] <... restart_syscall resumed>) = 0 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 308] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./3", 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, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... openat resumed>) = 3 [pid 308] fstat(3 [pid 307] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] fstat(3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 307] fstat(3 [pid 306] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 25.119649][ T351] EXT4-fs (loop1): 1 truncate cleaned up [ 25.125609][ T354] EXT4-fs (loop4): 1 truncate cleaned up [ 25.134218][ T351] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [ 25.143492][ T354] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [ 25.153700][ T352] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [pid 308] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(3 [pid 306] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 360] close(3 [pid 310] <... restart_syscall resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 360] <... close resumed>) = 0 [pid 307] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 360] close(4) = 0 [pid 360] mkdir("./file0", 0777 [pid 310] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 360] <... mkdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 360] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./3/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [ 25.178245][ T308] EXT4-fs (loop2): unmounting filesystem. [ 25.184848][ T306] EXT4-fs (loop0): unmounting filesystem. [ 25.192732][ T307] EXT4-fs (loop1): unmounting filesystem. [ 25.202373][ T310] EXT4-fs (loop4): unmounting filesystem. [ 25.210728][ T360] EXT4-fs (loop3): orphan cleanup on readonly fs [ 25.219977][ T360] EXT4-fs (loop3): 1 truncate cleaned up [pid 307] rmdir("./3/file0") = 0 [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 360] <... mount resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 360] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 360] <... openat resumed>) = 3 [pid 308] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 360] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 360] <... openat resumed>) = 4 [pid 308] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 360] ioctl(4, LOOP_CLR_FD [pid 306] <... umount2 resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 360] <... ioctl resumed>) = 0 [pid 308] getdents64(4 [pid 360] close(4 [pid 310] <... umount2 resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 360] <... close resumed>) = 0 [pid 308] getdents64(4 [pid 360] exit_group(0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 360] <... exit_group resumed>) = ? [pid 308] close(4 [pid 360] +++ exited with 0 +++ [pid 308] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./3/file0" [pid 308] rmdir("./4/file0" [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=360, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] <... rmdir resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 3 [pid 308] unlink("./4/binderfs" [pid 309] fstat(3 [pid 308] <... unlink resumed>) = 0 [pid 306] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... openat resumed>) = 4 [pid 310] newfstatat(AT_FDCWD, "./3/file0" [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] close(3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... close resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./3/binderfs" [pid 306] fstat(4 [pid 310] umount2("./3/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] rmdir("./4" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rmdir resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] mkdir("./5", 0777 [pid 307] unlink("./3/binderfs" [pid 306] getdents64(4 [pid 310] <... openat resumed>) = 4 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] fstat(4 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] getdents64(3 [pid 306] getdents64(4 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... openat resumed>) = 3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] getdents64(4 [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] close(3 [pid 306] close(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 310] getdents64(4 [pid 308] close(3 [pid 307] rmdir("./3" [pid 306] rmdir("./3/file0" [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] close(4 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] mkdir("./4", 0777 [pid 306] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] rmdir("./3/file0" [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] newfstatat(AT_FDCWD, "./3/binderfs" [pid 310] <... rmdir resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 362 [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] unlink("./3/binderfs" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... unlink resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./3/binderfs" [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] close(3 [pid 306] getdents64(3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] unlink("./3/binderfs" [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] close(3 [pid 310] <... unlink resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... close resumed>) = 0 [pid 310] getdents64(3 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] rmdir("./3" [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] close(3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 363 [pid 306] mkdir("./4", 0777 [pid 310] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... mkdir resumed>) = 0 [pid 310] rmdir("./3" [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... rmdir resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 310] mkdir("./4", 0777 [pid 306] ioctl(3, LOOP_CLR_FD [pid 310] <... mkdir resumed>) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] close(3 [pid 310] <... openat resumed>) = 3 [pid 306] <... close resumed>) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] close(3 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 364 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 365 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 363 attached ci2-android-6-1/strace-static-x86_64: Process 364 attached [pid 363] set_robust_list(0x5555866cd6a0, 24 [pid 364] set_robust_list(0x5555866cd6a0, 24 [pid 363] <... set_robust_list resumed>) = 0 [pid 363] rt_sigprocmask(SIG_SETMASK, [] [pid 364] <... set_robust_list resumed>) = 0 [pid 364] rt_sigprocmask(SIG_SETMASK, [] [pid 363] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 363] chdir("./4" [pid 364] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 364] chdir("./4" [pid 363] <... chdir resumed>) = 0 [pid 364] <... chdir resumed>) = 0 [pid 363] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 364] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 363] setpgid(0, 0 [pid 364] <... prctl resumed>) = 0 [pid 363] <... setpgid resumed>) = 0 [pid 364] setpgid(0, 0 [pid 363] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 364] <... setpgid resumed>) = 0 [pid 364] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 363] <... openat resumed>) = 3 [pid 364] <... openat resumed>) = 3 [pid 363] write(3, "1000", 4) = 4 [pid 364] write(3, "1000", 4) = 4 [pid 363] close(3) = 0 [pid 364] close(3) = 0 [pid 363] symlink("/dev/binderfs", "./binderfs" [pid 364] symlink("/dev/binderfs", "./binderfs"ci2-android-6-1/strace-static-x86_64: Process 365 attached ci2-android-6-1/strace-static-x86_64: Process 362 attached ) = 0 [pid 363] <... symlink resumed>) = 0 [pid 364] write(1, "executing program\n", 18) = 18 [pid 364] memfd_create("syzkaller", 0 [pid 363] write(1, "executing program\n", 18) = 18 [pid 363] memfd_create("syzkaller", 0 [pid 364] <... memfd_create resumed>) = 3 [pid 364] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 363] <... memfd_create resumed>) = 3 [pid 364] <... mmap resumed>) = 0x7f11e81cd000 [pid 363] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program executing program [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 365] set_robust_list(0x5555866cd6a0, 24 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 365] <... set_robust_list resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 365] rt_sigprocmask(SIG_SETMASK, [] [pid 309] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 365] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 365] chdir("./4" [pid 309] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 365] <... chdir resumed>) = 0 [pid 363] 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"..., 524288 [pid 365] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] <... openat resumed>) = 4 [pid 364] 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"..., 524288 [pid 365] <... prctl resumed>) = 0 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 365] setpgid(0, 0 [pid 362] set_robust_list(0x5555866cd6a0, 24 [pid 309] getdents64(4 [pid 365] <... setpgid resumed>) = 0 [pid 362] <... set_robust_list resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 365] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] getdents64(4 [pid 365] <... openat resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 365] write(3, "1000", 4 [pid 362] rt_sigprocmask(SIG_SETMASK, [] [pid 309] close(4 [pid 365] <... write resumed>) = 4 [pid 362] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... close resumed>) = 0 [pid 365] close(3 [pid 362] chdir("./5" [pid 309] rmdir("./4/file0" [pid 365] <... close resumed>) = 0 [pid 362] <... chdir resumed>) = 0 [pid 365] symlink("/dev/binderfs", "./binderfs" [pid 362] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] <... rmdir resumed>) = 0 [pid 365] <... symlink resumed>) = 0 [pid 309] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 362] <... prctl resumed>) = 0 [pid 364] <... write resumed>) = 524288 [pid 363] <... write resumed>) = 524288 [pid 363] munmap(0x7f11e81cd000, 138412032) = 0 [pid 363] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 364] munmap(0x7f11e81cd000, 138412032 [pid 363] ioctl(4, LOOP_SET_FD, 3 [pid 364] <... munmap resumed>) = 0 [pid 363] <... ioctl resumed>) = 0 [pid 363] close(3) = 0 [pid 363] close(4 [pid 364] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 363] <... close resumed>) = 0 [pid 364] <... openat resumed>) = 4 [pid 363] mkdir("./file0", 0777 [pid 364] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 365] write(1, "executing program\n", 18 [pid 309] newfstatat(AT_FDCWD, "./4/binderfs" [pid 364] <... ioctl resumed>) = 0 [pid 364] close(3) = 0 [pid 364] close(4) = 0 [pid 364] mkdir("./file0", 0777) = 0 [pid 364] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 362] setpgid(0, 0) = 0 [pid 362] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 362] write(3, "1000", 4) = 4 [pid 362] close(3) = 0 [pid 362] symlink("/dev/binderfs", "./binderfs") = 0 [pid 362] write(1, "executing program\n", 18) = 18 [pid 362] memfd_create("syzkaller", 0) = 3 [pid 362] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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"..., 524288) = 524288 [pid 362] munmap(0x7f11e81cd000, 138412032 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 365] <... write resumed>) = 18 [pid 309] unlink("./4/binderfs" [pid 365] memfd_create("syzkaller", 0) = 3 [pid 309] <... unlink resumed>) = 0 executing program executing program [pid 365] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] getdents64(3 [pid 365] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [ 25.225791][ T360] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [ 25.244831][ T309] EXT4-fs (loop3): unmounting filesystem. [pid 362] <... munmap resumed>) = 0 [pid 362] openat(AT_FDCWD, "/dev/loop2", O_RDWR [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"..., 524288 [pid 309] close(3) = 0 [pid 309] rmdir("./4" [pid 362] <... openat resumed>) = 4 [pid 362] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 362] close(3) = 0 [pid 362] close(4 [pid 309] <... rmdir resumed>) = 0 [pid 362] <... close resumed>) = 0 [pid 362] mkdir("./file0", 0777) = 0 [pid 362] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] mkdir("./5", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 363] <... mkdir resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 363] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 365] <... write resumed>) = 524288 [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 [pid 365] munmap(0x7f11e81cd000, 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(4ci2-android-6-1/strace-static-x86_64: Process 369 attached [pid 369] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 369] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 369] chdir("./5") = 0 [pid 369] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 369] setpgid(0, 0) = 0 [pid 369] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 369 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 369] write(3, "1000", 4) = 4 [pid 369] close(3) = 0 [pid 369] symlink("/dev/binderfs", "./binderfs") = 0 [pid 369] write(1, "executing program\n", 18) = 18 [pid 369] memfd_create("syzkaller", 0) = 3 [pid 369] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 365] <... close resumed>) = 0 [pid 369] 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"..., 524288 [ 25.297934][ T362] EXT4-fs (loop2): orphan cleanup on readonly fs [ 25.306843][ T364] EXT4-fs (loop0): orphan cleanup on readonly fs [ 25.317782][ T362] EXT4-fs (loop2): 1 truncate cleaned up [ 25.331561][ T363] EXT4-fs (loop1): orphan cleanup on readonly fs [ 25.340470][ T363] EXT4-fs (loop1): 1 truncate cleaned up [pid 365] mkdir("./file0", 0777 [pid 369] <... write resumed>) = 524288 [pid 365] <... mkdir resumed>) = 0 [pid 363] <... mount resumed>) = 0 [pid 369] munmap(0x7f11e81cd000, 138412032 [pid 365] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 369] <... munmap resumed>) = 0 [pid 369] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 363] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 362] <... mount resumed>) = 0 [pid 369] <... openat resumed>) = 4 [pid 369] ioctl(4, LOOP_SET_FD, 3 [pid 363] <... openat resumed>) = 3 [pid 363] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 369] <... ioctl resumed>) = 0 [pid 363] <... openat resumed>) = 4 [pid 362] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 369] close(3 [pid 363] ioctl(4, LOOP_CLR_FD [pid 362] <... openat resumed>) = 3 [pid 363] <... ioctl resumed>) = 0 [pid 369] <... close resumed>) = 0 [pid 363] close(4 [pid 369] close(4 [pid 362] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 369] <... close resumed>) = 0 [pid 363] <... close resumed>) = 0 [pid 369] mkdir("./file0", 0777 [pid 362] <... openat resumed>) = 4 [pid 369] <... mkdir resumed>) = 0 [pid 364] <... mount resumed>) = 0 [pid 363] exit_group(0 [pid 362] ioctl(4, LOOP_CLR_FD [pid 369] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 363] <... exit_group resumed>) = ? [pid 362] <... ioctl resumed>) = 0 [pid 363] +++ exited with 0 +++ [pid 362] close(4) = 0 [pid 362] exit_group(0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=363, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 362] <... exit_group resumed>) = ? [pid 362] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=362, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./4", 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 364] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 364] <... openat resumed>) = 3 [pid 307] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 364] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 364] ioctl(4, LOOP_CLR_FD) = 0 [pid 364] close(4) = 0 [ 25.348637][ T362] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [ 25.357719][ T363] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [ 25.371346][ T364] EXT4-fs (loop0): 1 truncate cleaned up [ 25.378813][ T364] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 25.382243][ T365] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 364] exit_group(0) = ? [pid 364] +++ exited with 0 +++ [pid 308] <... restart_syscall resumed>) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=364, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... restart_syscall resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./4", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 365] <... mount resumed>) = 0 [pid 365] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 365] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 307] <... umount2 resumed>) = 0 [pid 365] ioctl(4, LOOP_CLR_FD [pid 307] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 365] <... ioctl resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 365] close(4) = 0 [pid 307] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 25.399649][ T307] EXT4-fs (loop1): unmounting filesystem. [ 25.408332][ T369] EXT4-fs (loop3): orphan cleanup on readonly fs [ 25.416040][ T365] EXT4-fs (loop4): 1 truncate cleaned up [ 25.422332][ T308] EXT4-fs (loop2): unmounting filesystem. [ 25.423154][ T365] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [ 25.438507][ T306] EXT4-fs (loop0): unmounting filesystem. [pid 365] exit_group(0) = ? [pid 307] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = 0 [pid 365] +++ exited with 0 +++ [pid 308] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... openat resumed>) = 4 [pid 308] newfstatat(AT_FDCWD, "./5/file0" [pid 307] fstat(4 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=365, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] getdents64(4 [pid 308] <... openat resumed>) = 4 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] fstat(4 [pid 307] close(4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... close resumed>) = 0 [pid 308] getdents64(4 [pid 307] rmdir("./4/file0" [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... rmdir resumed>) = 0 [pid 308] getdents64(4 [pid 307] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] close(4 [pid 307] newfstatat(AT_FDCWD, "./4/binderfs" [pid 308] <... close resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] rmdir("./5/file0" [pid 307] unlink("./4/binderfs" [pid 308] <... rmdir resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 308] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(3 [pid 310] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./5/binderfs" [pid 307] close(3 [pid 310] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 308] unlink("./5/binderfs" [pid 307] rmdir("./4" [pid 310] fstat(3 [pid 308] <... unlink resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 307] mkdir("./5", 0777 [pid 310] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] close(3 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... close resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] rmdir("./5" [pid 307] ioctl(3, LOOP_CLR_FD [pid 308] <... rmdir resumed>) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] mkdir("./6", 0777 [pid 307] close(3 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... openat resumed>) = 3 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] close(3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 372 [pid 308] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... 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 306] newfstatat(AT_FDCWD, "./4/file0" [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 373 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 369] <... mount resumed>) = 0 [pid 369] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 369] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 369] ioctl(4, LOOP_CLR_FD) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 369] close(4 [pid 306] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 369] <... close resumed>) = 0 [pid 369] exit_group(0) = ? [pid 369] +++ exited with 0 +++ ci2-android-6-1/strace-static-x86_64: Process 372 attached [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=369, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 372] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 372] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 372] chdir("./5") = 0 [pid 372] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 372] setpgid(0, 0) = 0 [pid 372] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 372] write(3, "1000", 4) = 4 [pid 372] close(3) = 0 [pid 372] symlink("/dev/binderfs", "./binderfs") = 0 [pid 310] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 372] write(1, "executing program\n", 18) = 18 executing program [pid 372] memfd_create("syzkaller", 0 [pid 306] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./4/file0" [pid 306] <... openat resumed>) = 4 [pid 372] <... memfd_create resumed>) = 3 [pid 372] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] <... restart_syscall resumed>) = 0 [pid 306] fstat(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] umount2("./4/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] getdents64(4 [pid 310] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 4 [pid 309] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] fstat(4 [pid 306] getdents64(4 [pid 309] <... openat resumed>) = 3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] fstat(3 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] getdents64(4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] close(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(3 [pid 306] <... close resumed>) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] rmdir("./4/file0" [pid 310] close(4 [pid 309] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [ 25.449107][ T369] EXT4-fs (loop3): 1 truncate cleaned up [ 25.468692][ T369] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [ 25.478240][ T310] EXT4-fs (loop4): unmounting filesystem. [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"..., 524288 [pid 306] <... rmdir resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 306] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rmdir("./4/file0") = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./4/binderfs" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./4/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./4/binderfs" [pid 310] unlink("./4/binderfs" [pid 306] <... unlink resumed>) = 0 [pid 310] <... unlink resumed>) = 0 [pid 306] getdents64(3 [pid 310] getdents64(3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3 [pid 310] close(3) = 0 [pid 306] <... close resumed>) = 0 [pid 310] rmdir("./4" [pid 306] rmdir("./4" [pid 310] <... rmdir resumed>) = 0 [pid 310] mkdir("./5", 0777 [pid 306] <... rmdir resumed>) = 0 [pid 372] <... write resumed>) = 524288 [pid 310] <... mkdir resumed>) = 0 [pid 306] mkdir("./5", 0777ci2-android-6-1/strace-static-x86_64: Process 373 attached [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... umount2 resumed>) = 0 [pid 372] munmap(0x7f11e81cd000, 138412032) = 0 [pid 372] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 372] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... mkdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 373] set_robust_list(0x5555866cd6a0, 24 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 372] <... ioctl resumed>) = 0 [pid 372] close(3) = 0 [pid 372] close(4 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... openat resumed>) = 3 [pid 372] <... close resumed>) = 0 [pid 372] mkdir("./file0", 0777) = 0 [pid 310] close(3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 372] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 373] <... set_robust_list resumed>) = 0 [pid 373] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 373] chdir("./6") = 0 [pid 373] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 373] setpgid(0, 0) = 0 [pid 373] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 373] write(3, "1000", 4) = 4 [pid 373] close(3) = 0 [pid 373] symlink("/dev/binderfs", "./binderfs" [pid 310] <... close resumed>) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 373] <... symlink resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] close(3 [pid 373] write(1, "executing program\n", 18 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... close resumed>) = 0 [pid 373] <... write resumed>) = 18 executing program [pid 373] memfd_create("syzkaller", 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 373] <... memfd_create resumed>) = 3 [pid 373] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [ 25.496580][ T309] EXT4-fs (loop3): unmounting filesystem. [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"..., 524288 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 373] <... write resumed>) = 524288 ci2-android-6-1/strace-static-x86_64: Process 374 attached [pid 374] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 374] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 374] chdir("./5") = 0 [pid 374] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 374] setpgid(0, 0) = 0 [pid 374] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 374 [pid 309] newfstatat(AT_FDCWD, "./5/file0" [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 374] <... openat resumed>) = 3 [pid 374] write(3, "1000", 4 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 376 [pid 309] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 374] <... write resumed>) = 4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 374] close(3) = 0 [pid 374] symlink("/dev/binderfs", "./binderfs" [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./5/file0" [pid 374] <... symlink resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [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 374] write(1, "executing program\n", 18) = 18 executing program [pid 374] memfd_create("syzkaller", 0 [pid 309] unlink("./5/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./5") = 0 [pid 309] mkdir("./6", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 373] munmap(0x7f11e81cd000, 138412032 [pid 309] <... openat resumed>) = 3 ci2-android-6-1/strace-static-x86_64: Process 376 attached [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=0x5555866cd690) = 377 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 377 attached [pid 376] set_robust_list(0x5555866cd6a0, 24 [pid 374] <... memfd_create resumed>) = 3 [pid 373] <... munmap resumed>) = 0 [pid 372] <... mount resumed>) = 0 [pid 376] <... set_robust_list resumed>) = 0 [pid 374] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 373] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 372] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 376] rt_sigprocmask(SIG_SETMASK, [] [pid 374] <... mmap resumed>) = 0x7f11e81cd000 [pid 373] <... openat resumed>) = 4 [pid 372] <... openat resumed>) = 3 [pid 376] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 374] 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"..., 524288 [pid 373] ioctl(4, LOOP_SET_FD, 3 [pid 372] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 376] chdir("./5" [pid 373] <... ioctl resumed>) = 0 [pid 372] <... openat resumed>) = 4 [pid 376] <... chdir resumed>) = 0 [pid 373] close(3 [pid 376] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 373] <... close resumed>) = 0 [pid 372] ioctl(4, LOOP_CLR_FD [pid 376] <... prctl resumed>) = 0 [pid 373] close(4 [pid 376] setpgid(0, 0 [pid 373] <... close resumed>) = 0 [pid 372] <... ioctl resumed>) = 0 [pid 376] <... setpgid resumed>) = 0 [pid 373] mkdir("./file0", 0777 [pid 376] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 373] <... mkdir resumed>) = 0 [pid 372] close(4 [pid 376] <... openat resumed>) = 3 [pid 373] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 376] write(3, "1000", 4 [pid 372] <... close resumed>) = 0 [pid 376] <... write resumed>) = 4 [pid 376] close(3 [pid 372] exit_group(0 [pid 376] <... close resumed>) = 0 [pid 374] <... write resumed>) = 524288 [pid 376] symlink("/dev/binderfs", "./binderfs" [pid 372] <... exit_group resumed>) = ? [pid 376] <... symlink resumed>) = 0 [pid 376] write(1, "executing program\n", 18 [pid 372] +++ exited with 0 +++ [pid 376] <... write resumed>) = 18 executing program [pid 376] memfd_create("syzkaller", 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=372, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 376] <... memfd_create resumed>) = 3 [pid 377] set_robust_list(0x5555866cd6a0, 24 [pid 376] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 377] <... set_robust_list resumed>) = 0 [pid 376] <... mmap resumed>) = 0x7f11e81cd000 [pid 377] rt_sigprocmask(SIG_SETMASK, [] [pid 376] 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"..., 524288 [pid 377] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 376] <... write resumed>) = 524288 [pid 307] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 377] chdir("./6" [pid 376] munmap(0x7f11e81cd000, 138412032 [pid 377] <... chdir resumed>) = 0 [pid 376] <... munmap resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 377] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 376] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 377] <... prctl resumed>) = 0 [pid 376] <... openat resumed>) = 4 [pid 307] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 377] setpgid(0, 0 [pid 376] ioctl(4, LOOP_SET_FD, 3 [pid 377] <... setpgid resumed>) = 0 [pid 376] <... ioctl resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 377] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 376] close(3 [pid 307] fstat(3 [pid 377] <... openat resumed>) = 3 [pid 376] <... close resumed>) = 0 [pid 377] write(3, "1000", 4 [pid 376] close(4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 377] <... write resumed>) = 4 [pid 376] <... close resumed>) = 0 [pid 374] munmap(0x7f11e81cd000, 138412032 [pid 377] close(3 [ 25.523538][ T372] EXT4-fs (loop1): orphan cleanup on readonly fs [ 25.536134][ T372] EXT4-fs (loop1): 1 truncate cleaned up [ 25.542557][ T372] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [pid 376] mkdir("./file0", 0777 [pid 377] <... close resumed>) = 0 [pid 376] <... mkdir resumed>) = 0 [pid 374] <... munmap resumed>) = 0 [pid 307] getdents64(3 [pid 377] symlink("/dev/binderfs", "./binderfs" [pid 376] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 374] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 377] <... symlink resumed>) = 0 [pid 374] <... openat resumed>) = 4 [pid 307] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 377] write(1, "executing program\n", 18 executing program [pid 374] ioctl(4, LOOP_SET_FD, 3 [pid 377] <... write resumed>) = 18 [pid 377] memfd_create("syzkaller", 0 [pid 374] <... ioctl resumed>) = 0 [pid 377] <... memfd_create resumed>) = 3 [pid 374] close(3 [pid 377] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 374] <... close resumed>) = 0 [pid 377] <... mmap resumed>) = 0x7f11e81cd000 [pid 374] 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"..., 524288 [pid 374] <... close resumed>) = 0 [pid 377] <... write resumed>) = 524288 [pid 377] munmap(0x7f11e81cd000, 138412032 [pid 374] mkdir("./file0", 0777 [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./5/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 25.570023][ T373] EXT4-fs (loop2): orphan cleanup on readonly fs [ 25.583880][ T307] EXT4-fs (loop1): unmounting filesystem. [ 25.596100][ T373] EXT4-fs (loop2): 1 truncate cleaned up [ 25.602554][ T376] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 307] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 377] <... munmap resumed>) = 0 [pid 307] <... openat resumed>) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 377] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 307] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 377] ioctl(4, LOOP_SET_FD, 3 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./5/file0" [pid 377] <... ioctl resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 377] close(3 [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] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./5") = 0 [pid 307] mkdir("./6", 0777 [pid 377] <... close resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 377] close(4 [pid 307] <... openat resumed>) = 3 [pid 377] <... close resumed>) = 0 [pid 377] mkdir("./file0", 0777 [pid 307] ioctl(3, LOOP_CLR_FD [pid 377] <... mkdir resumed>) = 0 [pid 374] <... mkdir resumed>) = 0 [pid 373] <... mount resumed>) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 376] <... mount resumed>) = 0 [pid 376] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 376] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 377] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 376] ioctl(4, LOOP_CLR_FD [pid 374] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] close(3 [pid 376] <... ioctl resumed>) = 0 [pid 376] close(4) = 0 [pid 376] exit_group(0) = ? [pid 307] <... close resumed>) = 0 [pid 376] +++ exited with 0 +++ [pid 373] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=376, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 373] <... openat resumed>) = 3 [pid 373] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 373] ioctl(4, LOOP_CLR_FD) = 0 [pid 373] close(4) = 0 [pid 373] exit_group(0) = ? [pid 373] +++ exited with 0 +++ [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=373, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- ci2-android-6-1/strace-static-x86_64: Process 382 attached [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 382 [ 25.617913][ T373] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [ 25.629974][ T376] EXT4-fs (loop0): 1 truncate cleaned up [ 25.637503][ T376] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 25.650824][ T377] EXT4-fs (loop3): orphan cleanup on readonly fs [ 25.660542][ T377] EXT4-fs (loop3): 1 truncate cleaned up [ 25.662528][ T374] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 382] set_robust_list(0x5555866cd6a0, 24 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 382] <... set_robust_list resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 382] rt_sigprocmask(SIG_SETMASK, [] [pid 306] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 382] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 382] chdir("./6" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 382] <... chdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... openat resumed>) = 3 [pid 382] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] <... openat resumed>) = 3 [pid 306] fstat(3 [pid 382] <... prctl resumed>) = 0 [pid 308] fstat(3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 382] setpgid(0, 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 382] <... setpgid resumed>) = 0 [pid 377] <... mount resumed>) = 0 [pid 308] getdents64(3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 382] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 382] <... openat resumed>) = 3 [pid 308] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 382] write(3, "1000", 4) = 4 [pid 382] close(3) = 0 [pid 382] symlink("/dev/binderfs", "./binderfs") = 0 executing program [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) = 0x7f11e81cd000 [pid 377] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [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"..., 524288) = 524288 [pid 377] <... openat resumed>) = 3 [pid 374] <... mount resumed>) = 0 [pid 377] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 374] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 377] ioctl(4, LOOP_CLR_FD) = 0 [pid 374] <... openat resumed>) = 3 [pid 377] close(4) = 0 [pid 374] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 377] exit_group(0) = ? [pid 374] <... openat resumed>) = 4 [pid 382] munmap(0x7f11e81cd000, 138412032 [pid 377] +++ exited with 0 +++ [pid 308] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=377, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 382] <... munmap resumed>) = 0 [pid 309] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 382] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 374] ioctl(4, LOOP_CLR_FD [pid 309] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 3 [pid 382] <... openat resumed>) = 4 [pid 374] <... ioctl resumed>) = 0 [pid 382] ioctl(4, LOOP_SET_FD, 3 [pid 374] close(4) = 0 [pid 374] exit_group(0) = ? [pid 382] <... ioctl resumed>) = 0 [pid 374] +++ exited with 0 +++ [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=374, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 309] getdents64(3 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 382] close(3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 382] <... close resumed>) = 0 [pid 309] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 382] close(4) = 0 [pid 382] mkdir("./file0", 0777) = 0 [ 25.667024][ T377] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [ 25.682919][ T374] EXT4-fs (loop4): 1 truncate cleaned up [ 25.689183][ T306] EXT4-fs (loop0): unmounting filesystem. [ 25.690003][ T374] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [ 25.704249][ T308] EXT4-fs (loop2): unmounting filesystem. [pid 382] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./6/file0" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... restart_syscall resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./5/file0" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 4 [pid 306] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(4 [pid 308] getdents64(4 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4 [pid 306] getdents64(4 [pid 310] <... umount2 resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./5/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./5/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./5/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./5/file0") = 0 [pid 310] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./5/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./5") = 0 [pid 310] mkdir("./6", 0777) = 0 [pid 308] close(4 [pid 306] close(4 [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=0x5555866cd690) = 384 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 384 attached [pid 384] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 384] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 384] chdir("./6") = 0 [pid 384] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 384] setpgid(0, 0) = 0 [pid 384] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 384] write(3, "1000", 4) = 4 [pid 384] close(3) = 0 [pid 384] symlink("/dev/binderfs", "./binderfs") = 0 [pid 384] write(1, "executing program\n", 18) = 18 executing program [pid 384] memfd_create("syzkaller", 0) = 3 [pid 384] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 308] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 308] rmdir("./6/file0" [pid 306] rmdir("./5/file0" [pid 308] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 308] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./5/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, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./6/binderfs") = 0 [pid 306] unlink("./5/binderfs" [pid 309] <... umount2 resumed>) = 0 [pid 308] getdents64(3 [pid 306] <... unlink resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] getdents64(3 [pid 309] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] close(3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 384] 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"..., 524288 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... close resumed>) = 0 [pid 306] close(3 [pid 308] rmdir("./6" [pid 306] <... close resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 306] rmdir("./5" [pid 309] newfstatat(AT_FDCWD, "./6/file0" [pid 308] mkdir("./7", 0777 [pid 306] <... rmdir resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... mkdir resumed>) = 0 [pid 306] mkdir("./6", 0777 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 3 [pid 306] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 384] <... write resumed>) = 524288 [pid 309] <... openat resumed>) = 4 [pid 308] close(3 [pid 306] <... openat resumed>) = 3 [pid 384] munmap(0x7f11e81cd000, 138412032 [pid 309] fstat(4 [pid 308] <... close resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 384] <... munmap resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 382] <... mount resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 384] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 382] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] getdents64(4 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] close(3 [pid 384] <... openat resumed>) = 4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 384] ioctl(4, LOOP_SET_FD, 3 [pid 382] <... openat resumed>) = 3 [pid 309] getdents64(4 [pid 306] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 384] <... ioctl resumed>) = 0 [pid 382] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] close(4 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 385 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 384] close(3 [pid 309] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 384] <... close resumed>) = 0 [pid 309] rmdir("./6/file0" [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 384] close(4 [pid 382] <... openat resumed>) = 4 [pid 309] <... rmdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 385 attached [pid 384] <... close resumed>) = 0 [pid 382] ioctl(4, LOOP_CLR_FD [pid 309] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 385] set_robust_list(0x5555866cd6a0, 24 [pid 384] mkdir("./file0", 0777 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 382] <... ioctl resumed>) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 386 [pid 385] <... set_robust_list resumed>) = 0 [pid 384] <... mkdir resumed>) = 0 [pid 382] close(4 [pid 309] newfstatat(AT_FDCWD, "./6/binderfs" [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 384] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 ci2-android-6-1/strace-static-x86_64: Process 386 attached [pid 385] rt_sigprocmask(SIG_SETMASK, [] [pid 382] <... close resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] unlink("./6/binderfs" [pid 382] exit_group(0 [pid 386] set_robust_list(0x5555866cd6a0, 24 [pid 385] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 382] <... exit_group resumed>) = ? [pid 309] <... unlink resumed>) = 0 [pid 386] <... set_robust_list resumed>) = 0 [ 25.723813][ T309] EXT4-fs (loop3): unmounting filesystem. [ 25.739867][ T382] EXT4-fs (loop1): orphan cleanup on readonly fs [ 25.757574][ T382] EXT4-fs (loop1): 1 truncate cleaned up [pid 386] rt_sigprocmask(SIG_SETMASK, [] [pid 385] chdir("./7" [pid 382] +++ exited with 0 +++ [pid 309] getdents64(3 [pid 386] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 385] <... chdir resumed>) = 0 [pid 384] <... mount resumed>) = 0 [pid 386] chdir("./6" [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=382, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 385] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 386] <... chdir resumed>) = 0 [pid 309] close(3 [pid 386] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 385] <... prctl resumed>) = 0 [pid 384] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... close resumed>) = 0 [pid 386] <... prctl resumed>) = 0 [pid 385] setpgid(0, 0 [pid 309] rmdir("./6" [pid 307] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 386] setpgid(0, 0 [pid 385] <... setpgid resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 386] <... setpgid resumed>) = 0 [pid 385] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] mkdir("./7", 0777 [pid 307] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 386] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 385] <... openat resumed>) = 3 [pid 309] <... mkdir resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 386] <... openat resumed>) = 3 [pid 385] write(3, "1000", 4 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] fstat(3 [pid 386] write(3, "1000", 4 [pid 385] <... write resumed>) = 4 [pid 309] <... openat resumed>) = 3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 386] <... write resumed>) = 4 [pid 385] close(3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 307] getdents64(3 [pid 386] close(3 [pid 385] <... close resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 386] <... close resumed>) = 0 [pid 385] symlink("/dev/binderfs", "./binderfs" [pid 309] close(3 [pid 307] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 386] symlink("/dev/binderfs", "./binderfs" [pid 385] <... symlink resumed>) = 0 [pid 384] <... openat resumed>) = 3 [pid 309] <... close resumed>) = 0 [pid 386] <... symlink resumed>) = 0 [pid 385] write(1, "executing program\n", 18 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 386] write(1, "executing program\n", 18 [pid 385] <... write resumed>) = 18 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 386] <... write resumed>) = 18 [pid 385] memfd_create("syzkaller", 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 386] memfd_create("syzkaller", 0 [pid 385] <... memfd_create resumed>) = 3 [pid 386] <... memfd_create resumed>) = 3 [pid 385] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 388 [pid 386] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 385] <... mmap resumed>) = 0x7f11e81cd000 executing program executing program [pid 309] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 388 attached [pid 386] <... mmap resumed>) = 0x7f11e81cd000 [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"..., 524288 [pid 384] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 384] <... openat resumed>) = 4 [pid 384] ioctl(4, LOOP_CLR_FD) = 0 [pid 384] close(4) = 0 [pid 384] exit_group(0) = ? [pid 388] set_robust_list(0x5555866cd6a0, 24 [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"..., 524288 [pid 384] +++ exited with 0 +++ [pid 388] <... set_robust_list resumed>) = 0 [pid 388] rt_sigprocmask(SIG_SETMASK, [] [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=384, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 388] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 388] chdir("./7" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 388] <... chdir resumed>) = 0 [pid 386] <... write resumed>) = 524288 [pid 310] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 388] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 386] munmap(0x7f11e81cd000, 138412032 [pid 385] <... write resumed>) = 524288 [pid 310] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 388] <... prctl resumed>) = 0 [pid 386] <... munmap resumed>) = 0 [pid 385] munmap(0x7f11e81cd000, 138412032 [pid 310] fstat(3 [pid 307] newfstatat(AT_FDCWD, "./6/file0" [pid 388] setpgid(0, 0 [pid 386] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 385] <... munmap resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 388] <... setpgid resumed>) = 0 [pid 310] getdents64(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 388] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 388] <... openat resumed>) = 3 [pid 310] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 388] write(3, "1000", 4 [pid 307] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 388] <... write resumed>) = 4 [pid 388] close(3) = 0 [pid 388] symlink("/dev/binderfs", "./binderfs") = 0 [pid 388] write(1, "executing program\n", 18) = 18 executing program [pid 388] memfd_create("syzkaller", 0) = 3 [pid 388] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 386] <... openat resumed>) = 4 [pid 385] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 386] ioctl(4, LOOP_SET_FD, 3 [pid 385] <... openat resumed>) = 4 [pid 307] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [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"..., 524288 [pid 386] <... ioctl resumed>) = 0 [pid 385] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... umount2 resumed>) = 0 [pid 386] close(3 [pid 385] <... ioctl resumed>) = 0 [pid 310] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... openat resumed>) = 4 [pid 386] <... close resumed>) = 0 [pid 385] close(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 386] close(4 [pid 385] <... close resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./6/file0" [pid 307] fstat(4 [pid 386] <... close resumed>) = 0 [pid 385] close(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 386] mkdir("./file0", 0777 [pid 385] <... close resumed>) = 0 [pid 310] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 385] mkdir("./file0", 0777 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 386] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] getdents64(4 [pid 385] <... mkdir resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 386] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 385] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] fstat(4 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4 [pid 307] getdents64(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4 [pid 310] close(4 [pid 307] <... close resumed>) = 0 [pid 388] <... write resumed>) = 524288 [pid 310] <... close resumed>) = 0 [pid 307] rmdir("./6/file0" [pid 310] rmdir("./6/file0" [pid 388] munmap(0x7f11e81cd000, 138412032 [pid 310] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 388] <... munmap resumed>) = 0 [pid 310] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 388] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] newfstatat(AT_FDCWD, "./6/binderfs" [pid 388] <... openat resumed>) = 4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 388] ioctl(4, LOOP_SET_FD, 3 [pid 310] unlink("./6/binderfs" [pid 307] newfstatat(AT_FDCWD, "./6/binderfs" [pid 388] <... ioctl resumed>) = 0 [pid 310] <... unlink resumed>) = 0 [pid 388] close(3 [pid 310] getdents64(3 [pid 388] <... close resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 388] close(4 [pid 310] close(3 [pid 388] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 388] mkdir("./file0", 0777 [pid 310] rmdir("./6" [pid 388] <... mkdir resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 307] unlink("./6/binderfs" [pid 388] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] mkdir("./7", 0777) = 0 [pid 307] <... unlink resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] getdents64(3 [pid 310] <... openat resumed>) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] close(3 [pid 310] close(3) = 0 [pid 307] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] rmdir("./6" [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... rmdir resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 392 [ 25.773811][ T384] EXT4-fs (loop4): orphan cleanup on readonly fs [ 25.781724][ T384] EXT4-fs (loop4): 1 truncate cleaned up [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 307] mkdir("./7", 0777 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 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 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 393 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 392 attached [pid 392] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 392] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 392] chdir("./7") = 0 [pid 392] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 392] setpgid(0, 0) = 0 [pid 392] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 392] write(3, "1000", 4) = 4 [pid 392] close(3) = 0 [pid 392] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 392] write(1, "executing program\n", 18) = 18 [pid 392] memfd_create("syzkaller", 0) = 3 [pid 392] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 ci2-android-6-1/strace-static-x86_64: Process 393 attached [pid 393] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 393] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 393] chdir("./7") = 0 [pid 393] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 393] setpgid(0, 0) = 0 [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"..., 524288 [pid 393] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 393] write(3, "1000", 4) = 4 [pid 393] close(3) = 0 [pid 393] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 393] write(1, "executing program\n", 18) = 18 [pid 393] memfd_create("syzkaller", 0) = 3 [pid 392] <... write resumed>) = 524288 [pid 392] munmap(0x7f11e81cd000, 138412032) = 0 [pid 392] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 393] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 392] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 393] <... mmap resumed>) = 0x7f11e81cd000 [pid 392] close(3) = 0 [pid 392] close(4) = 0 [pid 392] mkdir("./file0", 0777) = 0 [pid 392] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [ 25.837219][ T388] EXT4-fs (loop3): orphan cleanup on readonly fs [ 25.849242][ T386] EXT4-fs (loop0): orphan cleanup on readonly fs [ 25.849429][ T388] EXT4-fs (loop3): 1 truncate cleaned up [ 25.858110][ T385] EXT4-fs (loop2): orphan cleanup on readonly fs [ 25.874456][ T386] EXT4-fs (loop0): 1 truncate cleaned up [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"..., 524288 [pid 385] <... mount resumed>) = 0 [pid 388] <... mount resumed>) = 0 [pid 388] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 388] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 388] ioctl(4, LOOP_CLR_FD) = 0 [pid 388] close(4) = 0 [pid 388] exit_group(0) = ? [pid 388] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=388, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 393] <... write resumed>) = 524288 [pid 393] munmap(0x7f11e81cd000, 138412032 [pid 385] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 393] <... munmap resumed>) = 0 [pid 386] <... mount resumed>) = 0 [pid 385] <... openat resumed>) = 3 [pid 393] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 393] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 393] close(3) = 0 [pid 393] close(4) = 0 [pid 393] mkdir("./file0", 0777) = 0 [pid 393] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 385] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 385] ioctl(4, LOOP_CLR_FD) = 0 [pid 385] close(4) = 0 [pid 385] exit_group(0) = ? [pid 386] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 386] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./7", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 386] <... openat resumed>) = 4 [pid 385] +++ exited with 0 +++ [pid 386] ioctl(4, LOOP_CLR_FD) = 0 [pid 386] close(4) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 386] exit_group(0) = ? [pid 386] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=385, 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=386, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] close(4 [pid 308] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... close resumed>) = 0 [pid 306] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] rmdir("./7/file0" [pid 308] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 309] <... rmdir resumed>) = 0 [pid 308] fstat(3 [pid 306] fstat(3 [pid 309] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [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 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./7/binderfs" [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] unlink("./7/binderfs" [pid 306] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... unlink resumed>) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 309] rmdir("./7" [pid 308] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 392] <... mount resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] mkdir("./8", 0777 [pid 392] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 309] <... mkdir resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./7/file0" [pid 306] newfstatat(AT_FDCWD, "./6/file0" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 308] <... 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 392] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 392] ioctl(4, LOOP_CLR_FD) = 0 [pid 392] close(4) = 0 [pid 392] exit_group(0) = ? [pid 392] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=392, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] umount2("./6/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] close(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... openat resumed>) = 4 [pid 306] <... openat resumed>) = 4 [ 25.887981][ T385] EXT4-fs (loop2): 1 truncate cleaned up [ 25.896472][ T392] EXT4-fs (loop4): orphan cleanup on readonly fs [ 25.916243][ T392] EXT4-fs (loop4): 1 truncate cleaned up [ 25.924308][ T393] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 310] <... restart_syscall resumed>) = 0 [pid 308] fstat(4 [pid 306] fstat(4 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 396 [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 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] getdents64(4 [pid 310] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] getdents64(4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] getdents64(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... openat resumed>) = 3 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] getdents64(4 [pid 310] fstat(3 [pid 308] close(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 308] <... close resumed>) = 0 [pid 306] close(4 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] rmdir("./7/file0" [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./6/file0"ci2-android-6-1/strace-static-x86_64: Process 396 attached [pid 310] <... umount2 resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 396] set_robust_list(0x5555866cd6a0, 24 [pid 310] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 396] <... set_robust_list resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 396] rt_sigprocmask(SIG_SETMASK, [] [pid 310] newfstatat(AT_FDCWD, "./7/file0" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./7/binderfs" [pid 396] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./6/binderfs" [pid 396] chdir("./8" [pid 310] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 396] <... chdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] unlink("./7/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 396] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 396] <... prctl resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 308] <... unlink resumed>) = 0 [pid 306] unlink("./6/binderfs" [pid 396] setpgid(0, 0 [pid 310] fstat(4 [pid 308] getdents64(3 [pid 396] <... setpgid resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... unlink resumed>) = 0 [pid 396] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] getdents64(4 [pid 308] close(3 [pid 306] getdents64(3 [pid 396] <... openat resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 396] write(3, "1000", 4 [pid 310] getdents64(4 [pid 308] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 396] <... write resumed>) = 4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] rmdir("./7" [pid 306] close(3 [pid 396] close(3 [pid 310] close(4) = 0 [pid 310] rmdir("./7/file0" [pid 308] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 396] <... close resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 308] mkdir("./8", 0777 [pid 306] rmdir("./6" [pid 396] symlink("/dev/binderfs", "./binderfs" [pid 310] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] <... mkdir resumed>) = 0 [pid 393] <... mount resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./7/binderfs" [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] <... rmdir resumed>) = 0 [pid 396] <... symlink resumed>) = 0 [pid 393] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 396] write(1, "executing program\n", 18 [pid 393] <... openat resumed>) = 3 executing program [pid 310] unlink("./7/binderfs" [pid 308] <... openat resumed>) = 3 [pid 306] mkdir("./7", 0777 [pid 396] <... write resumed>) = 18 [pid 393] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... unlink resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 396] memfd_create("syzkaller", 0 [pid 393] <... openat resumed>) = 4 [pid 310] getdents64(3 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... mkdir resumed>) = 0 [pid 396] <... memfd_create resumed>) = 3 [pid 393] ioctl(4, LOOP_CLR_FD [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 396] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 393] <... ioctl resumed>) = 0 [pid 310] close(3 [pid 308] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 396] <... mmap resumed>) = 0x7f11e81cd000 [pid 393] close(4 [pid 310] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] ioctl(3, LOOP_CLR_FD [pid 393] <... close resumed>) = 0 [pid 310] rmdir("./7" [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 393] exit_group(0 [pid 310] <... rmdir resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] close(3 [pid 393] <... exit_group resumed>) = ? [pid 310] mkdir("./8", 0777 [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"..., 524288 [pid 393] +++ exited with 0 +++ [pid 310] <... mkdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 397 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=393, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] <... openat resumed>) = 3 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] ioctl(3, LOOP_CLR_FD [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [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 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 398 [pid 396] <... write resumed>) = 524288 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 399 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 396] munmap(0x7f11e81cd000, 138412032 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 397 attached [pid 396] <... munmap resumed>) = 0 [pid 397] set_robust_list(0x5555866cd6a0, 24 [pid 396] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 397] <... set_robust_list resumed>) = 0 [pid 397] rt_sigprocmask(SIG_SETMASK, [] [pid 396] <... openat resumed>) = 4 [pid 397] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 397] chdir("./8" [pid 396] ioctl(4, LOOP_SET_FD, 3 [pid 397] <... chdir resumed>) = 0 [pid 397] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 397] setpgid(0, 0 [pid 396] <... ioctl resumed>) = 0 [pid 396] close(3 [pid 397] <... setpgid resumed>) = 0 [pid 397] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 396] <... close resumed>) = 0 [pid 397] write(3, "1000", 4) = 4 [pid 397] close(3) = 0 [pid 396] close(4 [pid 397] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 397] write(1, "executing program\n", 18) = 18 [pid 397] memfd_create("syzkaller", 0 [pid 396] <... close resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 396] mkdir("./file0", 0777ci2-android-6-1/strace-static-x86_64: Process 398 attached [pid 397] <... memfd_create resumed>) = 3 [pid 398] set_robust_list(0x5555866cd6a0, 24 [pid 397] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 396] <... mkdir resumed>) = 0 [pid 307] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 396] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ci2-android-6-1/strace-static-x86_64: Process 399 attached [pid 398] <... set_robust_list resumed>) = 0 [pid 397] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 399] set_robust_list(0x5555866cd6a0, 24 [pid 398] rt_sigprocmask(SIG_SETMASK, [] [pid 399] <... set_robust_list resumed>) = 0 [pid 398] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... openat resumed>) = 3 [pid 399] rt_sigprocmask(SIG_SETMASK, [] [pid 398] chdir("./7" [pid 399] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 398] <... chdir resumed>) = 0 [pid 399] chdir("./8" [pid 398] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 399] <... chdir resumed>) = 0 [pid 398] <... prctl resumed>) = 0 [pid 397] 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"..., 524288 [pid 399] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 398] setpgid(0, 0 [pid 399] <... prctl resumed>) = 0 [pid 398] <... setpgid resumed>) = 0 [pid 399] setpgid(0, 0 [pid 398] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 399] <... setpgid resumed>) = 0 [pid 398] <... openat resumed>) = 3 [pid 397] <... write resumed>) = 524288 [pid 307] <... umount2 resumed>) = 0 [pid 399] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 398] write(3, "1000", 4 [pid 399] <... openat resumed>) = 3 [pid 398] <... write resumed>) = 4 [pid 307] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 399] write(3, "1000", 4 [pid 398] close(3 [pid 399] <... write resumed>) = 4 [pid 398] <... close resumed>) = 0 [pid 399] close(3 [pid 398] symlink("/dev/binderfs", "./binderfs" [pid 399] <... close resumed>) = 0 [pid 398] <... symlink resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 399] symlink("/dev/binderfs", "./binderfs" [pid 398] write(1, "executing program\n", 18 [pid 399] <... symlink resumed>) = 0 [pid 398] <... write resumed>) = 18 executing program [pid 307] newfstatat(AT_FDCWD, "./7/file0" [pid 399] write(1, "executing program\n", 18 executing program [pid 398] memfd_create("syzkaller", 0 [pid 399] <... write resumed>) = 18 [pid 398] <... memfd_create resumed>) = 3 [pid 399] memfd_create("syzkaller", 0 [pid 398] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 399] <... memfd_create resumed>) = 3 [pid 398] <... mmap resumed>) = 0x7f11e81cd000 [ 25.950986][ T393] EXT4-fs (loop1): 1 truncate cleaned up [ 25.983958][ T396] EXT4-fs (loop3): orphan cleanup on readonly fs [pid 399] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 398] 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"..., 524288 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 399] <... mmap resumed>) = 0x7f11e81cd000 [pid 398] <... write resumed>) = 524288 [pid 307] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 397] munmap(0x7f11e81cd000, 138412032) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 397] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 397] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 307] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 398] munmap(0x7f11e81cd000, 138412032 [pid 307] <... openat resumed>) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 398] <... munmap resumed>) = 0 [pid 307] getdents64(4 [pid 397] close(3) = 0 [pid 397] close(4) = 0 [pid 397] mkdir("./file0", 0777 [pid 398] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 399] 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"..., 524288 [pid 398] <... openat resumed>) = 4 [pid 397] <... mkdir resumed>) = 0 [pid 307] getdents64(4 [pid 398] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 398] <... ioctl resumed>) = 0 [pid 307] close(4 [pid 398] close(3 [pid 397] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 398] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 398] close(4 [pid 307] rmdir("./7/file0" [pid 398] <... close resumed>) = 0 [pid 398] mkdir("./file0", 0777) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 398] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 399] <... write resumed>) = 524288 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./7/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./7" [pid 399] munmap(0x7f11e81cd000, 138412032) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 307] mkdir("./8", 0777 [pid 399] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [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 [pid 399] ioctl(4, LOOP_SET_FD, 3 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 399] <... ioctl resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 399] close(3) = 0 [pid 399] close(4) = 0 [pid 399] mkdir("./file0", 0777) = 0 [pid 399] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 396] <... mount resumed>) = 0 [pid 396] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 404 [pid 396] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 396] <... openat resumed>) = 4 [pid 396] ioctl(4, LOOP_CLR_FD) = 0 [pid 396] close(4) = 0 [pid 396] exit_group(0) = ? [pid 396] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=396, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 404 attached ) = 0 [pid 309] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./8", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 404] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 404] rt_sigprocmask(SIG_SETMASK, [] [pid 309] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 404] <... rt_sigprocmask resumed>, NULL, 8) = 0 [ 26.003928][ T396] EXT4-fs (loop3): 1 truncate cleaned up [ 26.030679][ T399] EXT4-fs (loop4): orphan cleanup on readonly fs [ 26.037475][ T398] EXT4-fs (loop0): orphan cleanup on readonly fs [ 26.040163][ T397] EXT4-fs (loop2): orphan cleanup on readonly fs [pid 404] chdir("./8") = 0 [pid 404] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 404] setpgid(0, 0 [pid 398] <... mount resumed>) = 0 [pid 404] <... setpgid resumed>) = 0 [pid 404] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 398] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... umount2 resumed>) = 0 [pid 404] <... openat resumed>) = 3 [pid 398] <... openat resumed>) = 3 [pid 309] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 404] write(3, "1000", 4 [pid 398] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 404] <... write resumed>) = 4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 404] close(3 [pid 398] <... openat resumed>) = 4 [pid 404] <... close resumed>) = 0 [pid 398] ioctl(4, LOOP_CLR_FD [pid 309] newfstatat(AT_FDCWD, "./8/file0" [pid 404] symlink("/dev/binderfs", "./binderfs" [pid 398] <... ioctl resumed>) = 0 [pid 397] <... mount resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 404] <... symlink resumed>) = 0 [pid 398] close(4 [pid 309] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 404] write(1, "executing program\n", 18 [pid 398] <... close resumed>) = 0 executing program [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 404] <... write resumed>) = 18 [pid 398] exit_group(0 [pid 309] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 398] <... exit_group resumed>) = ? [pid 404] memfd_create("syzkaller", 0 [pid 398] +++ exited with 0 +++ [pid 404] <... memfd_create resumed>) = 3 [pid 309] <... openat resumed>) = 4 [pid 397] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 404] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 399] <... mount resumed>) = 0 [pid 309] fstat(4 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=398, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 397] <... openat resumed>) = 3 [pid 404] <... mmap resumed>) = 0x7f11e81cd000 [pid 399] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 397] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [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"..., 524288 [pid 397] <... openat resumed>) = 4 [pid 309] getdents64(4 [pid 404] <... write resumed>) = 524288 [pid 306] <... restart_syscall resumed>) = 0 [pid 404] munmap(0x7f11e81cd000, 138412032 [pid 397] ioctl(4, LOOP_CLR_FD [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 399] <... openat resumed>) = 3 [pid 309] getdents64(4 [pid 306] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 404] <... munmap resumed>) = 0 [pid 399] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 397] <... ioctl resumed>) = 0 [pid 309] close(4 [pid 306] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 404] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 399] <... openat resumed>) = 4 [pid 397] close(4 [pid 404] <... openat resumed>) = 4 [pid 309] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 397] <... close resumed>) = 0 [pid 404] ioctl(4, LOOP_SET_FD, 3 [pid 399] ioctl(4, LOOP_CLR_FD [pid 309] rmdir("./8/file0" [pid 306] fstat(3 [pid 404] <... ioctl resumed>) = 0 [pid 399] <... ioctl resumed>) = 0 [pid 397] exit_group(0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 404] close(3 [pid 399] close(4 [pid 397] <... exit_group resumed>) = ? [pid 309] <... rmdir resumed>) = 0 [pid 404] <... close resumed>) = 0 [pid 399] <... close resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 404] close(4 [pid 309] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 404] <... close resumed>) = 0 [pid 399] exit_group(0 [pid 397] +++ exited with 0 +++ [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 404] mkdir("./file0", 0777 [pid 399] <... exit_group resumed>) = ? [pid 404] <... mkdir resumed>) = 0 [pid 399] +++ exited with 0 +++ [pid 309] newfstatat(AT_FDCWD, "./8/binderfs" [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=397, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=399, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./8/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 404] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] rmdir("./8") = 0 [pid 309] mkdir("./9", 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=0x5555866cd690) = 406 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 406 attached [pid 406] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 406] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 406] chdir("./9") = 0 [pid 406] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 406] setpgid(0, 0) = 0 [pid 406] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 406] write(3, "1000", 4) = 4 [pid 406] close(3) = 0 [pid 406] symlink("/dev/binderfs", "./binderfs") = 0 [pid 406] write(1, "executing program\n", 18) = 18 [pid 406] memfd_create("syzkaller", 0) = 3 [pid 406] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] <... umount2 resumed>) = 0 [pid 406] <... mmap resumed>) = 0x7f11e81cd000 executing program [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"..., 524288 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./7/file0" [pid 310] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 26.052184][ T398] EXT4-fs (loop0): 1 truncate cleaned up [ 26.061879][ T397] EXT4-fs (loop2): 1 truncate cleaned up [ 26.069251][ T399] EXT4-fs (loop4): 1 truncate cleaned up [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./7/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 306] <... openat resumed>) = 4 [pid 308] fstat(3 [pid 306] fstat(4 [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 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 308] getdents64(3 [pid 306] getdents64(4 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] getdents64(4 [pid 310] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(4 [pid 310] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] rmdir("./7/file0" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./8/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./8/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./8/file0" [pid 310] newfstatat(AT_FDCWD, "./8/file0" [pid 308] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 308] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./8/binderfs") = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./7/binderfs" [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./8" [pid 310] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... rmdir resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] mkdir("./9", 0777) = 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 [pid 406] <... write resumed>) = 524288 [pid 404] <... mount resumed>) = 0 [pid 310] fstat(4 [pid 306] unlink("./7/binderfs"ci2-android-6-1/strace-static-x86_64: Process 407 attached [pid 406] munmap(0x7f11e81cd000, 138412032 [pid 404] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... unlink resumed>) = 0 [pid 406] <... munmap resumed>) = 0 [pid 404] <... openat resumed>) = 3 [pid 310] getdents64(4 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 407 [pid 306] getdents64(3 [pid 404] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 407] set_robust_list(0x5555866cd6a0, 24 [pid 406] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 404] <... openat resumed>) = 4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 407] <... set_robust_list resumed>) = 0 [pid 406] <... openat resumed>) = 4 [pid 404] ioctl(4, LOOP_CLR_FD [pid 310] getdents64(4 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] close(3 [pid 407] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 407] chdir("./9") = 0 [pid 407] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 407] setpgid(0, 0) = 0 [pid 407] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... close resumed>) = 0 [pid 406] ioctl(4, LOOP_SET_FD, 3 [pid 404] <... ioctl resumed>) = 0 [pid 407] <... openat resumed>) = 3 [pid 407] write(3, "1000", 4) = 4 [pid 407] close(3) = 0 [pid 407] symlink("/dev/binderfs", "./binderfs") = 0 [pid 404] close(4 [pid 310] close(4 [pid 306] rmdir("./7" [pid 407] write(1, "executing program\n", 18 executing program [pid 406] <... ioctl resumed>) = 0 [pid 404] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 407] <... write resumed>) = 18 [pid 406] close(3 [pid 404] exit_group(0 [pid 310] rmdir("./8/file0" [pid 306] mkdir("./8", 0777 [pid 407] memfd_create("syzkaller", 0 [pid 406] <... close resumed>) = 0 [pid 404] <... exit_group resumed>) = ? [pid 310] <... rmdir resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 407] <... memfd_create resumed>) = 3 [pid 406] close(4 [pid 404] +++ exited with 0 +++ [pid 310] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 407] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 406] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] --- 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 306] <... openat resumed>) = 3 [pid 407] <... mmap resumed>) = 0x7f11e81cd000 [pid 406] mkdir("./file0", 0777 [pid 310] newfstatat(AT_FDCWD, "./8/binderfs" [pid 306] ioctl(3, LOOP_CLR_FD [pid 406] <... mkdir resumed>) = 0 [pid 310] <... 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 406] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] unlink("./8/binderfs" [pid 306] close(3 [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"..., 524288 [pid 310] <... unlink resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 310] getdents64(3 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] close(3 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./8" [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 409 [pid 407] <... write resumed>) = 524288 [pid 310] <... rmdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 407] munmap(0x7f11e81cd000, 138412032 [pid 310] mkdir("./9", 0777 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 407] <... munmap resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 407] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 26.098210][ T404] EXT4-fs (loop1): orphan cleanup on readonly fs [ 26.118073][ T404] EXT4-fs (loop1): 1 truncate cleaned up [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=0x5555866cd690) = 410 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 409 attached [pid 407] <... openat resumed>) = 4 [pid 407] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 409] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 407] close(3 [pid 307] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 407] <... close resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 407] close(4 [pid 307] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 407] <... close resumed>) = 0 [pid 407] mkdir("./file0", 0777 [pid 307] <... openat resumed>) = 3 [pid 409] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 407] <... mkdir resumed>) = 0 [pid 307] fstat(3 [pid 407] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 409] chdir("./8") = 0 [pid 307] getdents64(3 [pid 409] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 409] <... prctl resumed>) = 0 [pid 307] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 409] setpgid(0, 0) = 0 [pid 409] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 307] <... umount2 resumed>) = 0 [pid 409] write(3, "1000", 4 [pid 307] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 409] <... write resumed>) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 409] close(3 [pid 307] newfstatat(AT_FDCWD, "./8/file0" [pid 409] <... close resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 409] symlink("/dev/binderfs", "./binderfs" [pid 307] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 409] <... symlink resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 409] write(1, "executing program\n", 18 [pid 307] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 409] <... write resumed>) = 18 [pid 307] <... openat resumed>) = 4 executing program [pid 409] memfd_create("syzkaller", 0 [pid 307] fstat(4 [pid 409] <... memfd_create resumed>) = 3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 409] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] getdents64(4 [pid 409] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./8/file0") = 0 [pid 307] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./8/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./8" [pid 409] 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"..., 524288 [pid 307] <... rmdir resumed>) = 0 [pid 307] mkdir("./9", 0777 [pid 409] <... write resumed>) = 524288 [pid 307] <... mkdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 410 attached [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 410] set_robust_list(0x5555866cd6a0, 24 [pid 307] <... openat resumed>) = 3 [pid 410] <... set_robust_list resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 410] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 410] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] close(3 [pid 410] chdir("./9" [pid 307] <... close resumed>) = 0 [pid 410] <... chdir resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 410] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 409] munmap(0x7f11e81cd000, 138412032 [pid 406] <... mount resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 410] <... prctl resumed>) = 0 [pid 406] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 409] <... munmap resumed>) = 0 [pid 406] <... openat resumed>) = 3 [pid 409] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 406] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 409] <... openat resumed>) = 4 [pid 406] <... openat resumed>) = 4 [pid 409] ioctl(4, LOOP_SET_FD, 3 [pid 406] ioctl(4, LOOP_CLR_FDci2-android-6-1/strace-static-x86_64: Process 412 attached [pid 410] setpgid(0, 0 [pid 406] <... ioctl resumed>) = 0 [pid 412] set_robust_list(0x5555866cd6a0, 24 [pid 410] <... setpgid resumed>) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 412 [pid 412] <... set_robust_list resumed>) = 0 [pid 410] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 406] close(4 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 412] rt_sigprocmask(SIG_SETMASK, [] [pid 410] <... openat resumed>) = 3 [pid 409] <... ioctl resumed>) = 0 [pid 406] <... close resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 412] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 410] write(3, "1000", 4 [pid 406] exit_group(0 [pid 410] <... write resumed>) = 4 [pid 409] close(3 [pid 410] close(3 [pid 412] chdir("./9" [pid 410] <... close resumed>) = 0 [pid 409] <... close resumed>) = 0 [pid 406] <... exit_group resumed>) = ? [pid 412] <... chdir resumed>) = 0 [pid 410] symlink("/dev/binderfs", "./binderfs" [pid 412] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 410] <... symlink resumed>) = 0 [pid 412] <... prctl resumed>) = 0 executing program [pid 410] write(1, "executing program\n", 18 [pid 412] setpgid(0, 0 [pid 410] <... write resumed>) = 18 [pid 412] <... setpgid resumed>) = 0 [pid 410] memfd_create("syzkaller", 0 [pid 412] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 410] <... memfd_create resumed>) = 3 [pid 412] <... openat resumed>) = 3 [pid 410] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 409] close(4 [pid 406] +++ exited with 0 +++ [pid 412] write(3, "1000", 4 [pid 410] <... mmap resumed>) = 0x7f11e81cd000 [pid 412] <... write resumed>) = 4 [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"..., 524288 [pid 409] <... close resumed>) = 0 [pid 412] close(3 [pid 410] <... write resumed>) = 524288 [pid 409] mkdir("./file0", 0777 [pid 412] <... close resumed>) = 0 [pid 410] munmap(0x7f11e81cd000, 138412032 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=406, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 412] symlink("/dev/binderfs", "./binderfs" [pid 410] <... munmap resumed>) = 0 [pid 409] <... mkdir resumed>) = 0 [pid 309] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 412] <... symlink resumed>) = 0 [pid 410] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 409] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 407] <... mount resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 412] write(1, "executing program\n", 18 [pid 410] <... openat resumed>) = 4 [pid 309] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 412] <... write resumed>) = 18 [pid 407] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 412] memfd_create("syzkaller", 0 [pid 410] ioctl(4, LOOP_SET_FD, 3 [pid 407] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 3 [pid 412] <... memfd_create resumed>) = 3 [pid 410] <... ioctl resumed>) = 0 [pid 412] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 26.150459][ T406] EXT4-fs (loop3): orphan cleanup on readonly fs [ 26.174799][ T407] EXT4-fs (loop2): orphan cleanup on readonly fs [ 26.180537][ T406] EXT4-fs (loop3): 1 truncate cleaned up [ 26.192410][ T407] EXT4-fs (loop2): 1 truncate cleaned up [pid 309] fstat(3 [pid 412] <... mmap resumed>) = 0x7f11e81cd000 [pid 410] close(3 [pid 412] 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"..., 524288 [pid 410] <... close resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 410] close(4) = 0 [pid 407] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] getdents64(3 [pid 410] mkdir("./file0", 0777) = 0 [pid 407] <... openat resumed>) = 4 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 410] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 407] ioctl(4, LOOP_CLR_FD [pid 309] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 407] <... ioctl resumed>) = 0 [pid 407] close(4 [pid 412] <... write resumed>) = 524288 [pid 412] munmap(0x7f11e81cd000, 138412032 [pid 309] <... umount2 resumed>) = 0 [pid 412] <... munmap resumed>) = 0 [pid 412] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 412] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 412] close(3) = 0 [pid 412] close(4) = 0 [pid 412] mkdir("./file0", 0777) = 0 [pid 412] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 407] <... close resumed>) = 0 [pid 407] exit_group(0) = ? [pid 407] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=407, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 308] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./9", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./9/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./9/file0") = 0 [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") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 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) = 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=0x5555866cd690) = 416 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 409] <... mount resumed>) = 0 [pid 409] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 409] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 409] ioctl(4, LOOP_CLR_FD) = 0 [pid 409] close(4) = 0 [pid 409] exit_group(0) = ? [pid 409] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=409, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [ 26.209634][ T409] EXT4-fs (loop0): orphan cleanup on readonly fs [ 26.228679][ T409] EXT4-fs (loop0): 1 truncate cleaned up [ 26.235132][ T410] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 416 attached [pid 308] <... umount2 resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 306] fstat(3 [pid 308] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./9/file0" [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 416] set_robust_list(0x5555866cd6a0, 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 306] <... umount2 resumed>) = 0 [pid 416] <... openat resumed>) = 3 [pid 416] write(3, "1000", 4) = 4 [pid 306] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 416] close(3 [pid 308] fstat(4 [pid 306] newfstatat(AT_FDCWD, "./8/file0" [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] umount2("./8/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] close(4 [pid 306] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 308] rmdir("./9/file0" [pid 306] fstat(4 [pid 416] <... close resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./9/binderfs" [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] getdents64(4 [pid 308] unlink("./9/binderfs" [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... unlink resumed>) = 0 [pid 306] close(4 [pid 308] getdents64(3 [pid 306] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] rmdir("./8/file0" [pid 308] close(3 [pid 306] <... rmdir resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 306] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 416] symlink("/dev/binderfs", "./binderfs" [pid 308] rmdir("./9" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rmdir resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./8/binderfs" [pid 308] mkdir("./10", 0777 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 306] unlink("./8/binderfs" [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] <... unlink resumed>) = 0 [pid 416] <... symlink resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 306] getdents64(3 [pid 416] write(1, "executing program\n", 18 [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 416] <... write resumed>) = 18 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) executing program [pid 306] close(3 [pid 308] close(3 [pid 306] <... close resumed>) = 0 [pid 416] memfd_create("syzkaller", 0 [pid 308] <... close resumed>) = 0 [pid 306] rmdir("./8" [pid 416] <... memfd_create resumed>) = 3 [pid 416] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... rmdir resumed>) = 0 [pid 416] <... mmap resumed>) = 0x7f11e81cd000 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] mkdir("./9", 0777 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 417 [pid 306] ioctl(3, LOOP_CLR_FD [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 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=0x5555866cd690) = 418 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [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"..., 524288 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 416] <... write resumed>) = 524288 [pid 410] <... mount resumed>) = 0 [pid 410] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 410] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 410] ioctl(4, LOOP_CLR_FD) = 0 [pid 410] close(4ci2-android-6-1/strace-static-x86_64: Process 417 attached ci2-android-6-1/strace-static-x86_64: Process 418 attached [pid 416] munmap(0x7f11e81cd000, 138412032) = 0 [pid 410] <... close resumed>) = 0 [pid 418] set_robust_list(0x5555866cd6a0, 24 [pid 416] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 418] <... set_robust_list resumed>) = 0 [pid 417] set_robust_list(0x5555866cd6a0, 24 [pid 418] rt_sigprocmask(SIG_SETMASK, [] [pid 417] <... set_robust_list resumed>) = 0 [pid 416] <... openat resumed>) = 4 [pid 412] <... mount resumed>) = 0 [pid 410] exit_group(0 [pid 417] rt_sigprocmask(SIG_SETMASK, [] [pid 416] ioctl(4, LOOP_SET_FD, 3 [pid 418] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 412] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 410] <... exit_group resumed>) = ? [pid 417] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 417] chdir("./10") = 0 [pid 417] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 417] setpgid(0, 0) = 0 [pid 417] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 417] write(3, "1000", 4) = 4 [pid 417] close(3) = 0 [pid 417] symlink("/dev/binderfs", "./binderfs") = 0 [pid 417] write(1, "executing program\n", 18) = 18 executing program [pid 417] memfd_create("syzkaller", 0 [pid 416] <... ioctl resumed>) = 0 [pid 417] <... memfd_create resumed>) = 3 [pid 416] close(3 [pid 417] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 416] <... close resumed>) = 0 [pid 416] close(4) = 0 [pid 418] chdir("./9" [pid 416] mkdir("./file0", 0777 [pid 418] <... chdir resumed>) = 0 [pid 418] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 416] <... mkdir resumed>) = 0 [pid 416] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 418] <... prctl resumed>) = 0 [pid 417] 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"..., 524288 [pid 418] setpgid(0, 0) = 0 [pid 418] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 418] write(3, "1000", 4) = 4 [pid 412] <... openat resumed>) = 3 [pid 418] close(3 [pid 412] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 417] <... write resumed>) = 524288 [pid 417] munmap(0x7f11e81cd000, 138412032 [pid 410] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=410, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 418] <... close resumed>) = 0 [pid 412] <... openat resumed>) = 4 [pid 417] <... munmap resumed>) = 0 [pid 417] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 417] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 417] close(3) = 0 [pid 417] close(4) = 0 [pid 417] mkdir("./file0", 0777) = 0 [pid 417] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./9", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 418] symlink("/dev/binderfs", "./binderfs") = 0 [pid 418] write(1, "executing program\n", 18) = 18 executing program [pid 418] memfd_create("syzkaller", 0) = 3 [pid 418] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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"..., 524288 [pid 412] ioctl(4, LOOP_CLR_FD) = 0 [pid 412] close(4) = 0 [pid 412] exit_group(0) = ? [pid 412] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=412, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 418] <... write resumed>) = 524288 [pid 418] munmap(0x7f11e81cd000, 138412032 [pid 310] <... umount2 resumed>) = 0 [pid 418] <... munmap resumed>) = 0 [pid 418] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./9/file0" [pid 418] <... openat resumed>) = 4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 418] ioctl(4, LOOP_SET_FD, 3 [pid 310] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] <... restart_syscall resumed>) = 0 [pid 310] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... openat resumed>) = 3 [pid 310] close(4 [pid 307] fstat(3 [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./9/file0" [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3 [pid 310] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 418] <... ioctl resumed>) = 0 [pid 418] close(3 [pid 310] unlink("./9/binderfs" [pid 418] <... close resumed>) = 0 [pid 418] close(4) = 0 [pid 418] mkdir("./file0", 0777) = 0 [pid 418] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... unlink resumed>) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./9") = 0 [pid 310] mkdir("./10", 0777 [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./9/file0" [pid 310] <... mkdir resumed>) = 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=0x5555866cd690) = 421 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./9/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [ 26.256370][ T412] EXT4-fs (loop1): orphan cleanup on readonly fs [ 26.269210][ T410] EXT4-fs (loop4): 1 truncate cleaned up [ 26.283295][ T412] EXT4-fs (loop1): 1 truncate cleaned up [pid 307] rmdir("./9/file0") = 0 [pid 307] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./9/binderfs" [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] <... unlink resumed>) = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 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 ci2-android-6-1/strace-static-x86_64: Process 421 attached [pid 421] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 421] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 421] chdir("./10") = 0 [pid 421] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 421] setpgid(0, 0) = 0 [pid 421] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 421] write(3, "1000", 4) = 4 [pid 421] close(3) = 0 [pid 421] symlink("/dev/binderfs", "./binderfs") = 0 [pid 421] write(1, "executing program\n", 18) = 18 [pid 421] memfd_create("syzkaller", 0) = 3 [pid 421] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [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=0x5555866cd690) = 423 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 417] <... mount resumed>) = 0 [pid 417] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORYci2-android-6-1/strace-static-x86_64: Process 423 attached ) = 3 [pid 417] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 423] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 417] <... openat resumed>) = 4 [pid 423] rt_sigprocmask(SIG_SETMASK, [] [pid 417] ioctl(4, LOOP_CLR_FD [pid 423] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 417] <... ioctl resumed>) = 0 [pid 423] chdir("./10" [pid 417] close(4 [pid 416] <... mount resumed>) = 0 [pid 423] <... chdir resumed>) = 0 [pid 417] <... close resumed>) = 0 [pid 416] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 423] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 417] exit_group(0 [pid 423] <... prctl resumed>) = 0 [pid 417] <... exit_group resumed>) = ? [pid 423] setpgid(0, 0 [pid 416] <... openat resumed>) = 3 [pid 418] <... mount resumed>) = 0 [pid 418] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 417] +++ exited with 0 +++ [pid 423] <... setpgid resumed>) = 0 [pid 416] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 423] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 416] <... openat resumed>) = 4 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=417, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 423] <... openat resumed>) = 3 [pid 416] ioctl(4, LOOP_CLR_FD [pid 423] write(3, "1000", 4 [pid 421] 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"..., 524288 [pid 423] <... write resumed>) = 4 [pid 418] <... openat resumed>) = 3 [pid 416] <... ioctl resumed>) = 0 [pid 423] close(3 [pid 416] close(4 [pid 418] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 423] <... close resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 423] symlink("/dev/binderfs", "./binderfs" [pid 416] <... close 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 [pid 423] <... symlink resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 423] write(1, "executing program\n", 18 executing program [pid 308] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 423] <... write resumed>) = 18 [pid 418] <... openat resumed>) = 4 [pid 416] exit_group(0 [pid 423] memfd_create("syzkaller", 0 [pid 421] <... write resumed>) = 524288 [pid 418] ioctl(4, LOOP_CLR_FD [pid 416] <... exit_group resumed>) = ? [pid 308] <... umount2 resumed>) = 0 [pid 423] <... memfd_create resumed>) = 3 [pid 423] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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"..., 524288 [pid 308] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./10/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./10/file0") = 0 [pid 308] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./10/binderfs" [pid 423] <... write resumed>) = 524288 [pid 308] <... unlink resumed>) = 0 [pid 423] munmap(0x7f11e81cd000, 138412032 [pid 421] munmap(0x7f11e81cd000, 138412032 [pid 418] <... ioctl resumed>) = 0 [pid 416] +++ exited with 0 +++ [pid 308] getdents64(3 [pid 423] <... munmap resumed>) = 0 [pid 421] <... munmap resumed>) = 0 [pid 418] close(4 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=416, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 423] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 418] <... close resumed>) = 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 423] <... openat resumed>) = 4 [pid 421] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 418] exit_group(0 [pid 308] close(3 [pid 421] <... openat resumed>) = 4 [pid 421] ioctl(4, LOOP_SET_FD, 3 [pid 423] ioctl(4, LOOP_SET_FD, 3 [pid 421] <... ioctl resumed>) = 0 [pid 418] <... exit_group resumed>) = ? [pid 308] <... close resumed>) = 0 [pid 423] <... ioctl resumed>) = 0 [pid 418] +++ exited with 0 +++ [pid 308] rmdir("./10" [pid 423] close(3 [pid 308] <... rmdir resumed>) = 0 [pid 423] <... close resumed>) = 0 [pid 308] mkdir("./11", 0777 [pid 423] close(4 [pid 308] <... mkdir resumed>) = 0 [pid 423] <... close resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=418, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 423] mkdir("./file0", 0777 [pid 308] <... openat resumed>) = 3 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 423] <... mkdir resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 423] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] close(3 [pid 309] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] <... close resumed>) = 0 [pid 309] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] fstat(3 [pid 306] <... restart_syscall resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 425 [pid 421] close(3 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 421] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 421] close(4 [pid 306] <... openat resumed>) = 3 [pid 421] <... close resumed>) = 0 [pid 306] fstat(3 [pid 421] mkdir("./file0", 0777 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 421] <... mkdir resumed>) = 0 [ 26.339251][ T416] EXT4-fs (loop3): orphan cleanup on readonly fs [ 26.346737][ T418] EXT4-fs (loop0): orphan cleanup on readonly fs [ 26.357153][ T417] EXT4-fs (loop2): orphan cleanup on readonly fs [ 26.365353][ T416] EXT4-fs (loop3): 1 truncate cleaned up [ 26.372969][ T417] EXT4-fs (loop2): 1 truncate cleaned up [ 26.380057][ T418] EXT4-fs (loop0): 1 truncate cleaned up [pid 306] getdents64(3 [pid 421] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... umount2 resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./10/file0" [pid 306] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./10/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 309] rmdir("./10/file0") = 0 [pid 309] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./10/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./10" [pid 306] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... rmdir resumed>) = 0 [pid 309] mkdir("./11", 0777) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 306] newfstatat(AT_FDCWD, "./9/file0" [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] close(3 [pid 306] umount2("./9/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... close resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 425 attached [pid 306] <... openat resumed>) = 4 ci2-android-6-1/strace-static-x86_64: Process 427 attached [pid 425] set_robust_list(0x5555866cd6a0, 24 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 427 [pid 427] set_robust_list(0x5555866cd6a0, 24 [pid 425] <... set_robust_list resumed>) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 306] fstat(4 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 427] <... set_robust_list resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 421] <... mount resumed>) = 0 [pid 421] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 427] rt_sigprocmask(SIG_SETMASK, [] [pid 306] getdents64(4 [pid 425] rt_sigprocmask(SIG_SETMASK, [] [pid 421] <... openat resumed>) = 3 [pid 421] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 425] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 427] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 421] <... openat resumed>) = 4 [pid 421] ioctl(4, LOOP_CLR_FD) = 0 [pid 421] close(4) = 0 [pid 421] exit_group(0) = ? [pid 425] chdir("./11" [pid 427] chdir("./11" [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 427] <... chdir resumed>) = 0 [pid 425] <... chdir resumed>) = 0 [pid 427] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 425] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 306] close(4 [pid 423] <... mount resumed>) = 0 [pid 427] <... prctl resumed>) = 0 [pid 425] <... prctl resumed>) = 0 [pid 423] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] <... close resumed>) = 0 [pid 427] setpgid(0, 0 [pid 425] setpgid(0, 0 [pid 306] rmdir("./9/file0" [pid 427] <... setpgid resumed>) = 0 [pid 425] <... setpgid resumed>) = 0 [pid 423] <... openat resumed>) = 3 [pid 306] <... rmdir resumed>) = 0 [pid 425] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 423] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 421] +++ exited with 0 +++ [pid 427] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 425] <... openat resumed>) = 3 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=421, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] newfstatat(AT_FDCWD, "./9/binderfs" [pid 427] <... openat resumed>) = 3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./9/binderfs" [pid 427] write(3, "1000", 4 [pid 425] write(3, "1000", 4 [pid 423] <... openat resumed>) = 4 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 427] <... write resumed>) = 4 [pid 425] <... write resumed>) = 4 [pid 306] close(3) = 0 [pid 306] rmdir("./9" [pid 427] close(3 [pid 425] close(3 [pid 423] ioctl(4, LOOP_CLR_FD [pid 427] <... close resumed>) = 0 [pid 425] <... close resumed>) = 0 [pid 427] symlink("/dev/binderfs", "./binderfs" [pid 425] symlink("/dev/binderfs", "./binderfs" [pid 423] <... ioctl resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 427] <... symlink resumed>) = 0 [pid 423] close(4 [pid 306] mkdir("./10", 0777 [pid 427] write(1, "executing program\n", 18 [pid 425] <... symlink resumed>) = 0 [pid 423] <... close resumed>) = 0 executing program [pid 427] <... write resumed>) = 18 [pid 425] write(1, "executing program\n", 18 [pid 306] <... mkdir resumed>) = 0 executing program [pid 423] exit_group(0 [pid 427] memfd_create("syzkaller", 0 [pid 425] <... write resumed>) = 18 [pid 425] memfd_create("syzkaller", 0 [pid 423] <... exit_group resumed>) = ? [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 427] <... memfd_create resumed>) = 3 [pid 425] <... memfd_create resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 427] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 425] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] close(3 [pid 425] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] <... close resumed>) = 0 [pid 427] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 428 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 428 attached [pid 428] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 428] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 428] chdir("./10") = 0 [pid 428] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 428] setpgid(0, 0) = 0 [pid 428] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 425] 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"..., 524288 [pid 428] write(3, "1000", 4) = 4 [pid 428] close(3) = 0 [pid 428] symlink("/dev/binderfs", "./binderfs") = 0 [pid 428] write(1, "executing program\n", 18) = 18 [pid 428] memfd_create("syzkaller", 0) = 3 [pid 428] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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"..., 524288 [pid 428] 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"..., 524288 [pid 310] <... restart_syscall resumed>) = 0 executing program [pid 310] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./10", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 310] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./10/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./10/file0") = 0 [pid 310] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./10/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 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, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 429 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 425] <... write resumed>) = 524288 [pid 428] <... write resumed>) = 524288 [pid 428] munmap(0x7f11e81cd000, 138412032) = 0 [pid 428] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 428] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 428] close(3) = 0 [pid 428] close(4) = 0 [pid 428] mkdir("./file0", 0777) = 0 [pid 428] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 429 attached [pid 429] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 429] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 429] chdir("./11") = 0 [pid 429] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 429] setpgid(0, 0) = 0 [ 26.431620][ T423] EXT4-fs (loop1): orphan cleanup on readonly fs [ 26.439644][ T421] EXT4-fs (loop4): orphan cleanup on readonly fs [ 26.443441][ T423] EXT4-fs (loop1): 1 truncate cleaned up [ 26.451054][ T421] EXT4-fs (loop4): 1 truncate cleaned up [pid 429] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 429] write(3, "1000", 4) = 4 [pid 429] close(3) = 0 [pid 427] <... write resumed>) = 524288 [pid 425] munmap(0x7f11e81cd000, 138412032 [pid 423] +++ exited with 0 +++ [pid 307] --- 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 427] munmap(0x7f11e81cd000, 138412032 [pid 307] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./10", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 429] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 429] write(1, "executing program\n", 18) = 18 [pid 429] memfd_create("syzkaller", 0) = 3 [pid 429] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 427] <... munmap resumed>) = 0 [pid 425] <... munmap resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./10/file0" [pid 429] 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"..., 524288 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 425] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 427] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 307] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 425] <... openat resumed>) = 4 [pid 427] <... openat resumed>) = 4 [pid 425] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 427] ioctl(4, LOOP_SET_FD, 3 [pid 429] <... write resumed>) = 524288 [pid 429] munmap(0x7f11e81cd000, 138412032 [pid 307] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 429] <... munmap resumed>) = 0 [pid 429] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 429] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 429] close(3) = 0 [pid 429] close(4) = 0 [pid 429] mkdir("./file0", 0777) = 0 [pid 429] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 425] <... ioctl resumed>) = 0 [pid 425] close(3) = 0 [pid 425] close(4) = 0 [pid 425] mkdir("./file0", 0777) = 0 [pid 425] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 427] <... ioctl resumed>) = 0 [pid 307] <... openat resumed>) = 4 [pid 427] close(3) = 0 [pid 427] close(4) = 0 [pid 427] mkdir("./file0", 0777 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 427] <... mkdir resumed>) = 0 [pid 427] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./10/file0") = 0 [pid 307] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./10/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./10") = 0 [ 26.483599][ T428] EXT4-fs (loop0): orphan cleanup on readonly fs [ 26.519407][ T427] EXT4-fs (loop3): orphan cleanup on readonly fs [ 26.525817][ T428] EXT4-fs (loop0): 1 truncate cleaned up [pid 307] mkdir("./11", 0777) = 0 [pid 427] <... mount resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 427] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] <... openat resumed>) = 3 [pid 427] <... openat resumed>) = 3 [pid 307] ioctl(3, LOOP_CLR_FD [pid 427] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 428] <... mount resumed>) = 0 [pid 427] <... openat resumed>) = 4 [pid 307] close(3 [pid 428] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 427] ioctl(4, LOOP_CLR_FD [pid 307] <... close resumed>) = 0 [pid 427] <... ioctl resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 428] <... openat resumed>) = 3 [pid 427] close(4 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 428] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 427] <... close resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 434 [pid 427] exit_group(0ci2-android-6-1/strace-static-x86_64: Process 434 attached [pid 428] <... openat resumed>) = 4 [pid 427] <... exit_group resumed>) = ? [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 428] ioctl(4, LOOP_CLR_FD [pid 427] +++ exited with 0 +++ [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 434] set_robust_list(0x5555866cd6a0, 24 [pid 428] <... ioctl resumed>) = 0 [pid 434] <... set_robust_list resumed>) = 0 [pid 428] close(4 [pid 434] rt_sigprocmask(SIG_SETMASK, [] [pid 428] <... close resumed>) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=427, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 434] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 428] exit_group(0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 428] <... exit_group resumed>) = ? [pid 434] chdir("./11" [pid 428] +++ exited with 0 +++ [pid 434] <... chdir resumed>) = 0 [pid 434] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 434] setpgid(0, 0) = 0 [pid 434] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 434] write(3, "1000", 4) = 4 [pid 434] close(3) = 0 [pid 434] symlink("/dev/binderfs", "./binderfs") = 0 [pid 434] write(1, "executing program\n", 18) = 18 [pid 434] memfd_create("syzkaller", 0) = 3 executing program [pid 434] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=428, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 434] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 429] <... mount resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 429] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] <... openat resumed>) = 3 [pid 306] fstat(3 [pid 309] fstat(3 [pid 429] <... openat resumed>) = 3 [pid 306] <... 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 306] getdents64(3 [pid 429] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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"..., 524288 [pid 309] <... umount2 resumed>) = 0 [pid 434] <... write resumed>) = 524288 [pid 429] <... openat resumed>) = 4 [pid 309] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = 0 [pid 429] ioctl(4, LOOP_CLR_FD [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 429] <... ioctl resumed>) = 0 [pid 429] close(4 [pid 309] newfstatat(AT_FDCWD, "./11/file0" [pid 306] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 429] <... close resumed>) = 0 [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 429] exit_group(0 [pid 309] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./10/file0" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 429] <... exit_group resumed>) = ? [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./10/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 429] +++ exited with 0 +++ [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=429, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] <... openat resumed>) = 4 [pid 306] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... openat resumed>) = 4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(4 [pid 309] getdents64(4 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 434] munmap(0x7f11e81cd000, 138412032 [pid 306] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 434] <... munmap resumed>) = 0 [pid 309] close(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 434] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 434] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... close resumed>) = 0 [pid 306] close(4) = 0 [pid 309] rmdir("./11/file0") = 0 [pid 306] rmdir("./10/file0" [pid 434] <... ioctl resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 309] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 434] close(3 [pid 309] newfstatat(AT_FDCWD, "./11/binderfs" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 434] <... close resumed>) = 0 [pid 434] close(4) = 0 [pid 434] mkdir("./file0", 0777 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./10/binderfs" [pid 309] unlink("./11/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... unlink resumed>) = 0 [pid 306] unlink("./10/binderfs" [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... unlink resumed>) = 0 [pid 309] close(3) = 0 [pid 306] getdents64(3 [pid 309] rmdir("./11" [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 434] <... mkdir resumed>) = 0 [pid 434] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... rmdir resumed>) = 0 [pid 306] close(3 [pid 309] mkdir("./12", 0777 [pid 306] <... close resumed>) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 306] rmdir("./10" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./11", 0777 [pid 310] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 3 [pid 306] <... mkdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] fstat(3 [pid 309] close(3 [pid 306] <... openat resumed>) = 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>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] close(3ci2-android-6-1/strace-static-x86_64: Process 436 attached ) = 0 [pid 436] set_robust_list(0x5555866cd6a0, 24 [pid 425] <... mount resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 436 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 436] <... set_robust_list resumed>) = 0 [pid 425] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 436] rt_sigprocmask(SIG_SETMASK, [] [pid 425] <... openat resumed>) = 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [ 26.532327][ T429] EXT4-fs (loop4): orphan cleanup on readonly fs [ 26.532344][ T427] EXT4-fs (loop3): 1 truncate cleaned up [ 26.541412][ T425] EXT4-fs (loop2): orphan cleanup on readonly fs [ 26.555935][ T429] EXT4-fs (loop4): 1 truncate cleaned up [ 26.562966][ T425] EXT4-fs (loop2): 1 truncate cleaned up [pid 310] newfstatat(AT_FDCWD, "./11/file0"ci2-android-6-1/strace-static-x86_64: Process 437 attached [pid 436] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 425] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 436] chdir("./12" [pid 434] <... mount resumed>) = 0 [pid 425] <... openat resumed>) = 4 [pid 310] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 437 [pid 437] set_robust_list(0x5555866cd6a0, 24 [pid 436] <... chdir resumed>) = 0 [pid 425] ioctl(4, LOOP_CLR_FD [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 436] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 425] <... ioctl resumed>) = 0 [pid 310] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 437] <... set_robust_list resumed>) = 0 [pid 436] <... prctl resumed>) = 0 [pid 434] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 425] close(4 [pid 310] <... openat resumed>) = 4 [pid 437] rt_sigprocmask(SIG_SETMASK, [] [pid 436] setpgid(0, 0 [pid 434] <... openat resumed>) = 3 [pid 425] <... close resumed>) = 0 [pid 310] fstat(4 [pid 436] <... setpgid resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 425] exit_group(0 [pid 310] getdents64(4 [pid 434] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 436] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 434] <... openat resumed>) = 4 [pid 434] ioctl(4, LOOP_CLR_FD) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 425] <... exit_group resumed>) = ? [pid 437] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 436] <... openat resumed>) = 3 [pid 434] close(4 [pid 310] getdents64(4 [pid 437] chdir("./11" [pid 434] <... close resumed>) = 0 [pid 434] exit_group(0 [pid 437] <... chdir resumed>) = 0 [pid 434] <... exit_group resumed>) = ? [pid 437] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 436] write(3, "1000", 4 [pid 425] +++ exited with 0 +++ [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 437] setpgid(0, 0 [pid 436] <... write resumed>) = 4 [pid 434] +++ exited with 0 +++ [pid 310] close(4 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=425, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 436] close(3 [pid 310] <... close resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=434, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 436] <... close resumed>) = 0 [pid 310] rmdir("./11/file0" [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 436] symlink("/dev/binderfs", "./binderfs" [pid 437] <... setpgid resumed>) = 0 [pid 437] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 437] write(3, "1000", 4 [pid 310] <... rmdir resumed>) = 0 [pid 437] <... write resumed>) = 4 [pid 437] close(3) = 0 [pid 437] symlink("/dev/binderfs", "./binderfs" [pid 436] <... symlink resumed>) = 0 [pid 310] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 436] write(1, "executing program\n", 18 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 436] <... write resumed>) = 18 executing program [pid 437] <... symlink resumed>) = 0 [pid 436] memfd_create("syzkaller", 0 [pid 310] newfstatat(AT_FDCWD, "./11/binderfs" [pid 437] write(1, "executing program\n", 18 [pid 436] <... memfd_create resumed>) = 3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 436] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] unlink("./11/binderfs" [pid 437] <... write resumed>) = 18 [pid 436] <... mmap resumed>) = 0x7f11e81cd000 [pid 437] memfd_create("syzkaller", 0 [pid 310] <... unlink resumed>) = 0 [pid 437] <... memfd_create resumed>) = 3 [pid 437] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 437] 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"..., 524288 [pid 436] 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"..., 524288 [pid 310] getdents64(3 [pid 437] <... write resumed>) = 524288 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 310] close(3 [pid 437] munmap(0x7f11e81cd000, 138412032 [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./11" [pid 308] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 437] <... munmap resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] mkdir("./12", 0777 [pid 308] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 437] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 437] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 437] close(3) = 0 [pid 437] close(4) = 0 [pid 437] mkdir("./file0", 0777) = 0 [pid 437] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 436] <... write resumed>) = 524288 [pid 436] munmap(0x7f11e81cd000, 138412032 [pid 307] <... restart_syscall resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] fstat(3 [pid 307] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] fstat(3 [pid 310] <... openat resumed>) = 3 [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 310] ioctl(3, LOOP_CLR_FD [pid 307] getdents64(3 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] getdents64(3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] close(3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] <... close resumed>) = 0 [pid 308] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 436] <... munmap resumed>) = 0 [pid 436] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 436] ioctl(4, LOOP_SET_FD, 3 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 436] <... ioctl resumed>) = 0 [pid 436] close(3) = 0 [pid 436] close(4) = 0 [pid 436] mkdir("./file0", 0777) = 0 [pid 436] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 439 ci2-android-6-1/strace-static-x86_64: Process 439 attached [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... umount2 resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 439] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 439] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 439] chdir("./12") = 0 [pid 439] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 439] setpgid(0, 0) = 0 [pid 308] newfstatat(AT_FDCWD, "./11/file0" [pid 307] <... umount2 resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./11/file0" [pid 308] openat(AT_FDCWD, "./11/file0", 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 308] <... openat resumed>) = 4 [pid 307] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 439] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] fstat(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] getdents64(4 [pid 307] <... openat resumed>) = 4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 307] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] close(4 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... close resumed>) = 0 [pid 307] close(4 [pid 308] rmdir("./11/file0" [pid 307] <... close resumed>) = 0 [pid 307] rmdir("./11/file0" [pid 439] <... openat resumed>) = 3 [pid 308] <... rmdir resumed>) = 0 [pid 439] write(3, "1000", 4 [pid 308] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rmdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./11/binderfs" [pid 307] newfstatat(AT_FDCWD, "./11/binderfs" [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 439] <... write resumed>) = 4 [pid 439] close(3 [pid 307] unlink("./11/binderfs" [pid 308] unlink("./11/binderfs" [pid 439] <... close resumed>) = 0 [pid 439] symlink("/dev/binderfs", "./binderfs") = 0 [pid 439] write(1, "executing program\n", 18) = 18 executing program [ 26.600618][ T434] EXT4-fs (loop1): orphan cleanup on readonly fs [ 26.607969][ T434] EXT4-fs (loop1): 1 truncate cleaned up [ 26.634409][ T436] EXT4-fs (loop3): orphan cleanup on readonly fs [pid 439] memfd_create("syzkaller", 0) = 3 [pid 439] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] <... unlink resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 307] getdents64(3 [pid 308] getdents64(3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 308] close(3 [pid 307] rmdir("./11") = 0 [pid 308] <... close resumed>) = 0 [pid 307] mkdir("./12", 0777) = 0 [pid 308] rmdir("./11" [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [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"..., 524288 [pid 308] <... rmdir resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 439] <... write resumed>) = 524288 [pid 439] munmap(0x7f11e81cd000, 138412032) = 0 [pid 439] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 439] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 439] close(3) = 0 [pid 439] close(4) = 0 [pid 439] mkdir("./file0", 0777) = 0 [pid 439] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] mkdir("./12", 0777 [pid 307] close(3) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... openat resumed>) = 3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 442 [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] close(3) = 0 ci2-android-6-1/strace-static-x86_64: Process 442 attached [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 442] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 442] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 442] chdir("./12") = 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) = 3 [pid 442] write(3, "1000", 4) = 4 [pid 442] close(3) = 0 [pid 442] symlink("/dev/binderfs", "./binderfs") = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD executing program [pid 442] write(1, "executing program\n", 18) = 18 [pid 442] memfd_create("syzkaller", 0) = 3 [pid 442] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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"..., 524288ci2-android-6-1/strace-static-x86_64: Process 443 attached [pid 443] set_robust_list(0x5555866cd6a0, 24 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 443 [pid 443] <... set_robust_list resumed>) = 0 [pid 443] rt_sigprocmask(SIG_SETMASK, [] [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 443] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 443] chdir("./12") = 0 [pid 443] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 442] <... write resumed>) = 524288 [pid 439] <... mount resumed>) = 0 [pid 437] <... mount resumed>) = 0 [pid 436] <... mount resumed>) = 0 [pid 442] munmap(0x7f11e81cd000, 138412032 [pid 439] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 436] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 442] <... munmap resumed>) = 0 [pid 439] <... openat resumed>) = 3 [pid 436] <... openat resumed>) = 3 [pid 442] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 439] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 436] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 442] <... openat resumed>) = 4 [pid 439] <... openat resumed>) = 4 [pid 442] ioctl(4, LOOP_SET_FD, 3 [pid 439] ioctl(4, LOOP_CLR_FD [pid 436] <... openat resumed>) = 4 [pid 442] <... ioctl resumed>) = 0 [pid 439] <... ioctl resumed>) = 0 [pid 436] ioctl(4, LOOP_CLR_FD [pid 442] close(3 [pid 439] close(4 [pid 442] <... close resumed>) = 0 [pid 436] <... ioctl resumed>) = 0 [pid 442] close(4 [pid 439] <... close resumed>) = 0 [pid 442] <... close resumed>) = 0 [pid 439] exit_group(0 [pid 436] close(4 [pid 442] mkdir("./file0", 0777 [pid 439] <... exit_group resumed>) = ? [pid 442] <... mkdir resumed>) = 0 [pid 439] +++ exited with 0 +++ [pid 442] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 436] <... close resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 436] exit_group(0 [pid 443] <... prctl resumed>) = 0 [pid 437] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 436] <... exit_group resumed>) = ? [pid 436] +++ exited with 0 +++ [pid 443] setpgid(0, 0 [pid 437] <... openat resumed>) = 3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=436, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 443] <... setpgid resumed>) = 0 [pid 437] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 443] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 437] <... openat resumed>) = 4 [pid 437] ioctl(4, LOOP_CLR_FD [pid 443] <... openat resumed>) = 3 [pid 437] <... ioctl resumed>) = 0 [ 26.645849][ T437] EXT4-fs (loop0): orphan cleanup on readonly fs [ 26.666583][ T437] EXT4-fs (loop0): 1 truncate cleaned up [ 26.675033][ T436] EXT4-fs (loop3): 1 truncate cleaned up [ 26.681700][ T439] EXT4-fs (loop4): orphan cleanup on readonly fs [ 26.693907][ T439] EXT4-fs (loop4): 1 truncate cleaned up [pid 310] <... restart_syscall resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 443] write(3, "1000", 4 [pid 437] close(4 [pid 310] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 443] <... write resumed>) = 4 [pid 437] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 443] close(3 [pid 309] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 437] exit_group(0 [pid 310] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 443] <... close resumed>) = 0 [pid 437] <... exit_group resumed>) = ? [pid 443] symlink("/dev/binderfs", "./binderfs" [pid 310] <... openat resumed>) = 3 [pid 309] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 437] +++ exited with 0 +++ [pid 310] fstat(3 [pid 309] <... openat resumed>) = 3 [pid 443] <... symlink resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 443] write(1, "executing program\n", 18 [pid 309] fstat(3 [pid 310] getdents64(3 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=437, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- executing program [pid 443] <... write resumed>) = 18 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 443] memfd_create("syzkaller", 0 [pid 310] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 443] <... memfd_create resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 443] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 310] <... umount2 resumed>) = 0 [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"..., 524288 [pid 310] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 443] <... write resumed>) = 524288 [pid 443] munmap(0x7f11e81cd000, 138412032) = 0 [pid 443] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] newfstatat(AT_FDCWD, "./12/file0" [pid 309] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... restart_syscall resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./12/file0" [pid 310] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... openat resumed>) = 4 [pid 309] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] getdents64(4 [pid 306] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... openat resumed>) = 4 [pid 310] getdents64(4 [pid 306] <... openat resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] fstat(4 [pid 306] fstat(3 [pid 310] close(4 [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] <... close resumed>) = 0 [pid 309] getdents64(4 [pid 310] rmdir("./12/file0" [pid 306] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 443] <... openat resumed>) = 4 [pid 443] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... rmdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(4 [pid 306] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 443] <... ioctl resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./12/binderfs" [pid 309] close(4 [pid 443] close(3) = 0 [pid 443] close(4) = 0 [pid 443] mkdir("./file0", 0777) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 310] unlink("./12/binderfs" [pid 309] rmdir("./12/file0" [pid 310] <... unlink resumed>) = 0 [pid 443] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... rmdir resumed>) = 0 [pid 310] getdents64(3 [pid 309] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] close(3 [pid 309] newfstatat(AT_FDCWD, "./12/binderfs" [pid 310] <... close resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] rmdir("./12" [pid 309] unlink("./12/binderfs" [pid 310] <... rmdir resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 310] mkdir("./13", 0777 [pid 309] getdents64(3 [pid 306] newfstatat(AT_FDCWD, "./11/file0" [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 309] close(3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 309] rmdir("./12" [pid 306] umount2("./11/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] ioctl(3, LOOP_CLR_FD) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] close(3 [pid 309] mkdir("./13", 0777 [pid 306] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... close resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] fstat(4 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... openat resumed>) = 3 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] ioctl(3, LOOP_CLR_FD) = 0 [pid 306] getdents64(4 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 446 [pid 309] close(3 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] getdents64(4 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] close(4) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 447 [pid 306] rmdir("./11/file0" [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 306] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 26.713258][ T442] EXT4-fs (loop1): orphan cleanup on readonly fs [ 26.736147][ T442] EXT4-fs (loop1): 1 truncate cleaned up [pid 306] unlink("./11/binderfs"ci2-android-6-1/strace-static-x86_64: Process 447 attached ci2-android-6-1/strace-static-x86_64: Process 446 attached [pid 442] <... mount resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 447] set_robust_list(0x5555866cd6a0, 24 [pid 446] set_robust_list(0x5555866cd6a0, 24 [pid 442] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] getdents64(3 [pid 447] <... set_robust_list resumed>) = 0 [pid 446] <... set_robust_list resumed>) = 0 [pid 442] <... openat resumed>) = 3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 447] rt_sigprocmask(SIG_SETMASK, [] [pid 446] rt_sigprocmask(SIG_SETMASK, [] [pid 442] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] close(3 [pid 447] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 446] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 442] <... openat resumed>) = 4 [pid 306] <... close resumed>) = 0 [pid 447] chdir("./13" [pid 446] chdir("./13" [pid 442] ioctl(4, LOOP_CLR_FD [pid 306] rmdir("./11" [pid 447] <... chdir resumed>) = 0 [pid 446] <... chdir resumed>) = 0 [pid 442] <... ioctl resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 447] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 446] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 442] close(4 [pid 306] mkdir("./12", 0777 [pid 447] <... prctl resumed>) = 0 [pid 446] <... prctl resumed>) = 0 [pid 442] <... close resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 447] setpgid(0, 0 [pid 446] setpgid(0, 0 [pid 442] exit_group(0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 447] <... setpgid resumed>) = 0 [pid 446] <... setpgid resumed>) = 0 [pid 442] <... exit_group resumed>) = ? [pid 306] <... openat resumed>) = 3 [pid 447] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 446] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 442] +++ exited with 0 +++ [pid 306] ioctl(3, LOOP_CLR_FD [pid 447] <... openat resumed>) = 3 [pid 446] <... openat resumed>) = 3 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=442, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 447] write(3, "1000", 4 [pid 446] write(3, "1000", 4 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] close(3 [pid 447] <... write resumed>) = 4 [pid 446] <... write resumed>) = 4 [pid 306] <... close resumed>) = 0 [pid 447] close(3 [pid 446] close(3 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 447] <... close resumed>) = 0 [pid 446] <... close resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 447] symlink("/dev/binderfs", "./binderfs" [pid 446] symlink("/dev/binderfs", "./binderfs" [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 447] <... symlink resumed>) = 0 [pid 446] <... symlink resumed>) = 0 [pid 447] write(1, "executing program\n", 18 [pid 446] write(1, "executing program\n", 18 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 448 [pid 447] <... write resumed>) = 18 [pid 446] <... write resumed>) = 18 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 447] memfd_create("syzkaller", 0 [pid 446] memfd_create("syzkaller", 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 447] <... memfd_create resumed>) = 3 [pid 446] <... memfd_create resumed>) = 3 [pid 447] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 446] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 447] <... mmap resumed>) = 0x7f11e81cd000 executing program executing program [pid 446] <... mmap resumed>) = 0x7f11e81cd000 [pid 447] 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"..., 524288 [pid 446] 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"..., 524288 [pid 307] <... restart_syscall resumed>) = 0 [pid 447] <... write resumed>) = 524288 [pid 446] <... write resumed>) = 524288 [pid 447] munmap(0x7f11e81cd000, 138412032 [pid 446] munmap(0x7f11e81cd000, 138412032 [pid 447] <... munmap resumed>) = 0 [pid 446] <... munmap resumed>) = 0 [pid 307] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 447] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 446] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 447] <... openat resumed>) = 4 [pid 446] <... openat resumed>) = 4 [pid 307] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 447] ioctl(4, LOOP_SET_FD, 3 [pid 446] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... openat resumed>) = 3 [pid 447] <... ioctl resumed>) = 0 [pid 446] <... ioctl resumed>) = 0 [pid 307] fstat(3 [pid 447] close(3 [pid 446] close(3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 447] <... close resumed>) = 0 [pid 446] <... close resumed>) = 0 [pid 307] getdents64(3 [pid 447] close(4 [pid 446] close(4 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 447] <... close resumed>) = 0 [pid 446] <... close resumed>) = 0 [pid 307] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 447] mkdir("./file0", 0777 [pid 446] mkdir("./file0", 0777 [pid 447] <... mkdir resumed>) = 0 [pid 446] <... mkdir resumed>) = 0 [pid 447] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 446] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 448 attached [pid 448] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 448] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 448] chdir("./12") = 0 [pid 448] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 448] setpgid(0, 0) = 0 [pid 448] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 448] write(3, "1000", 4) = 4 [pid 448] close(3) = 0 [pid 448] symlink("/dev/binderfs", "./binderfs") = 0 [pid 448] write(1, "executing program\n", 18) = 18 [pid 448] memfd_create("syzkaller", 0) = 3 [pid 448] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./12/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./12/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./12/file0") = 0 [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 executing program [pid 307] unlink("./12/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 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) = 0 [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=0x5555866cd690) = 451 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 448] 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"..., 524288) = 524288 [pid 448] munmap(0x7f11e81cd000, 138412032) = 0 [pid 448] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 448] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 448] close(3) = 0 [pid 448] close(4) = 0 [pid 448] mkdir("./file0", 0777) = 0 [pid 448] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 443] <... mount resumed>) = 0 [pid 443] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 443] openat(AT_FDCWD, "/dev/loop2", 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 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=443, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [ 26.769539][ T443] EXT4-fs (loop2): orphan cleanup on readonly fs [ 26.804365][ T443] EXT4-fs (loop2): 1 truncate cleaned up [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 451 attached [pid 451] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 451] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 451] chdir("./13") = 0 [pid 451] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 451] setpgid(0, 0) = 0 [pid 451] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 451] write(3, "1000", 4) = 4 [pid 451] close(3) = 0 [pid 451] symlink("/dev/binderfs", "./binderfs") = 0 [pid 451] write(1, "executing program\n", 18) = 18 [pid 451] memfd_create("syzkaller", 0) = 3 [pid 451] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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"..., 524288 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./12", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 executing program [pid 308] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 308] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./12/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./12/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./12/file0") = 0 [pid 308] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./12/binderfs" [pid 451] <... write resumed>) = 524288 [pid 308] <... unlink resumed>) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3 [pid 451] munmap(0x7f11e81cd000, 138412032 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./12" [pid 451] <... munmap resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 308] mkdir("./13", 0777 [pid 451] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 446] <... mount resumed>) = 0 [pid 451] <... openat resumed>) = 4 [pid 446] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 451] ioctl(4, LOOP_SET_FD, 3 [pid 446] <... openat resumed>) = 3 [pid 451] <... ioctl resumed>) = 0 [pid 446] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 451] close(3 [pid 446] <... openat resumed>) = 4 [pid 451] <... close resumed>) = 0 [pid 446] ioctl(4, LOOP_CLR_FD [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 451] close(4 [pid 446] <... ioctl resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 451] <... close resumed>) = 0 [pid 446] close(4 [pid 451] mkdir("./file0", 0777 [pid 446] <... close resumed>) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 453 [pid 451] <... mkdir resumed>) = 0 [pid 451] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 446] exit_group(0) = ? [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 446] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=446, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 310] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./13", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 310] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./13/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./13/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./13/file0") = 0 [pid 310] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./13/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./13") = 0 [pid 310] mkdir("./14", 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 [ 26.821372][ T447] EXT4-fs (loop3): orphan cleanup on readonly fs [ 26.821386][ T446] EXT4-fs (loop4): orphan cleanup on readonly fs [ 26.836017][ T446] EXT4-fs (loop4): 1 truncate cleaned up [ 26.853674][ T448] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 453 attached , child_tidptr=0x5555866cd690) = 455 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 453] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 453] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 455 attached [pid 453] chdir("./13" [pid 447] <... mount resumed>) = 0 [pid 453] <... chdir resumed>) = 0 [pid 453] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 453] setpgid(0, 0) = 0 [pid 455] set_robust_list(0x5555866cd6a0, 24 [pid 453] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 447] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 455] <... set_robust_list resumed>) = 0 [pid 453] <... openat resumed>) = 3 [pid 451] <... mount resumed>) = 0 [pid 448] <... mount resumed>) = 0 [pid 453] write(3, "1000", 4) = 4 [pid 453] close(3) = 0 [pid 453] symlink("/dev/binderfs", "./binderfs" [pid 455] rt_sigprocmask(SIG_SETMASK, [] [pid 453] <... symlink resumed>) = 0 [pid 451] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 448] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 447] <... openat resumed>) = 3 [pid 455] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 453] write(1, "executing program\n", 18) = 18 [pid 453] memfd_create("syzkaller", 0) = 3 executing program [pid 453] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 451] <... openat resumed>) = 3 [pid 447] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 455] chdir("./14" [pid 453] <... mmap resumed>) = 0x7f11e81cd000 [pid 455] <... chdir resumed>) = 0 [pid 453] 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"..., 524288 [pid 451] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 448] <... openat resumed>) = 3 [pid 447] <... openat resumed>) = 4 [pid 455] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 453] <... write resumed>) = 524288 [pid 453] munmap(0x7f11e81cd000, 138412032) = 0 [pid 453] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 453] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 453] close(3 [pid 455] <... prctl resumed>) = 0 [pid 453] <... close resumed>) = 0 [pid 451] <... openat resumed>) = 4 [pid 447] ioctl(4, LOOP_CLR_FD [pid 453] close(4 [pid 455] setpgid(0, 0 [pid 453] <... close resumed>) = 0 [pid 451] ioctl(4, LOOP_CLR_FD [pid 447] <... ioctl resumed>) = 0 [pid 453] mkdir("./file0", 0777 [pid 455] <... setpgid resumed>) = 0 [pid 453] <... mkdir resumed>) = 0 [pid 451] <... ioctl resumed>) = 0 [pid 447] close(4 [pid 453] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 455] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 451] close(4 [pid 448] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 447] <... close resumed>) = 0 [pid 455] <... openat resumed>) = 3 [pid 451] <... close resumed>) = 0 [pid 448] <... openat resumed>) = 4 [pid 447] exit_group(0 [pid 455] write(3, "1000", 4 [pid 451] exit_group(0 [pid 448] ioctl(4, LOOP_CLR_FD [pid 447] <... exit_group resumed>) = ? [pid 455] <... write resumed>) = 4 [pid 455] close(3 [pid 451] <... exit_group resumed>) = ? [pid 448] <... ioctl resumed>) = 0 [pid 447] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=447, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 455] <... close resumed>) = 0 [pid 309] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [ 26.878781][ T451] EXT4-fs (loop1): orphan cleanup on readonly fs [ 26.879721][ T447] EXT4-fs (loop3): 1 truncate cleaned up [ 26.893073][ T451] EXT4-fs (loop1): 1 truncate cleaned up [ 26.900611][ T448] EXT4-fs (loop0): 1 truncate cleaned up [pid 455] symlink("/dev/binderfs", "./binderfs" [pid 451] +++ exited with 0 +++ [pid 448] close(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 455] <... symlink resumed>) = 0 [pid 448] <... close resumed>) = 0 [pid 309] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] --- 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 309] <... openat resumed>) = 3 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 455] write(1, "executing program\n", 18 [pid 448] exit_group(0 [pid 455] <... write resumed>) = 18 executing program [pid 448] <... exit_group resumed>) = ? [pid 455] memfd_create("syzkaller", 0) = 3 [pid 448] +++ exited with 0 +++ [pid 309] <... umount2 resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 455] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=448, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 455] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./13/file0" [pid 307] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... 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("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [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"..., 524288 [pid 453] <... mount resumed>) = 0 [pid 309] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] fstat(3 [pid 306] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(3 [pid 309] fstat(4 [pid 307] getdents64(3 [pid 306] <... 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] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] getdents64(3 [pid 455] <... write resumed>) = 524288 [pid 453] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] getdents64(4 [pid 307] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./13/file0") = 0 [pid 309] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -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] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 307] <... umount2 resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./13") = 0 [pid 309] mkdir("./14", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 306] <... umount2 resumed>) = 0 [pid 455] munmap(0x7f11e81cd000, 138412032 [pid 309] ioctl(3, LOOP_CLR_FD [pid 307] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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=0x5555866cd690) = 457 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 455] <... munmap resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./13/file0" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 455] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./12/file0" [pid 455] <... openat resumed>) = 4 [pid 453] <... openat resumed>) = 3 [pid 307] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 455] ioctl(4, LOOP_SET_FD, 3 [pid 453] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./12/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 455] <... ioctl resumed>) = 0 [pid 453] <... openat resumed>) = 4 [pid 307] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ci2-android-6-1/strace-static-x86_64: Process 457 attached [pid 457] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 457] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 457] chdir("./14") = 0 [pid 307] fstat(4 [pid 306] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 457] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 455] close(3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... openat resumed>) = 4 [pid 457] setpgid(0, 0 [pid 455] <... close resumed>) = 0 [pid 453] ioctl(4, LOOP_CLR_FD [pid 307] getdents64(4 [pid 306] fstat(4 [pid 457] <... setpgid resumed>) = 0 [pid 455] close(4 [pid 453] <... ioctl resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 455] <... close resumed>) = 0 [pid 453] close(4 [pid 307] getdents64(4 [pid 306] getdents64(4 [pid 455] mkdir("./file0", 0777 [pid 453] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 455] <... mkdir resumed>) = 0 [pid 457] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 455] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 453] exit_group(0 [pid 307] close(4 [pid 306] getdents64(4 [pid 457] <... openat resumed>) = 3 [pid 453] <... exit_group resumed>) = ? [pid 307] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] rmdir("./13/file0" [pid 306] close(4 [pid 457] write(3, "1000", 4 [pid 453] +++ exited with 0 +++ [pid 457] <... write resumed>) = 4 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=453, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 457] close(3 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rmdir("./12/file0" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 457] <... close resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./13/binderfs" [pid 306] <... rmdir resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 457] symlink("/dev/binderfs", "./binderfs" [pid 307] unlink("./13/binderfs" [pid 306] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... unlink resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] getdents64(3 [pid 306] newfstatat(AT_FDCWD, "./12/binderfs" [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 457] <... symlink resumed>) = 0 [pid 307] close(3 [pid 306] unlink("./12/binderfs" [pid 307] <... close resumed>) = 0 [pid 457] write(1, "executing program\n", 18 [pid 307] rmdir("./13" [pid 306] <... unlink resumed>) = 0 executing program [pid 457] <... write resumed>) = 18 [pid 307] <... rmdir resumed>) = 0 [pid 306] getdents64(3 [pid 307] mkdir("./14", 0777 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 306] close(3 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] <... close resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] rmdir("./12" [pid 457] memfd_create("syzkaller", 0 [ 26.924068][ T453] EXT4-fs (loop2): orphan cleanup on readonly fs [ 26.938883][ T453] EXT4-fs (loop2): 1 truncate cleaned up [pid 307] ioctl(3, LOOP_CLR_FD [pid 457] <... memfd_create resumed>) = 3 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... rmdir resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./13", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 457] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] close(3 [pid 306] mkdir("./13", 0777 [pid 308] <... umount2 resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 308] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... openat resumed>) = 3 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 308] newfstatat(AT_FDCWD, "./13/file0" [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] close(3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 459 [pid 306] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 460 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 308] fstat(4 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./13/file0" [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"..., 524288 [pid 308] <... rmdir resumed>) = 0 [pid 308] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./13/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./13") = 0 [pid 457] <... write resumed>) = 524288 [pid 308] mkdir("./14", 0777) = 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|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 461 attached [pid 461] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 461] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 459 attached [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 461 ci2-android-6-1/strace-static-x86_64: Process 460 attached [pid 457] munmap(0x7f11e81cd000, 138412032 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 460] set_robust_list(0x5555866cd6a0, 24 [pid 459] set_robust_list(0x5555866cd6a0, 24 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 460] <... set_robust_list resumed>) = 0 [pid 459] <... set_robust_list resumed>) = 0 [pid 459] rt_sigprocmask(SIG_SETMASK, [] [pid 457] <... munmap resumed>) = 0 [pid 460] rt_sigprocmask(SIG_SETMASK, [] [pid 461] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 461] chdir("./14") = 0 [pid 461] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 461] setpgid(0, 0) = 0 [pid 459] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 460] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 457] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 459] chdir("./14" [pid 460] chdir("./13" [pid 457] <... openat resumed>) = 4 [pid 460] <... chdir resumed>) = 0 [pid 459] <... chdir resumed>) = 0 [pid 460] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 459] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 457] ioctl(4, LOOP_SET_FD, 3 [pid 460] <... prctl resumed>) = 0 [pid 459] <... prctl resumed>) = 0 [pid 460] setpgid(0, 0 [pid 459] setpgid(0, 0 [pid 461] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 461] write(3, "1000", 4) = 4 [pid 461] close(3 [pid 460] <... setpgid resumed>) = 0 [pid 459] <... setpgid resumed>) = 0 [pid 461] <... close resumed>) = 0 [pid 461] symlink("/dev/binderfs", "./binderfs") = 0 [pid 461] write(1, "executing program\n", 18) = 18 executing program [pid 461] memfd_create("syzkaller", 0) = 3 [pid 461] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 461] 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"..., 524288 [pid 459] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 460] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 459] <... openat resumed>) = 3 [pid 460] <... openat resumed>) = 3 [pid 459] write(3, "1000", 4 [pid 457] <... ioctl resumed>) = 0 [pid 460] write(3, "1000", 4 [pid 459] <... write resumed>) = 4 [pid 457] close(3 [pid 460] <... write resumed>) = 4 [pid 459] close(3 [pid 457] <... close resumed>) = 0 [pid 460] close(3 [pid 459] <... close resumed>) = 0 [pid 457] close(4 [pid 460] <... close resumed>) = 0 [pid 459] symlink("/dev/binderfs", "./binderfs" [pid 460] symlink("/dev/binderfs", "./binderfs" [pid 459] <... symlink resumed>) = 0 [pid 460] <... symlink resumed>) = 0 [pid 457] <... close resumed>) = 0 [pid 459] write(1, "executing program\n", 18 [pid 460] write(1, "executing program\n", 18 [pid 459] <... write resumed>) = 18 [pid 457] mkdir("./file0", 0777 [pid 460] <... write resumed>) = 18 executing program executing program [pid 459] memfd_create("syzkaller", 0 [pid 460] memfd_create("syzkaller", 0) = 3 [pid 459] <... memfd_create resumed>) = 3 [pid 457] <... mkdir resumed>) = 0 [pid 460] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 459] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 460] <... mmap resumed>) = 0x7f11e81cd000 [pid 459] <... mmap resumed>) = 0x7f11e81cd000 [pid 457] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 461] <... write resumed>) = 524288 [pid 461] munmap(0x7f11e81cd000, 138412032) = 0 [pid 461] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 460] 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"..., 524288 [pid 461] <... openat resumed>) = 4 [pid 461] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 461] close(3) = 0 [pid 461] close(4) = 0 [pid 461] mkdir("./file0", 0777 [pid 459] 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"..., 524288 [pid 461] <... mkdir resumed>) = 0 [pid 461] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 455] <... mount resumed>) = 0 [pid 455] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 455] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [ 26.980391][ T455] EXT4-fs (loop4): orphan cleanup on readonly fs [ 26.999192][ T455] EXT4-fs (loop4): 1 truncate cleaned up [pid 455] ioctl(4, LOOP_CLR_FD) = 0 [pid 455] close(4) = 0 [pid 455] exit_group(0) = ? [pid 455] +++ exited with 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=0} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 310] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./14", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 310] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./14/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./14/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./14/file0") = 0 [pid 310] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./14/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./14") = 0 [pid 460] <... write resumed>) = 524288 [pid 310] mkdir("./15", 0777 [pid 460] munmap(0x7f11e81cd000, 138412032 [pid 310] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 460] <... munmap resumed>) = 0 [pid 310] <... ioctl resumed>) = 0 [pid 460] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] close(3 [pid 460] <... openat resumed>) = 4 [pid 310] <... close resumed>) = 0 [pid 460] ioctl(4, LOOP_SET_FD, 3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 460] <... ioctl resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 460] close(3 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 460] <... close resumed>) = 0 [pid 460] close(4 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 464 [pid 460] <... close resumed>) = 0 [pid 460] mkdir("./file0", 0777 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 460] <... mkdir resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 460] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 459] <... write resumed>) = 524288 [pid 459] munmap(0x7f11e81cd000, 138412032) = 0 [pid 459] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 27.024027][ T457] EXT4-fs (loop3): orphan cleanup on readonly fs [ 27.043316][ T461] EXT4-fs (loop2): orphan cleanup on readonly fs [ 27.051401][ T457] EXT4-fs (loop3): 1 truncate cleaned up [ 27.068850][ T461] EXT4-fs (loop2): 1 truncate cleaned up [pid 459] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 459] close(3) = 0 [pid 459] close(4) = 0 [pid 459] mkdir("./file0", 0777ci2-android-6-1/strace-static-x86_64: Process 464 attached [pid 464] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 464] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 461] <... mount resumed>) = 0 [pid 460] <... mount resumed>) = 0 [pid 459] <... mkdir resumed>) = 0 [pid 457] <... mount resumed>) = 0 [pid 464] chdir("./15" [pid 460] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 461] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 459] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 457] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 460] <... openat resumed>) = 3 [pid 460] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 464] <... chdir resumed>) = 0 [pid 460] <... openat resumed>) = 4 [pid 464] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 460] ioctl(4, LOOP_CLR_FD [pid 464] setpgid(0, 0 [pid 461] <... openat resumed>) = 3 [pid 464] <... setpgid resumed>) = 0 [pid 461] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 460] <... ioctl resumed>) = 0 [pid 464] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 460] close(4 [pid 461] <... openat resumed>) = 4 [pid 460] <... close resumed>) = 0 [pid 464] <... openat resumed>) = 3 [pid 464] write(3, "1000", 4 [pid 461] ioctl(4, LOOP_CLR_FD [pid 460] exit_group(0 [pid 464] <... write resumed>) = 4 [pid 461] <... ioctl resumed>) = 0 [pid 460] <... exit_group resumed>) = ? [pid 457] <... openat resumed>) = 3 [pid 464] close(3 [pid 461] close(4 [pid 460] +++ exited with 0 +++ [pid 457] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=460, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 464] <... close resumed>) = 0 [pid 461] <... close resumed>) = 0 [pid 457] <... openat resumed>) = 4 [pid 464] symlink("/dev/binderfs", "./binderfs" [pid 461] exit_group(0 [pid 457] ioctl(4, LOOP_CLR_FD [pid 464] <... symlink resumed>) = 0 [pid 461] <... exit_group resumed>) = ? [pid 457] <... ioctl resumed>) = 0 [pid 464] write(1, "executing program\n", 18 [pid 461] +++ exited with 0 +++ [pid 457] close(4 [pid 464] <... write resumed>) = 18 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=461, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 457] <... close resumed>) = 0 executing program [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 464] memfd_create("syzkaller", 0 [pid 457] exit_group(0 [pid 464] <... memfd_create resumed>) = 3 [pid 457] <... exit_group resumed>) = ? [ 27.074512][ T460] EXT4-fs (loop0): orphan cleanup on readonly fs [ 27.077175][ T460] EXT4-fs (loop0): 1 truncate cleaned up [ 27.110072][ T459] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 464] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 457] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=457, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 309] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./14", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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"..., 524288 [pid 459] <... mount resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 308] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./13", 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, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... umount2 resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 309] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] fstat(3 [pid 306] fstat(3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [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 309] newfstatat(AT_FDCWD, "./14/file0" [pid 308] getdents64(3 [pid 306] getdents64(3 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./14/file0", 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 [pid 459] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./14/file0" [pid 459] <... openat resumed>) = 3 [pid 459] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] <... rmdir resumed>) = 0 [pid 309] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./14/binderfs" [pid 459] <... openat resumed>) = 4 [pid 309] <... unlink resumed>) = 0 [pid 464] <... write resumed>) = 524288 [pid 459] ioctl(4, LOOP_CLR_FD [pid 309] getdents64(3 [pid 464] munmap(0x7f11e81cd000, 138412032 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 464] <... munmap resumed>) = 0 [pid 459] <... ioctl resumed>) = 0 [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 [pid 308] <... umount2 resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 464] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 459] close(4 [pid 309] close(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 459] <... close resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./14/file0" [pid 464] <... openat resumed>) = 4 [pid 459] exit_group(0 [pid 309] <... close resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 464] ioctl(4, LOOP_SET_FD, 3 [pid 459] <... exit_group resumed>) = ? [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = 0 [pid 464] <... ioctl resumed>) = 0 [pid 459] +++ exited with 0 +++ [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 464] close(3 [pid 308] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=459, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 464] <... close resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] newfstatat(AT_FDCWD, "./13/file0" [pid 464] close(4 [pid 308] fstat(4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 464] <... close resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] umount2("./13/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 464] mkdir("./file0", 0777 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] getdents64(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 464] <... mkdir resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 464] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] getdents64(4 [pid 306] <... openat resumed>) = 4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] fstat(4ci2-android-6-1/strace-static-x86_64: Process 467 attached [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 467 [pid 308] close(4 [pid 307] <... restart_syscall resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 467] set_robust_list(0x5555866cd6a0, 24 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... close resumed>) = 0 [pid 306] getdents64(4 [pid 467] <... set_robust_list resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] rmdir("./14/file0" [pid 467] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 467] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(4 [pid 308] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] close(4 [pid 308] newfstatat(AT_FDCWD, "./14/binderfs" [pid 307] <... openat resumed>) = 3 [pid 306] <... close resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] fstat(3 [pid 306] rmdir("./13/file0" [pid 308] unlink("./14/binderfs" [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 467] chdir("./15" [pid 307] getdents64(3 [pid 306] <... rmdir resumed>) = 0 [pid 467] <... chdir resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 467] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 467] setpgid(0, 0) = 0 [pid 467] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 467] write(3, "1000", 4) = 4 [pid 467] close(3) = 0 [pid 467] symlink("/dev/binderfs", "./binderfs") = 0 [pid 467] write(1, "executing program\n", 18 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 executing program [pid 308] getdents64(3 [pid 467] <... write resumed>) = 18 [pid 307] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 467] memfd_create("syzkaller", 0 [pid 308] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./13/binderfs" [pid 308] rmdir("./14" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 467] <... memfd_create resumed>) = 3 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 467] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] mkdir("./15", 0777 [pid 307] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] unlink("./13/binderfs" [pid 467] <... mmap resumed>) = 0x7f11e81cd000 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 27.125602][ T459] EXT4-fs (loop1): 1 truncate cleaned up [ 27.165773][ T464] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 467] 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"..., 524288 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] newfstatat(AT_FDCWD, "./14/file0" [pid 306] <... unlink resumed>) = 0 [pid 464] <... mount resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(3 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 464] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] close(3 [pid 307] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 464] <... openat resumed>) = 3 [pid 308] <... close resumed>) = 0 [pid 307] <... openat resumed>) = 4 [pid 306] close(3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] fstat(4 [pid 306] rmdir("./13" [pid 464] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] 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] <... rmdir resumed>) = 0 [pid 306] mkdir("./14", 0777ci2-android-6-1/strace-static-x86_64: Process 469 attached [pid 467] <... write resumed>) = 524288 [pid 464] <... openat resumed>) = 4 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 469 [pid 307] getdents64(4 [pid 306] <... mkdir resumed>) = 0 [pid 469] set_robust_list(0x5555866cd6a0, 24 [pid 467] munmap(0x7f11e81cd000, 138412032 [pid 464] ioctl(4, LOOP_CLR_FD [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 469] <... set_robust_list resumed>) = 0 [pid 467] <... munmap resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] getdents64(4 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 469] rt_sigprocmask(SIG_SETMASK, [] [pid 467] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 469] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 467] <... openat resumed>) = 4 [pid 307] close(4 [pid 469] chdir("./15" [pid 467] ioctl(4, LOOP_SET_FD, 3 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 469] <... chdir resumed>) = 0 [pid 467] <... ioctl resumed>) = 0 [pid 464] <... ioctl resumed>) = 0 [pid 307] rmdir("./14/file0" [pid 469] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 467] close(3 [pid 307] <... rmdir resumed>) = 0 [pid 469] <... prctl resumed>) = 0 [pid 467] <... close resumed>) = 0 [pid 307] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 469] setpgid(0, 0 [pid 467] close(4 [pid 464] close(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] ioctl(3, LOOP_CLR_FD [pid 464] <... close resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./14/binderfs" [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 467] <... close resumed>) = 0 [pid 464] exit_group(0 [pid 306] close(3 [pid 467] mkdir("./file0", 0777 [pid 464] <... exit_group resumed>) = ? [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... close resumed>) = 0 [pid 464] +++ exited with 0 +++ [pid 307] unlink("./14/binderfs" [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 467] <... mkdir resumed>) = 0 [pid 310] --- 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 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 467] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... unlink resumed>) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] <... restart_syscall resumed>) = 0 [pid 307] getdents64(3 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 470 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 469] <... setpgid resumed>) = 0 [pid 310] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] close(3 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 469] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... close resumed>) = 0 [pid 310] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] rmdir("./14" [pid 469] <... openat resumed>) = 3 [pid 310] <... openat resumed>) = 3 [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 469] write(3, "1000", 4 [pid 310] getdents64(3 [pid 307] <... rmdir resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 469] <... write resumed>) = 4 [pid 310] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] mkdir("./15", 0777 [pid 469] close(3ci2-android-6-1/strace-static-x86_64: Process 470 attached [pid 307] <... mkdir resumed>) = 0 [pid 470] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 470] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 470] chdir("./14") = 0 [pid 470] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 470] setpgid(0, 0) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 470] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 470] write(3, "1000", 4) = 4 [pid 470] close(3) = 0 [pid 470] symlink("/dev/binderfs", "./binderfs") = 0 [pid 470] write(1, "executing program\n", 18) = 18 executing program [pid 470] memfd_create("syzkaller", 0) = 3 [pid 470] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 469] <... close resumed>) = 0 [pid 310] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... openat resumed>) = 3 [pid 469] symlink("/dev/binderfs", "./binderfs" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] newfstatat(AT_FDCWD, "./15/file0" [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] close(3 [pid 310] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 469] <... symlink resumed>) = 0 [pid 310] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 469] write(1, "executing program\n", 18 [pid 310] <... openat resumed>) = 4 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 469] <... write resumed>) = 18 executing program [pid 310] fstat(4 [pid 470] 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"..., 524288 [pid 469] memfd_create("syzkaller", 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 469] <... memfd_create resumed>) = 3 [pid 310] getdents64(4 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 472 [pid 469] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 310] getdents64(4 [pid 469] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./15/file0") = 0 [pid 310] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 469] 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"..., 524288 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ci2-android-6-1/strace-static-x86_64: Process 472 attached [pid 310] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./15/binderfs") = 0 [pid 469] <... write resumed>) = 524288 [pid 310] getdents64(3 [pid 472] set_robust_list(0x5555866cd6a0, 24 [pid 469] munmap(0x7f11e81cd000, 138412032 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 472] <... set_robust_list resumed>) = 0 [pid 469] <... munmap resumed>) = 0 [pid 310] rmdir("./15" [pid 469] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] <... rmdir resumed>) = 0 [pid 472] rt_sigprocmask(SIG_SETMASK, [] [pid 469] <... openat resumed>) = 4 [pid 310] mkdir("./16", 0777 [pid 472] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 469] ioctl(4, LOOP_SET_FD, 3 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 472] chdir("./15" [pid 470] <... write resumed>) = 524288 [pid 469] <... ioctl resumed>) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 472] <... chdir resumed>) = 0 [pid 469] close(3 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 472] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 469] <... close resumed>) = 0 [pid 310] close(3 [pid 472] <... prctl resumed>) = 0 [pid 469] close(4 [pid 310] <... close resumed>) = 0 [pid 472] setpgid(0, 0 [pid 469] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 472] <... setpgid resumed>) = 0 [pid 469] mkdir("./file0", 0777 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 472] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 470] munmap(0x7f11e81cd000, 138412032 [pid 469] <... mkdir resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 472] <... openat resumed>) = 3 [pid 470] <... munmap resumed>) = 0 [pid 469] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 472] write(3, "1000", 4 [pid 470] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 473 [pid 472] <... write resumed>) = 4 [pid 470] <... openat resumed>) = 4 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 472] close(3 [pid 470] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 472] <... close resumed>) = 0 [pid 470] <... ioctl resumed>) = 0 [pid 472] symlink("/dev/binderfs", "./binderfs" [pid 470] close(3 [pid 472] <... symlink resumed>) = 0 [pid 470] <... close resumed>) = 0 [ 27.179844][ T464] EXT4-fs (loop4): 1 truncate cleaned up [ 27.205121][ T467] EXT4-fs (loop3): orphan cleanup on readonly fs [pid 472] write(1, "executing program\n", 18 executing program [pid 470] close(4 [pid 472] <... write resumed>) = 18 [pid 470] <... close resumed>) = 0 [pid 472] memfd_create("syzkaller", 0 [pid 470] mkdir("./file0", 0777 [pid 472] <... memfd_create resumed>) = 3 [pid 470] <... mkdir resumed>) = 0 [pid 472] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 470] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 472] <... mmap resumed>) = 0x7f11e81cd000 [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"..., 524288ci2-android-6-1/strace-static-x86_64: Process 473 attached ) = 524288 [pid 472] munmap(0x7f11e81cd000, 138412032) = 0 [pid 472] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 472] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 472] close(3) = 0 [pid 472] close(4) = 0 [pid 472] mkdir("./file0", 0777) = 0 [pid 472] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 473] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 473] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 467] <... mount resumed>) = 0 [pid 467] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 473] chdir("./16") = 0 [pid 469] <... mount resumed>) = 0 [pid 467] <... openat resumed>) = 3 [pid 473] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 469] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 473] <... prctl resumed>) = 0 [pid 469] <... openat resumed>) = 3 [pid 473] setpgid(0, 0 [pid 469] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 467] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 473] <... setpgid resumed>) = 0 [pid 469] <... openat resumed>) = 4 [pid 473] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 469] ioctl(4, LOOP_CLR_FD [pid 473] <... openat resumed>) = 3 [pid 469] <... ioctl resumed>) = 0 [pid 467] <... openat resumed>) = 4 [pid 473] write(3, "1000", 4 [pid 469] close(4 [pid 473] <... write resumed>) = 4 [pid 469] <... close resumed>) = 0 [pid 473] close(3 [pid 469] exit_group(0 [pid 467] ioctl(4, LOOP_CLR_FD [pid 473] <... close resumed>) = 0 [pid 469] <... exit_group resumed>) = ? [pid 473] symlink("/dev/binderfs", "./binderfs" [pid 469] +++ exited with 0 +++ [pid 467] <... ioctl resumed>) = 0 [pid 473] <... symlink resumed>) = 0 [pid 473] write(1, "executing program\n", 18) = 18 [pid 473] memfd_create("syzkaller", 0) = 3 [pid 473] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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"..., 524288 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=469, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- executing program [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 467] close(4 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 467] <... close resumed>) = 0 [ 27.230791][ T467] EXT4-fs (loop3): 1 truncate cleaned up [ 27.241664][ T469] EXT4-fs (loop2): orphan cleanup on readonly fs [ 27.251027][ T470] EXT4-fs (loop0): orphan cleanup on readonly fs [ 27.258355][ T469] EXT4-fs (loop2): 1 truncate cleaned up [ 27.268336][ T472] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 467] exit_group(0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 467] <... exit_group resumed>) = ? [pid 308] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 467] +++ exited with 0 +++ [pid 308] fstat(3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=467, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3 [pid 308] getdents64(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 309] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./15/file0" [pid 308] newfstatat(AT_FDCWD, "./15/file0" [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 309] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [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 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 308] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 308] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 308] close(4 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 309] rmdir("./15/file0" [pid 308] rmdir("./15/file0" [pid 309] <... rmdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 309] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./15/binderfs" [pid 308] newfstatat(AT_FDCWD, "./15/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 309] unlink("./15/binderfs" [pid 308] unlink("./15/binderfs" [pid 470] <... mount resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 470] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] getdents64(3 [pid 308] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 308] close(3 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 309] rmdir("./15" [pid 308] rmdir("./15" [pid 470] <... openat resumed>) = 3 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 309] mkdir("./16", 0777 [pid 308] mkdir("./16", 0777 [pid 309] <... mkdir resumed>) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] ioctl(3, LOOP_CLR_FD [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 308] close(3 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 473] <... write resumed>) = 524288 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [ 27.277002][ T470] EXT4-fs (loop0): 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 477 attached [pid 473] munmap(0x7f11e81cd000, 138412032 [pid 477] set_robust_list(0x5555866cd6a0, 24 [pid 473] <... munmap resumed>) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 477 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 478 [pid 477] <... set_robust_list resumed>) = 0 [pid 473] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 470] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 477] rt_sigprocmask(SIG_SETMASK, [] [pid 473] <... openat resumed>) = 4 [pid 477] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 473] ioctl(4, LOOP_SET_FD, 3 [pid 477] chdir("./16" [pid 473] <... ioctl resumed>) = 0 [pid 477] <... chdir resumed>) = 0 [pid 473] close(3 [pid 477] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 473] <... close resumed>) = 0 [pid 477] <... prctl resumed>) = 0 [pid 473] close(4 [pid 477] setpgid(0, 0 [pid 473] <... close resumed>) = 0 [pid 477] <... setpgid resumed>) = 0 [pid 473] mkdir("./file0", 0777 [pid 477] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 473] <... mkdir resumed>) = 0 [pid 470] <... openat resumed>) = 4 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 477] <... openat resumed>) = 3 [pid 473] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 477] write(3, "1000", 4) = 4 [pid 477] close(3) = 0 [pid 470] ioctl(4, LOOP_CLR_FD [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 477] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 477] write(1, "executing program\n", 18) = 18 [pid 477] memfd_create("syzkaller", 0) = 3 [pid 477] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 477] 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"..., 524288) = 524288 [pid 477] munmap(0x7f11e81cd000, 138412032) = 0 [pid 470] <... ioctl resumed>) = 0 [pid 477] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 477] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 477] close(3) = 0 [pid 477] close(4) = 0 [pid 477] mkdir("./file0", 0777) = 0 [pid 477] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 470] close(4ci2-android-6-1/strace-static-x86_64: Process 478 attached [pid 478] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 478] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 478] chdir("./16") = 0 [pid 478] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 478] setpgid(0, 0) = 0 [pid 478] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 478] write(3, "1000", 4) = 4 [pid 478] close(3) = 0 [pid 478] symlink("/dev/binderfs", "./binderfs") = 0 [pid 478] write(1, "executing program\n", 18) = 18 [pid 470] <... close resumed>) = 0 executing program [pid 470] exit_group(0) = ? [pid 478] memfd_create("syzkaller", 0) = 3 [pid 478] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 470] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=470, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 478] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./14", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 27.302041][ T472] EXT4-fs (loop1): 1 truncate cleaned up [ 27.328692][ T473] EXT4-fs (loop4): orphan cleanup on readonly fs [ 27.338819][ T477] EXT4-fs (loop2): orphan cleanup on readonly fs [pid 306] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 478] 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"..., 524288) = 524288 [pid 306] <... umount2 resumed>) = 0 [pid 478] munmap(0x7f11e81cd000, 138412032 [pid 306] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 478] <... munmap resumed>) = 0 [pid 478] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./14/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./14/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./14/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./14/file0" [pid 478] <... openat resumed>) = 4 [pid 306] <... rmdir resumed>) = 0 [pid 306] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./14/binderfs") = 0 [pid 306] getdents64(3 [pid 473] <... mount resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 473] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 306] close(3 [pid 473] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] <... close resumed>) = 0 [pid 473] <... openat resumed>) = 4 [pid 306] rmdir("./14" [pid 473] ioctl(4, LOOP_CLR_FD [pid 478] ioctl(4, LOOP_SET_FD, 3 [pid 473] <... ioctl resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 473] close(4 [pid 306] mkdir("./15", 0777 [pid 473] <... close resumed>) = 0 [pid 478] <... ioctl resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 473] exit_group(0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 473] <... exit_group resumed>) = ? [pid 478] close(3) = 0 [pid 478] close(4) = 0 [pid 473] +++ exited with 0 +++ [pid 306] <... openat resumed>) = 3 [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 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] close(3 [pid 310] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 310] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... openat resumed>) = 3 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] fstat(3 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 481 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 478] mkdir("./file0", 0777) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./16/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./16/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./16/file0") = 0 [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] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [ 27.347185][ T473] EXT4-fs (loop4): 1 truncate cleaned up [pid 310] rmdir("./16") = 0 [pid 310] mkdir("./17", 0777 [pid 478] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 472] <... mount resumed>) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 472] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... ioctl resumed>) = 0 [pid 472] <... openat resumed>) = 3 [pid 310] close(3 [pid 472] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... close resumed>) = 0 [pid 472] <... openat resumed>) = 4 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 472] ioctl(4, LOOP_CLR_FD [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 472] <... ioctl resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 472] close(4) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 482 [pid 472] exit_group(0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 472] <... exit_group resumed>) = ? [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [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=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 481 attached [pid 481] set_robust_list(0x5555866cd6a0, 24ci2-android-6-1/strace-static-x86_64: Process 482 attached ) = 0 [pid 481] rt_sigprocmask(SIG_SETMASK, [] [pid 482] set_robust_list(0x5555866cd6a0, 24 [pid 481] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 481] chdir("./15" [pid 482] <... set_robust_list resumed>) = 0 [pid 477] <... mount resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 482] rt_sigprocmask(SIG_SETMASK, [] [pid 481] <... chdir resumed>) = 0 [pid 477] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 481] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 482] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 481] <... prctl resumed>) = 0 [pid 477] <... openat resumed>) = 3 [pid 482] chdir("./17" [pid 481] setpgid(0, 0 [pid 477] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 482] <... chdir resumed>) = 0 [pid 481] <... setpgid resumed>) = 0 [pid 477] <... openat resumed>) = 4 [pid 482] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 481] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 477] ioctl(4, LOOP_CLR_FD [pid 307] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 482] <... prctl resumed>) = 0 [pid 477] <... ioctl resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 482] setpgid(0, 0 [pid 481] <... openat resumed>) = 3 [pid 477] close(4 [pid 307] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 482] <... setpgid resumed>) = 0 [pid 477] <... close resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 482] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 481] write(3, "1000", 4) = 4 [pid 477] exit_group(0 [pid 307] fstat(3 [pid 482] <... openat resumed>) = 3 [pid 477] <... exit_group resumed>) = ? [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 482] write(3, "1000", 4 [pid 481] close(3) = 0 [pid 481] symlink("/dev/binderfs", "./binderfs" [pid 482] <... write resumed>) = 4 [pid 481] <... symlink resumed>) = 0 [pid 477] +++ exited with 0 +++ [pid 307] getdents64(3 [pid 482] close(3) = 0 [pid 481] write(1, "executing program\n", 18 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=477, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 482] symlink("/dev/binderfs", "./binderfs" [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> executing program [pid 307] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 482] <... symlink resumed>) = 0 [pid 481] <... write resumed>) = 18 [pid 307] <... umount2 resumed>) = 0 [pid 481] memfd_create("syzkaller", 0 [pid 307] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 481] <... memfd_create resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 481] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] newfstatat(AT_FDCWD, "./15/file0" [pid 481] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 482] write(1, "executing program\n", 18 executing program [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"..., 524288 [pid 307] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 482] <... write resumed>) = 18 [pid 481] <... write resumed>) = 524288 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 482] memfd_create("syzkaller", 0 [pid 307] fstat(4 [pid 482] <... memfd_create resumed>) = 3 [pid 308] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 482] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] getdents64(4 [pid 482] <... mmap resumed>) = 0x7f11e81cd000 [pid 308] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./15/file0") = 0 [pid 307] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [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"..., 524288 [pid 308] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./15/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 481] munmap(0x7f11e81cd000, 138412032 [pid 307] close(3 [pid 481] <... munmap resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 307] rmdir("./15") = 0 [pid 482] <... write resumed>) = 524288 [pid 308] fstat(3 [pid 307] mkdir("./16", 0777 [pid 482] munmap(0x7f11e81cd000, 138412032 [pid 481] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 481] <... openat resumed>) = 4 [pid 308] getdents64(3 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 482] <... munmap resumed>) = 0 [pid 481] ioctl(4, LOOP_SET_FD, 3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... openat resumed>) = 3 [pid 482] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 308] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 482] <... openat resumed>) = 4 [pid 307] ioctl(3, LOOP_CLR_FD [pid 482] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] close(3 [pid 482] <... ioctl resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 482] close(3 [pid 308] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 482] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 482] close(4 [pid 481] <... ioctl resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./16/file0" [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 482] <... close resumed>) = 0 [pid 481] close(3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 482] mkdir("./file0", 0777 [pid 481] <... close resumed>) = 0 [pid 308] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 482] <... mkdir resumed>) = 0 [pid 481] close(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 482] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 481] <... close resumed>) = 0 [pid 308] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 481] mkdir("./file0", 0777 [pid 308] <... openat resumed>) = 4 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 481] <... mkdir resumed>) = 0 [pid 308] fstat(4 [pid 481] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 485 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... close resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] rmdir("./16/file0") = 0 [pid 308] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./16/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./16") = 0 [pid 308] mkdir("./17", 0777) = 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=0x5555866cd690) = 487 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 485 attached [ 27.381832][ T477] EXT4-fs (loop2): 1 truncate cleaned up [ 27.403428][ T478] EXT4-fs (loop3): orphan cleanup on readonly fs [pid 485] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 485] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 485] chdir("./16"ci2-android-6-1/strace-static-x86_64: Process 487 attached ) = 0 [pid 487] set_robust_list(0x5555866cd6a0, 24 [pid 485] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 487] <... set_robust_list resumed>) = 0 [pid 485] <... prctl resumed>) = 0 [pid 487] rt_sigprocmask(SIG_SETMASK, [] [pid 485] setpgid(0, 0 [pid 482] <... mount resumed>) = 0 [pid 482] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 482] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 485] <... setpgid resumed>) = 0 [pid 482] ioctl(4, LOOP_CLR_FD) = 0 [pid 482] close(4 [pid 485] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 487] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 482] <... close resumed>) = 0 [pid 485] <... openat resumed>) = 3 [pid 487] chdir("./17" [pid 482] exit_group(0) = ? [pid 482] +++ exited with 0 +++ [pid 310] --- 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 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 487] <... chdir resumed>) = 0 [pid 485] write(3, "1000", 4 [pid 478] <... mount resumed>) = 0 [pid 487] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 487] setpgid(0, 0 [pid 485] <... write resumed>) = 4 [pid 487] <... setpgid resumed>) = 0 [pid 485] close(3 [pid 487] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 485] <... close resumed>) = 0 [pid 487] <... openat resumed>) = 3 [pid 485] symlink("/dev/binderfs", "./binderfs" [pid 487] write(3, "1000", 4 [pid 485] <... symlink resumed>) = 0 [pid 487] <... write resumed>) = 4 [pid 485] write(1, "executing program\n", 18 [pid 487] close(3 [pid 485] <... write resumed>) = 18 [pid 487] <... close resumed>) = 0 [pid 485] memfd_create("syzkaller", 0 [pid 487] symlink("/dev/binderfs", "./binderfs" [pid 485] <... memfd_create resumed>) = 3 [pid 487] <... symlink resumed>) = 0 [pid 485] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 487] write(1, "executing program\n", 18 [pid 485] <... mmap resumed>) = 0x7f11e81cd000 executing program executing program [pid 487] <... write resumed>) = 18 [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"..., 524288 [pid 478] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... restart_syscall resumed>) = 0 [pid 487] memfd_create("syzkaller", 0) = 3 [pid 478] <... openat resumed>) = 3 [pid 487] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 487] 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"..., 524288 [pid 478] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 485] <... write resumed>) = 524288 [pid 481] <... mount resumed>) = 0 [pid 478] <... openat resumed>) = 4 [pid 310] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 485] munmap(0x7f11e81cd000, 138412032) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 478] ioctl(4, LOOP_CLR_FD [pid 485] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 310] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 478] <... ioctl resumed>) = 0 [pid 485] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... openat resumed>) = 3 [pid 478] close(4 [pid 310] fstat(3 [pid 485] <... ioctl resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 485] close(3 [pid 310] getdents64(3 [pid 485] <... close resumed>) = 0 [pid 478] <... close resumed>) = 0 [pid 485] close(4 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 478] exit_group(0 [pid 310] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 485] <... close resumed>) = 0 [pid 485] mkdir("./file0", 0777) = 0 [pid 485] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 481] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 481] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 481] ioctl(4, LOOP_CLR_FD) = 0 [pid 481] close(4) = 0 [pid 481] exit_group(0) = ? [pid 481] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=481, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 487] <... write resumed>) = 524288 [pid 487] munmap(0x7f11e81cd000, 138412032) = 0 [pid 487] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 487] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 487] close(3) = 0 [pid 487] close(4) = 0 [pid 487] mkdir("./file0", 0777) = 0 [pid 487] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... umount2 resumed>) = 0 [pid 478] <... exit_group resumed>) = ? [pid 478] +++ exited with 0 +++ [pid 310] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=478, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [ 27.451389][ T482] EXT4-fs (loop4): orphan cleanup on readonly fs [ 27.456034][ T478] EXT4-fs (loop3): 1 truncate cleaned up [ 27.460074][ T481] EXT4-fs (loop0): orphan cleanup on readonly fs [ 27.471054][ T482] EXT4-fs (loop4): 1 truncate cleaned up [ 27.480396][ T481] EXT4-fs (loop0): 1 truncate cleaned up [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./17/file0" [pid 309] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./15", 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, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 310] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] fstat(3 [pid 306] fstat(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [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 309] getdents64(3 [pid 306] getdents64(3 [pid 310] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] <... openat resumed>) = 4 [pid 309] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 310] getdents64(4 [pid 309] <... umount2 resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(4 [pid 306] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./15/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./17/file0" [pid 309] newfstatat(AT_FDCWD, "./16/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./15/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... rmdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] <... openat resumed>) = 4 [pid 309] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] newfstatat(AT_FDCWD, "./17/binderfs" [pid 309] fstat(4 [pid 306] getdents64(4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 306] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 306] close(4 [pid 309] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] rmdir("./16/file0" [pid 306] rmdir("./15/file0" [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] unlink("./17/binderfs" [pid 309] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... unlink resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] newfstatat(AT_FDCWD, "./16/binderfs" [pid 306] newfstatat(AT_FDCWD, "./15/binderfs" [pid 310] close(3) = 0 [pid 309] <... 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 310] rmdir("./17" [pid 309] unlink("./16/binderfs" [pid 306] unlink("./15/binderfs" [pid 310] <... rmdir resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 310] mkdir("./18", 0777 [pid 309] getdents64(3 [pid 306] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 306] close(3 [pid 310] <... mkdir resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] rmdir("./16" [pid 306] rmdir("./15" [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 309] mkdir("./17", 0777 [pid 306] mkdir("./16", 0777 [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] <... mkdir resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 310] close(3) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 306] close(3 [pid 309] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] 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] <... clone resumed>, child_tidptr=0x5555866cd690) = 490 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 491 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 492 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 490 attached [pid 485] <... mount resumed>) = 0 [pid 485] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 485] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 485] ioctl(4, LOOP_CLR_FD) = 0 [pid 485] close(4) = 0 [pid 485] exit_group(0) = ? [pid 485] +++ exited with 0 +++ ci2-android-6-1/strace-static-x86_64: Process 491 attached [pid 491] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 491] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=485, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 491] chdir("./17") = 0 [pid 491] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 491] setpgid(0, 0) = 0 [pid 491] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 487] <... mount resumed>) = 0 [pid 487] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 491] <... openat resumed>) = 3 [pid 491] write(3, "1000", 4) = 4 [pid 491] close(3) = 0 [pid 490] set_robust_list(0x5555866cd6a0, 24 [pid 487] <... openat resumed>) = 3 [pid 491] symlink("/dev/binderfs", "./binderfs" [pid 487] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 490] <... set_robust_list resumed>) = 0 [pid 487] <... openat resumed>) = 4 [pid 491] <... symlink resumed>) = 0 [pid 491] write(1, "executing program\n", 18 executing program [pid 487] ioctl(4, LOOP_CLR_FD [pid 491] <... write resumed>) = 18 [pid 491] memfd_create("syzkaller", 0) = 3 [pid 487] <... ioctl resumed>) = 0 [pid 491] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 490] rt_sigprocmask(SIG_SETMASK, [] [pid 487] close(4 [pid 491] 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"..., 524288) = 524288 [pid 491] munmap(0x7f11e81cd000, 138412032) = 0 [pid 491] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 491] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 491] close(3) = 0 [pid 491] close(4) = 0 [pid 491] mkdir("./file0", 0777 [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 491] <... mkdir resumed>) = 0 [pid 307] getdents64(3ci2-android-6-1/strace-static-x86_64: Process 492 attached [pid 490] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 487] <... close resumed>) = 0 [pid 492] set_robust_list(0x5555866cd6a0, 24 [pid 491] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 492] <... set_robust_list resumed>) = 0 [pid 490] chdir("./18" [pid 487] exit_group(0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 492] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 490] <... chdir resumed>) = 0 [pid 487] <... exit_group resumed>) = ? [pid 307] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 492] chdir("./16") = 0 [pid 492] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 487] +++ exited with 0 +++ [pid 492] <... prctl resumed>) = 0 [pid 492] setpgid(0, 0 [pid 490] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 492] <... setpgid resumed>) = 0 [pid 492] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 492] write(3, "1000", 4 [pid 490] <... prctl resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=487, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 492] <... write resumed>) = 4 [pid 492] close(3 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 490] setpgid(0, 0 [pid 492] <... close resumed>) = 0 executing program [pid 492] symlink("/dev/binderfs", "./binderfs") = 0 [pid 490] <... setpgid resumed>) = 0 [pid 492] write(1, "executing program\n", 18) = 18 [pid 492] memfd_create("syzkaller", 0) = 3 [pid 492] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 490] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... umount2 resumed>) = 0 [pid 492] 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"..., 524288) = 524288 [pid 490] <... openat resumed>) = 3 [pid 492] munmap(0x7f11e81cd000, 138412032 [pid 490] write(3, "1000", 4 [pid 307] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 492] <... munmap resumed>) = 0 [pid 492] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 27.506469][ T485] EXT4-fs (loop1): orphan cleanup on readonly fs [ 27.522898][ T487] EXT4-fs (loop2): orphan cleanup on readonly fs [ 27.544587][ T485] EXT4-fs (loop1): 1 truncate cleaned up [ 27.550884][ T487] EXT4-fs (loop2): 1 truncate cleaned up [pid 492] ioctl(4, LOOP_SET_FD, 3 [pid 490] <... write resumed>) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 490] close(3 [pid 492] <... ioctl resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 490] <... close resumed>) = 0 [pid 490] symlink("/dev/binderfs", "./binderfs" [pid 308] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 492] close(3) = 0 [pid 492] close(4 [pid 490] <... symlink resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 492] <... close resumed>) = 0 [pid 490] write(1, "executing program\n", 18 [pid 308] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY executing program [pid 492] mkdir("./file0", 0777 [pid 490] <... write resumed>) = 18 [pid 308] <... openat resumed>) = 3 [pid 307] newfstatat(AT_FDCWD, "./16/file0" [pid 308] fstat(3 [pid 492] <... mkdir resumed>) = 0 [pid 490] memfd_create("syzkaller", 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] getdents64(3 [pid 492] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 490] <... memfd_create resumed>) = 3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 490] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 490] <... mmap resumed>) = 0x7f11e81cd000 [pid 490] 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"..., 524288 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... openat resumed>) = 4 [pid 307] fstat(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4 [pid 308] newfstatat(AT_FDCWD, "./17/file0" [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 490] <... write resumed>) = 524288 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] getdents64(4 [pid 490] munmap(0x7f11e81cd000, 138412032 [pid 308] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 490] <... munmap resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] close(4) = 0 [pid 490] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 308] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] rmdir("./16/file0" [pid 308] <... openat resumed>) = 4 [pid 490] <... openat resumed>) = 4 [pid 308] fstat(4 [pid 307] <... rmdir resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 490] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(4 [pid 490] <... ioctl resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] getdents64(4 [pid 490] close(3 [pid 307] unlink("./16/binderfs" [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... unlink resumed>) = 0 [pid 308] close(4 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... close resumed>) = 0 [pid 307] close(3 [pid 491] <... mount resumed>) = 0 [pid 491] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] <... close resumed>) = 0 [pid 308] rmdir("./17/file0" [pid 490] <... close resumed>) = 0 [pid 491] <... openat resumed>) = 3 [pid 491] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 491] ioctl(4, LOOP_CLR_FD) = 0 [pid 491] close(4) = 0 [pid 491] exit_group(0) = ? [pid 307] rmdir("./16" [pid 491] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=491, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 308] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 490] close(4 [pid 307] mkdir("./17", 0777 [pid 490] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... mkdir resumed>) = 0 [pid 490] mkdir("./file0", 0777 [pid 308] newfstatat(AT_FDCWD, "./17/binderfs" [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... openat resumed>) = 3 [pid 490] <... mkdir resumed>) = 0 [pid 490] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] unlink("./17/binderfs" [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] <... unlink resumed>) = 0 [pid 307] close(3) = 0 [pid 308] getdents64(3 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... close resumed>) = 0 [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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] rmdir("./17" [pid 309] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rmdir resumed>) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 495 [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./17/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./17/file0") = 0 [pid 308] mkdir("./18", 0777 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 309] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] <... mkdir resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] newfstatat(AT_FDCWD, "./17/binderfs" [pid 308] <... openat resumed>) = 3 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./17/binderfs") = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 308] close(3 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./17" [pid 308] <... close resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] mkdir("./18", 0777 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 309] ioctl(3, LOOP_CLR_FD) = 0 [pid 309] close(3 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 497 [pid 309] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 498 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 495 attached [ 27.589214][ T491] EXT4-fs (loop3): orphan cleanup on readonly fs [ 27.603161][ T492] EXT4-fs (loop0): orphan cleanup on readonly fs [ 27.613790][ T491] EXT4-fs (loop3): 1 truncate cleaned up [pid 495] set_robust_list(0x5555866cd6a0, 24) = 0 ci2-android-6-1/strace-static-x86_64: Process 497 attached [pid 495] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 495] chdir("./17") = 0 [pid 495] prctl(PR_SET_PDEATHSIG, SIGKILL) = 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 495] close(3) = 0 [pid 495] symlink("/dev/binderfs", "./binderfs") = 0 [pid 495] write(1, "executing program\n", 18) = 18 executing program [pid 497] set_robust_list(0x5555866cd6a0, 24 [pid 495] memfd_create("syzkaller", 0) = 3 [pid 495] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 ci2-android-6-1/strace-static-x86_64: Process 498 attached [pid 497] <... 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"..., 524288 [pid 498] set_robust_list(0x5555866cd6a0, 24 [pid 497] rt_sigprocmask(SIG_SETMASK, [] [pid 498] <... set_robust_list resumed>) = 0 [pid 497] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 497] chdir("./18" [pid 498] rt_sigprocmask(SIG_SETMASK, [] [pid 497] <... chdir resumed>) = 0 [pid 498] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 497] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 498] chdir("./18" [pid 497] <... prctl resumed>) = 0 [pid 498] <... chdir resumed>) = 0 [pid 497] setpgid(0, 0 [pid 498] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 497] <... setpgid resumed>) = 0 [pid 495] <... write resumed>) = 524288 [pid 495] munmap(0x7f11e81cd000, 138412032 [pid 497] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 498] <... prctl resumed>) = 0 [pid 498] setpgid(0, 0 [pid 497] <... openat resumed>) = 3 [pid 498] <... setpgid resumed>) = 0 [pid 497] write(3, "1000", 4) = 4 [pid 498] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 497] close(3) = 0 [pid 498] <... openat resumed>) = 3 [pid 497] symlink("/dev/binderfs", "./binderfs" [pid 495] <... munmap resumed>) = 0 [pid 498] write(3, "1000", 4 [pid 497] <... symlink resumed>) = 0 [pid 498] <... write resumed>) = 4 executing program [pid 497] write(1, "executing program\n", 18 [pid 498] close(3 [pid 497] <... write resumed>) = 18 [pid 498] <... close resumed>) = 0 [pid 497] memfd_create("syzkaller", 0 [pid 498] symlink("/dev/binderfs", "./binderfs" [pid 497] <... memfd_create resumed>) = 3 [pid 498] <... symlink resumed>) = 0 [pid 497] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 498] write(1, "executing program\n", 18 [pid 497] <... mmap resumed>) = 0x7f11e81cd000 [pid 498] <... write resumed>) = 18 executing program [pid 495] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 495] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 495] close(3) = 0 [pid 495] close(4) = 0 [pid 495] mkdir("./file0", 0777) = 0 [pid 498] memfd_create("syzkaller", 0 [pid 495] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 498] <... memfd_create resumed>) = 3 [pid 498] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [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"..., 524288 [pid 490] <... mount resumed>) = 0 [pid 498] <... mmap resumed>) = 0x7f11e81cd000 [pid 490] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 490] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 490] ioctl(4, LOOP_CLR_FD) = 0 [pid 490] close(4) = 0 [pid 490] exit_group(0) = ? [pid 490] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=490, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 498] 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"..., 524288 [pid 497] <... write resumed>) = 524288 [pid 492] <... mount resumed>) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 492] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 492] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 492] <... openat resumed>) = 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 492] ioctl(4, LOOP_CLR_FD [pid 310] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 497] munmap(0x7f11e81cd000, 138412032 [pid 492] <... ioctl resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 492] close(4 [pid 310] fstat(3 [pid 497] <... munmap resumed>) = 0 [pid 492] <... close resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 498] <... write resumed>) = 524288 [pid 498] munmap(0x7f11e81cd000, 138412032 [pid 497] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 492] exit_group(0 [pid 310] getdents64(3 [pid 492] <... exit_group resumed>) = ? [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 497] <... openat resumed>) = 4 [pid 310] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 492] +++ exited with 0 +++ [pid 497] ioctl(4, LOOP_SET_FD, 3 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=492, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 498] <... munmap resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... openat resumed>) = 3 [pid 310] newfstatat(AT_FDCWD, "./18/file0" [pid 497] <... ioctl 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 310] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(3 [pid 498] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 497] close(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 498] <... openat resumed>) = 4 [pid 497] <... close resumed>) = 0 [pid 498] ioctl(4, LOOP_SET_FD, 3 [pid 497] close(4 [pid 310] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 497] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = 0 [pid 497] mkdir("./file0", 0777 [pid 310] fstat(4 [pid 306] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 27.645315][ T492] EXT4-fs (loop0): 1 truncate cleaned up [ 27.653238][ T490] EXT4-fs (loop4): orphan cleanup on readonly fs [ 27.664860][ T490] EXT4-fs (loop4): 1 truncate cleaned up [ 27.684455][ T495] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 498] <... ioctl resumed>) = 0 [pid 497] <... mkdir resumed>) = 0 [pid 310] getdents64(4 [pid 306] newfstatat(AT_FDCWD, "./16/file0" [pid 498] close(3 [pid 497] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 498] <... close resumed>) = 0 [pid 310] getdents64(4 [pid 306] umount2("./16/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 498] close(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] close(4 [pid 498] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 306] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 498] mkdir("./file0", 0777) = 0 [pid 498] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] rmdir("./18/file0" [pid 306] <... openat resumed>) = 4 [pid 306] fstat(4 [pid 310] <... rmdir resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] newfstatat(AT_FDCWD, "./18/binderfs" [pid 306] getdents64(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] unlink("./18/binderfs" [pid 306] close(4 [pid 310] <... unlink resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 310] getdents64(3 [pid 306] rmdir("./16/file0" [pid 495] <... mount resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] close(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./16/binderfs" [pid 310] rmdir("./18" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./16/binderfs") = 0 [pid 310] <... rmdir resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] mkdir("./19", 0777 [pid 306] close(3 [pid 310] <... mkdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] rmdir("./16") = 0 [pid 310] <... openat resumed>) = 3 [pid 306] mkdir("./17", 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 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 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 500 [pid 495] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 495] <... openat resumed>) = 3 [pid 495] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 495] <... openat resumed>) = 4 [pid 495] ioctl(4, LOOP_CLR_FD) = 0 [pid 495] close(4) = 0 [pid 495] exit_group(0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 502 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 495] <... exit_group resumed>) = ? [pid 495] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=495, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 502 attached ci2-android-6-1/strace-static-x86_64: Process 500 attached [pid 502] set_robust_list(0x5555866cd6a0, 24 [pid 500] set_robust_list(0x5555866cd6a0, 24 [pid 502] <... set_robust_list resumed>) = 0 [pid 500] <... set_robust_list resumed>) = 0 [pid 500] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 500] chdir("./17") = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 500] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 500] setpgid(0, 0) = 0 [pid 500] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 307] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 500] write(3, "1000", 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 502] rt_sigprocmask(SIG_SETMASK, [] [pid 500] <... write resumed>) = 4 [pid 307] <... openat resumed>) = 3 [pid 502] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 500] close(3 [pid 502] chdir("./19" [pid 500] <... close resumed>) = 0 [pid 502] <... chdir resumed>) = 0 [pid 500] symlink("/dev/binderfs", "./binderfs" [pid 502] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 500] <... symlink resumed>) = 0 [pid 307] fstat(3 [pid 502] <... prctl resumed>) = 0 executing program [pid 500] write(1, "executing program\n", 18 [pid 497] <... mount resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 502] setpgid(0, 0 [pid 500] <... write resumed>) = 18 [pid 307] getdents64(3 [pid 502] <... setpgid resumed>) = 0 [pid 500] memfd_create("syzkaller", 0 [pid 497] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 500] <... memfd_create resumed>) = 3 [pid 497] <... openat resumed>) = 3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 500] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 497] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 500] <... mmap resumed>) = 0x7f11e81cd000 [pid 497] <... openat resumed>) = 4 [pid 497] ioctl(4, LOOP_CLR_FD) = 0 [pid 497] close(4) = 0 [pid 497] exit_group(0) = ? [pid 497] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=497, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 500] 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"..., 524288 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./17/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 502] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] close(4) = 0 [pid 308] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] rmdir("./17/file0" [pid 502] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 502] write(3, "1000", 4 [pid 308] getdents64(3 [pid 307] <... rmdir resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 502] <... write resumed>) = 4 [pid 308] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [ 27.708825][ T495] EXT4-fs (loop1): 1 truncate cleaned up [ 27.733945][ T497] EXT4-fs (loop2): orphan cleanup on readonly fs [ 27.743157][ T497] EXT4-fs (loop2): 1 truncate cleaned up [pid 307] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 502] close(3) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 502] symlink("/dev/binderfs", "./binderfs" [pid 500] <... write resumed>) = 524288 [pid 308] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] newfstatat(AT_FDCWD, "./17/binderfs" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] newfstatat(AT_FDCWD, "./18/file0" [pid 307] unlink("./17/binderfs" [pid 502] <... symlink resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 502] write(1, "executing program\n", 18 [pid 500] munmap(0x7f11e81cd000, 138412032 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] getdents64(3 [pid 502] <... write resumed>) = 18 [pid 500] <... munmap resumed>) = 0 [pid 308] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 502] memfd_create("syzkaller", 0 [pid 308] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] close(3 [pid 498] <... mount resumed>) = 0 [pid 498] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 498] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 498] ioctl(4, LOOP_CLR_FD) = 0 [pid 498] close(4) = 0 [pid 498] exit_group(0) = ? [pid 308] <... openat resumed>) = 4 [pid 307] <... close resumed>) = 0 [pid 308] fstat(4 [pid 502] <... memfd_create resumed>) = 3 [pid 500] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 502] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] rmdir("./17" [pid 308] getdents64(4 [pid 498] +++ exited with 0 +++ [pid 307] <... rmdir resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=498, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 502] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] getdents64(4 [pid 500] <... openat resumed>) = 4 [pid 502] 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"..., 524288 [pid 500] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] mkdir("./18", 0777 [pid 308] close(4) = 0 [pid 309] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 500] <... ioctl resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] rmdir("./18/file0" [pid 307] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... rmdir resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 500] close(3 [pid 308] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 500] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] getdents64(3 [pid 500] close(4 [pid 308] newfstatat(AT_FDCWD, "./18/binderfs" [pid 307] <... openat resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 500] <... close resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 500] mkdir("./file0", 0777 [pid 309] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] unlink("./18/binderfs" [pid 502] <... write resumed>) = 524288 [pid 500] <... mkdir resumed>) = 0 [pid 502] munmap(0x7f11e81cd000, 138412032 [pid 308] <... unlink resumed>) = 0 [pid 502] <... munmap resumed>) = 0 [pid 502] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 502] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 500] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] getdents64(3 [pid 307] ioctl(3, LOOP_CLR_FD [pid 502] close(3) = 0 [pid 502] close(4) = 0 [pid 502] mkdir("./file0", 0777 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] close(3 [pid 307] close(3 [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 502] <... mkdir resumed>) = 0 [pid 502] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] rmdir("./18" [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] mkdir("./19", 0777 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... mkdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 505 attached [pid 505] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 505] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 505 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 505] chdir("./18") = 0 [pid 505] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 505] setpgid(0, 0) = 0 [pid 505] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 505] write(3, "1000", 4) = 4 [pid 505] close(3) = 0 [pid 505] symlink("/dev/binderfs", "./binderfs") = 0 [pid 505] write(1, "executing program\n", 18) = 18 [pid 505] memfd_create("syzkaller", 0) = 3 [pid 505] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 308] <... openat resumed>) = 3 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [ 27.767477][ T498] EXT4-fs (loop3): orphan cleanup on readonly fs [ 27.783901][ T498] EXT4-fs (loop3): 1 truncate cleaned up [ 27.806865][ T500] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 308] ioctl(3, LOOP_CLR_FD [pid 309] <... umount2 resumed>) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] close(3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... close resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./18/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... openat resumed>) = 4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 507 [pid 505] 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"..., 524288 [pid 309] getdents64(4 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 505] <... write resumed>) = 524288 [pid 309] <... close resumed>) = 0 [pid 505] munmap(0x7f11e81cd000, 138412032 [pid 309] rmdir("./18/file0") = 0 [pid 309] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 505] <... munmap resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 505] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 309] newfstatat(AT_FDCWD, "./18/binderfs" [pid 505] <... openat resumed>) = 4 [pid 505] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./18/binderfs" [pid 505] <... ioctl resumed>) = 0 [pid 505] close(3 [pid 502] <... mount resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 309] getdents64(3 [pid 505] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 505] close(4 [pid 309] close(3 [pid 505] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 505] mkdir("./file0", 0777 [pid 309] rmdir("./18" [pid 505] <... mkdir resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 309] mkdir("./19", 0777 [pid 505] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... mkdir resumed>) = 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 ci2-android-6-1/strace-static-x86_64: Process 507 attached [pid 507] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 507] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 507] chdir("./19" [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 507] <... chdir resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 509 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 502] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 502] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 502] ioctl(4, LOOP_CLR_FD) = 0 [pid 502] close(4) = 0 [pid 502] exit_group(0) = ? [pid 502] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=502, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 507] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 507] setpgid(0, 0) = 0 [pid 507] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 507] write(3, "1000", 4) = 4 [pid 507] close(3) = 0 [pid 507] symlink("/dev/binderfs", "./binderfs") = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 ci2-android-6-1/strace-static-x86_64: Process 509 attached [pid 310] fstat(3 [pid 509] set_robust_list(0x5555866cd6a0, 24 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 509] <... set_robust_list resumed>) = 0 [pid 310] getdents64(3 [ 27.817654][ T502] EXT4-fs (loop4): orphan cleanup on readonly fs [ 27.829365][ T502] EXT4-fs (loop4): 1 truncate cleaned up [ 27.849173][ T505] EXT4-fs (loop1): orphan cleanup on readonly fs [ 27.861257][ T500] EXT4-fs (loop0): 1 truncate cleaned up [pid 507] write(1, "executing program\n", 18) = 18 executing program [pid 507] memfd_create("syzkaller", 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 509] rt_sigprocmask(SIG_SETMASK, [] [pid 310] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 509] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 509] chdir("./19" [pid 507] <... memfd_create resumed>) = 3 [pid 509] <... chdir resumed>) = 0 [pid 507] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... umount2 resumed>) = 0 [pid 509] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 509] <... prctl resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 509] setpgid(0, 0 [pid 310] newfstatat(AT_FDCWD, "./19/file0" [pid 509] <... setpgid resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 509] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 509] <... openat resumed>) = 3 [pid 507] <... mmap resumed>) = 0x7f11e81cd000 [pid 509] write(3, "1000", 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 509] <... write resumed>) = 4 [pid 505] <... mount resumed>) = 0 [pid 500] <... mount resumed>) = 0 [pid 310] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 509] close(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"..., 524288 [pid 505] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 500] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... openat resumed>) = 4 [pid 509] <... close resumed>) = 0 [pid 507] <... write resumed>) = 524288 [pid 505] <... openat resumed>) = 3 [pid 500] <... openat resumed>) = 3 [pid 310] fstat(4 [pid 509] symlink("/dev/binderfs", "./binderfs" [pid 500] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 509] <... symlink resumed>) = 0 [pid 505] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 500] <... openat resumed>) = 4 [pid 310] getdents64(4 [pid 509] write(1, "executing program\n", 18 executing program [pid 500] ioctl(4, LOOP_CLR_FD [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 509] <... write resumed>) = 18 [pid 505] <... openat resumed>) = 4 [pid 500] <... ioctl resumed>) = 0 [pid 310] getdents64(4 [pid 509] memfd_create("syzkaller", 0 [pid 505] ioctl(4, LOOP_CLR_FD [pid 500] close(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 509] <... memfd_create resumed>) = 3 [pid 505] <... ioctl resumed>) = 0 [pid 500] <... close resumed>) = 0 [pid 310] close(4 [pid 509] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 505] close(4 [pid 500] exit_group(0 [pid 310] <... close resumed>) = 0 [pid 509] <... mmap resumed>) = 0x7f11e81cd000 [pid 500] <... exit_group resumed>) = ? [pid 310] rmdir("./19/file0" [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"..., 524288 [pid 505] <... close resumed>) = 0 [pid 500] +++ exited with 0 +++ [pid 310] <... rmdir resumed>) = 0 [pid 509] <... write resumed>) = 524288 [pid 310] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 509] munmap(0x7f11e81cd000, 138412032 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 509] <... munmap resumed>) = 0 [pid 507] munmap(0x7f11e81cd000, 138412032 [pid 505] exit_group(0 [pid 310] newfstatat(AT_FDCWD, "./19/binderfs" [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=500, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 509] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 509] <... openat resumed>) = 4 [pid 310] unlink("./19/binderfs" [pid 509] ioctl(4, LOOP_SET_FD, 3 [pid 505] <... exit_group resumed>) = ? [pid 310] <... unlink resumed>) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 509] <... ioctl resumed>) = 0 [pid 310] getdents64(3 [pid 509] close(3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 509] <... close resumed>) = 0 [pid 310] close(3 [pid 509] close(4 [pid 310] <... close resumed>) = 0 [pid 509] <... close resumed>) = 0 [pid 310] rmdir("./19" [pid 509] mkdir("./file0", 0777 [pid 505] +++ exited with 0 +++ [pid 310] <... rmdir resumed>) = 0 [pid 509] <... mkdir resumed>) = 0 [pid 310] mkdir("./20", 0777 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=505, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] <... restart_syscall resumed>) = 0 [pid 509] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 3 [pid 307] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] ioctl(3, LOOP_CLR_FD [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] close(3 [pid 307] <... openat resumed>) = 3 [pid 310] <... close resumed>) = 0 [pid 307] fstat(3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] getdents64(3 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 511 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 507] <... munmap resumed>) = 0 [pid 306] fstat(3 [pid 507] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 507] <... openat resumed>) = 4 [pid 306] getdents64(3 [pid 507] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 511 attached [pid 507] <... ioctl resumed>) = 0 [pid 507] close(3) = 0 [pid 507] close(4) = 0 [pid 507] mkdir("./file0", 0777) = 0 [pid 507] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./17/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./17/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4 [pid 307] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./17/file0" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... rmdir resumed>) = 0 [pid 306] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./17/binderfs" [pid 307] newfstatat(AT_FDCWD, "./18/file0" [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./17") = 0 [pid 306] mkdir("./18", 0777 [pid 511] set_robust_list(0x5555866cd6a0, 24 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 511] <... set_robust_list resumed>) = 0 [pid 307] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... mkdir resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 307] <... openat resumed>) = 4 [pid 307] fstat(4 [pid 306] <... openat resumed>) = 3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 511] rt_sigprocmask(SIG_SETMASK, [] [pid 307] getdents64(4 [pid 306] ioctl(3, LOOP_CLR_FD [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 511] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] close(4 [pid 306] close(3 [pid 511] chdir("./20" [pid 307] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 511] <... chdir resumed>) = 0 [pid 307] rmdir("./18/file0" [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 511] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] <... rmdir resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 511] <... prctl resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./18/binderfs" [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 513 [pid 511] setpgid(0, 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 307] unlink("./18/binderfs" [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 511] <... setpgid resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3 [pid 511] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... close resumed>) = 0 [pid 307] rmdir("./18" [pid 511] <... openat resumed>) = 3 [pid 307] <... rmdir resumed>) = 0 [pid 307] mkdir("./19", 0777 [pid 511] write(3, "1000", 4 [pid 307] <... mkdir resumed>) = 0 [pid 511] <... write resumed>) = 4 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 511] close(3 [pid 307] <... openat resumed>) = 3 [ 27.869591][ T505] EXT4-fs (loop1): 1 truncate cleaned up [ 27.903581][ T509] EXT4-fs (loop3): orphan cleanup on readonly fs ci2-android-6-1/strace-static-x86_64: Process 513 attached [pid 511] <... close resumed>) = 0 [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 513] set_robust_list(0x5555866cd6a0, 24 [pid 511] symlink("/dev/binderfs", "./binderfs" [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 514 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 511] <... symlink resumed>) = 0 [pid 513] <... set_robust_list resumed>) = 0 [pid 511] write(1, "executing program\n", 18) = 18 executing program [pid 513] rt_sigprocmask(SIG_SETMASK, [] [pid 511] memfd_create("syzkaller", 0 [pid 513] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 513] chdir("./18" [pid 511] <... memfd_create resumed>) = 3 [pid 513] <... chdir resumed>) = 0 [pid 511] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0ci2-android-6-1/strace-static-x86_64: Process 514 attached [pid 513] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 511] <... mmap resumed>) = 0x7f11e81cd000 [pid 509] <... mount resumed>) = 0 [pid 513] <... prctl resumed>) = 0 [pid 513] setpgid(0, 0) = 0 [pid 513] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 513] write(3, "1000", 4) = 4 [pid 513] close(3 [pid 514] set_robust_list(0x5555866cd6a0, 24 [pid 509] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 513] <... close resumed>) = 0 [pid 513] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 513] write(1, "executing program\n", 18) = 18 [pid 513] memfd_create("syzkaller", 0) = 3 [pid 513] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 511] 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"..., 524288 [pid 514] <... set_robust_list resumed>) = 0 [pid 509] <... openat resumed>) = 3 [pid 514] rt_sigprocmask(SIG_SETMASK, [] [pid 513] 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"..., 524288 [pid 511] <... write resumed>) = 524288 [pid 509] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 507] <... mount resumed>) = 0 [pid 514] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 514] chdir("./19" [pid 509] <... openat resumed>) = 4 [pid 509] ioctl(4, LOOP_CLR_FD [pid 514] <... chdir resumed>) = 0 [pid 509] <... ioctl resumed>) = 0 [pid 509] close(4) = 0 [pid 514] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 514] setpgid(0, 0 [pid 509] exit_group(0 [pid 514] <... setpgid resumed>) = 0 [pid 514] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 509] <... exit_group resumed>) = ? [pid 509] +++ exited with 0 +++ [pid 514] <... openat resumed>) = 3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=509, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 514] write(3, "1000", 4) = 4 [pid 514] close(3) = 0 [pid 514] symlink("/dev/binderfs", "./binderfs") = 0 [pid 513] <... write resumed>) = 524288 [pid 511] munmap(0x7f11e81cd000, 138412032 [pid 507] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 514] write(1, "executing program\n", 18) = 18 executing program [pid 513] munmap(0x7f11e81cd000, 138412032 [pid 514] memfd_create("syzkaller", 0 [pid 511] <... munmap resumed>) = 0 [pid 514] <... memfd_create resumed>) = 3 [pid 513] <... munmap resumed>) = 0 [pid 511] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 507] <... openat resumed>) = 3 [pid 514] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 513] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 511] <... openat resumed>) = 4 [pid 507] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 513] <... openat resumed>) = 4 [pid 513] ioctl(4, LOOP_SET_FD, 3 [pid 511] ioctl(4, LOOP_SET_FD, 3 [pid 513] <... ioctl resumed>) = 0 [pid 513] close(3 [pid 514] 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"..., 524288 [pid 507] <... openat resumed>) = 4 [pid 513] <... close resumed>) = 0 [pid 513] close(4 [pid 511] <... ioctl resumed>) = 0 [pid 513] <... close resumed>) = 0 [pid 511] close(3 [pid 309] <... restart_syscall resumed>) = 0 [pid 511] <... close resumed>) = 0 [pid 513] mkdir("./file0", 0777 [pid 511] close(4 [pid 513] <... mkdir resumed>) = 0 [pid 511] <... close resumed>) = 0 [pid 511] mkdir("./file0", 0777) = 0 [pid 513] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 511] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./19", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 507] ioctl(4, LOOP_CLR_FD) = 0 [pid 507] close(4) = 0 [pid 507] exit_group(0) = ? [pid 507] +++ exited with 0 +++ [pid 308] --- 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 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 514] <... write resumed>) = 524288 [pid 514] munmap(0x7f11e81cd000, 138412032 [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) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 514] <... munmap resumed>) = 0 [ 27.937036][ T507] EXT4-fs (loop2): orphan cleanup on readonly fs [ 27.944505][ T509] EXT4-fs (loop3): 1 truncate cleaned up [ 27.953996][ T507] EXT4-fs (loop2): 1 truncate cleaned up [pid 514] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 514] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 514] close(3) = 0 [pid 514] close(4) = 0 [pid 514] mkdir("./file0", 0777) = 0 [pid 514] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./19/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 308] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 4 [pid 309] newfstatat(AT_FDCWD, "./19/file0" [pid 308] fstat(4 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 513] <... mount resumed>) = 0 [pid 513] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 513] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 513] ioctl(4, LOOP_CLR_FD) = 0 [pid 513] close(4 [pid 308] getdents64(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... openat resumed>) = 4 [pid 308] getdents64(4 [pid 309] fstat(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] close(4 [pid 309] getdents64(4 [pid 308] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] rmdir("./19/file0" [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 309] close(4 [pid 308] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] rmdir("./19/file0" [pid 308] newfstatat(AT_FDCWD, "./19/binderfs" [pid 309] <... rmdir resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] unlink("./19/binderfs" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./19/binderfs" [pid 308] <... unlink resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] getdents64(3 [pid 309] unlink("./19/binderfs" [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... unlink resumed>) = 0 [pid 308] close(3 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... close resumed>) = 0 [pid 309] close(3 [pid 308] rmdir("./19" [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./19" [pid 308] <... rmdir resumed>) = 0 [pid 513] <... close resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] mkdir("./20", 0777 [pid 309] mkdir("./20", 0777 [pid 513] exit_group(0) = ? [pid 308] <... mkdir resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 513] +++ exited with 0 +++ [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] close(3 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=513, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] close(3 [pid 308] <... close resumed>) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] 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, child_tidptr=0x5555866cd690) = 519 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 518 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [ 27.985644][ T511] EXT4-fs (loop4): orphan cleanup on readonly fs [ 27.997976][ T513] EXT4-fs (loop0): orphan cleanup on readonly fs [ 28.006929][ T513] EXT4-fs (loop0): 1 truncate cleaned up [ 28.020800][ T514] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./18", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 518 attached [pid 518] set_robust_list(0x5555866cd6a0, 24 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 518] <... set_robust_list resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 518] rt_sigprocmask(SIG_SETMASK, [] [pid 306] newfstatat(AT_FDCWD, "./18/file0" [pid 518] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 518] chdir("./20" [pid 306] umount2("./18/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 518] <... chdir resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 518] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 306] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 518] setpgid(0, 0) = 0 [pid 306] <... openat resumed>) = 4 [pid 518] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] fstat(4 [pid 518] <... openat resumed>) = 3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 518] write(3, "1000", 4 [pid 306] getdents64(4 [pid 518] <... write resumed>) = 4 [pid 518] close(3 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 518] <... close resumed>) = 0 [pid 306] getdents64(4 [pid 518] symlink("/dev/binderfs", "./binderfs" [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 518] <... symlink resumed>) = 0 [pid 306] close(4 [pid 518] write(1, "executing program\n", 18 [pid 306] <... close resumed>) = 0 [pid 518] <... write resumed>) = 18 executing program [pid 306] rmdir("./18/file0") = 0 [pid 518] memfd_create("syzkaller", 0 [pid 306] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 518] <... memfd_create resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 518] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] newfstatat(AT_FDCWD, "./18/binderfs" [pid 518] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./18/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./18") = 0 [pid 306] mkdir("./19", 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 [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"..., 524288 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 520 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 519 attached [pid 519] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 519] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 519] chdir("./20") = 0 [pid 519] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 518] <... write resumed>) = 524288 [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 executing program [pid 519] memfd_create("syzkaller", 0) = 3 [pid 519] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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"..., 524288) = 524288 [pid 511] <... mount resumed>) = 0 [pid 511] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 514] <... mount resumed>) = 0 [pid 511] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 514] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 511] ioctl(4, LOOP_CLR_FD) = 0 [pid 518] munmap(0x7f11e81cd000, 138412032) = 0 [pid 511] close(4 [pid 518] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 514] <... openat resumed>) = 3 [pid 511] <... close resumed>) = 0 [pid 511] exit_group(0 [pid 514] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 514] ioctl(4, LOOP_CLR_FD [pid 511] <... exit_group resumed>) = ? [pid 514] <... ioctl resumed>) = 0 [pid 511] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=511, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 514] close(4) = 0 [pid 514] exit_group(0) = ? [pid 514] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=514, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 518] <... openat resumed>) = 4 ci2-android-6-1/strace-static-x86_64: Process 520 attached [pid 518] ioctl(4, LOOP_SET_FD, 3 [pid 520] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 520] rt_sigprocmask(SIG_SETMASK, [] [pid 518] <... ioctl resumed>) = 0 [pid 518] close(3 [pid 519] munmap(0x7f11e81cd000, 138412032) = 0 [pid 519] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 518] <... close resumed>) = 0 [pid 519] <... openat resumed>) = 4 [pid 519] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 520] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 518] close(4 [pid 520] chdir("./19" [pid 518] <... close resumed>) = 0 [pid 520] <... chdir resumed>) = 0 [pid 518] mkdir("./file0", 0777 [pid 520] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 518] <... mkdir resumed>) = 0 [pid 520] <... prctl resumed>) = 0 [pid 518] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 520] setpgid(0, 0) = 0 [pid 520] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 310] <... restart_syscall resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 310] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 520] write(3, "1000", 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 520] <... write resumed>) = 4 [pid 310] <... openat resumed>) = 3 [pid 307] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] fstat(3 [pid 520] close(3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... openat resumed>) = 3 [pid 520] <... close resumed>) = 0 [pid 310] getdents64(3 [pid 307] fstat(3 [pid 520] symlink("/dev/binderfs", "./binderfs") = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(3 [pid 520] write(1, "executing program\n", 18) = 18 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 520] memfd_create("syzkaller", 0) = 3 executing program [pid 520] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 519] close(3 [pid 310] <... umount2 resumed>) = 0 [pid 307] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 520] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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"..., 524288 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 28.032218][ T514] EXT4-fs (loop1): 1 truncate cleaned up [ 28.042076][ T511] EXT4-fs (loop4): 1 truncate cleaned up [pid 520] <... write resumed>) = 524288 [pid 519] <... close resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./20/file0" [pid 307] <... umount2 resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 519] close(4 [pid 310] <... openat resumed>) = 4 [pid 307] newfstatat(AT_FDCWD, "./19/file0" [pid 310] fstat(4 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 520] munmap(0x7f11e81cd000, 138412032) = 0 [pid 520] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 520] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 310] getdents64(4 [pid 519] <... close resumed>) = 0 [pid 307] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4 [pid 520] close(3 [pid 310] <... close resumed>) = 0 [pid 520] <... close resumed>) = 0 [pid 310] rmdir("./20/file0" [pid 520] close(4) = 0 [pid 520] mkdir("./file0", 0777) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 520] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] unlink("./20/binderfs") = 0 [pid 307] <... openat resumed>) = 4 [pid 310] getdents64(3 [pid 307] fstat(4 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] close(3 [pid 307] getdents64(4 [pid 310] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] rmdir("./20" [pid 307] getdents64(4 [pid 310] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] mkdir("./21", 0777 [pid 307] close(4 [pid 310] <... mkdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 307] rmdir("./19/file0" [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] <... rmdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 307] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] ioctl(3, LOOP_CLR_FD [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] newfstatat(AT_FDCWD, "./19/binderfs" [pid 310] close(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... close resumed>) = 0 [pid 307] unlink("./19/binderfs" [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... unlink resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] getdents64(3 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 523 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 307] close(3 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... close resumed>) = 0 [pid 307] rmdir("./19") = 0 [pid 307] mkdir("./20", 0777) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLYci2-android-6-1/strace-static-x86_64: Process 523 attached ) = 3 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 523] set_robust_list(0x5555866cd6a0, 24 [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 523] <... set_robust_list resumed>) = 0 [pid 523] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 523] chdir("./21") = 0 [pid 523] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 523] setpgid(0, 0) = 0 [pid 523] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 524 [pid 523] <... openat resumed>) = 3 [pid 523] write(3, "1000", 4) = 4 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 523] close(3) = 0 [pid 523] symlink("/dev/binderfs", "./binderfs") = 0 [pid 523] write(1, "executing program\n", 18) = 18 [pid 523] memfd_create("syzkaller", 0) = 3 [pid 523] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 523] 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"..., 524288ci2-android-6-1/strace-static-x86_64: Process 524 attached [pid 524] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 523] <... write resumed>) = 524288 [pid 523] munmap(0x7f11e81cd000, 138412032) = 0 [pid 523] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 523] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 523] close(3) = 0 [pid 523] close(4) = 0 [pid 523] mkdir("./file0", 0777) = 0 [pid 523] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 519] mkdir("./file0", 0777) = 0 [pid 519] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 524] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 524] chdir("./20") = 0 [pid 524] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 28.106983][ T518] EXT4-fs (loop2): orphan cleanup on readonly fs [ 28.130592][ T518] EXT4-fs (loop2): 1 truncate cleaned up [ 28.138737][ T520] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 518] <... mount resumed>) = 0 [pid 518] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 518] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 524] setpgid(0, 0 [pid 518] <... openat resumed>) = 4 [pid 518] ioctl(4, LOOP_CLR_FD) = 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=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 524] <... setpgid resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./20", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 524] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] <... umount2 resumed>) = 0 [pid 524] <... openat resumed>) = 3 [pid 520] <... mount resumed>) = 0 [pid 308] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 520] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 520] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 308] newfstatat(AT_FDCWD, "./20/file0" [pid 520] ioctl(4, LOOP_CLR_FD) = 0 [pid 520] close(4) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 520] exit_group(0 [pid 308] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 520] <... exit_group resumed>) = ? [pid 520] +++ exited with 0 +++ [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] --- 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 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 524] write(3, "1000", 4 [pid 308] <... openat resumed>) = 4 [pid 308] fstat(4 [pid 524] <... write resumed>) = 4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 524] close(3 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4 [pid 524] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 524] symlink("/dev/binderfs", "./binderfs" [pid 308] <... close resumed>) = 0 [pid 524] <... symlink resumed>) = 0 [pid 308] rmdir("./20/file0") = 0 [pid 524] write(1, "executing program\n", 18 [pid 308] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 524] <... write resumed>) = 18 executing program [pid 308] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 524] memfd_create("syzkaller", 0 [pid 308] unlink("./20/binderfs") = 0 [pid 524] <... memfd_create resumed>) = 3 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 524] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] close(3 [pid 524] <... mmap resumed>) = 0x7f11e81cd000 [pid 308] <... close resumed>) = 0 [pid 524] 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"..., 524288 [pid 308] rmdir("./20") = 0 [pid 308] mkdir("./21", 0777) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 519] <... mount resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 519] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 519] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 519] ioctl(4, LOOP_CLR_FD [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./19", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 519] <... ioctl resumed>) = 0 [pid 519] close(4) = 0 [pid 519] exit_group(0) = ? [pid 519] +++ exited with 0 +++ [pid 309] --- 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 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] close(3 [pid 524] <... write resumed>) = 524288 [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] <... umount2 resumed>) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 527 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 524] munmap(0x7f11e81cd000, 138412032) = 0 [pid 524] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 524] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 524] close(3) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 524] close(4) = 0 [pid 524] mkdir("./file0", 0777) = 0 [pid 524] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./19/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./19/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./19/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./19/file0" [pid 309] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 306] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./19/binderfs" [pid 309] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3 [pid 309] <... openat resumed>) = 3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 309] fstat(3 [pid 306] rmdir("./19" [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./20", 0777 [pid 309] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... ioctl resumed>) = -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, child_tidptr=0x5555866cd690) = 528 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] <... umount2 resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 527 attached [pid 527] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 527] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 527] chdir("./21") = 0 [pid 527] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 527] setpgid(0, 0) = 0 [pid 527] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 527] write(3, "1000", 4) = 4 [pid 527] close(3) = 0 [pid 527] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 527] write(1, "executing program\n", 18) = 18 [pid 527] memfd_create("syzkaller", 0) = 3 [pid 527] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 527] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [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"..., 524288 [pid 523] <... mount resumed>) = 0 [pid 523] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 523] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 523] ioctl(4, LOOP_CLR_FD) = 0 [pid 523] close(4) = 0 [pid 523] exit_group(0) = ? [pid 523] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=523, 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] newfstatat(AT_FDCWD, "./20/file0"ci2-android-6-1/strace-static-x86_64: Process 528 attached [pid 528] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 528] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 528] chdir("./20") = 0 [pid 528] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 528] setpgid(0, 0) = 0 [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 309] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./20/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./20/file0" [pid 310] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... rmdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 3 [pid 309] newfstatat(AT_FDCWD, "./20/binderfs" [pid 310] fstat(3 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 527] <... write resumed>) = 524288 [pid 309] unlink("./20/binderfs" [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... unlink resumed>) = 0 [pid 527] munmap(0x7f11e81cd000, 138412032 [pid 309] getdents64(3 [pid 310] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 527] <... munmap resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./20" [ 28.153995][ T519] EXT4-fs (loop3): orphan cleanup on readonly fs [ 28.161462][ T520] EXT4-fs (loop0): 1 truncate cleaned up [ 28.168132][ T523] EXT4-fs (loop4): orphan cleanup on readonly fs [ 28.181523][ T519] EXT4-fs (loop3): 1 truncate cleaned up [ 28.197957][ T523] EXT4-fs (loop4): 1 truncate cleaned up [pid 527] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 527] <... openat resumed>) = 4 [pid 310] <... umount2 resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 310] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./21/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./21/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] mkdir("./21", 0777 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 310] rmdir("./21/file0" [pid 527] ioctl(4, LOOP_SET_FD, 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 310] <... rmdir resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 310] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./21/binderfs" [pid 309] <... close resumed>) = 0 [pid 310] <... unlink resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] getdents64(3 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./21") = 0 [pid 310] mkdir("./22", 0777) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [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 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 530 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 531 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 528] <... openat resumed>) = 3 [pid 528] write(3, "1000", 4) = 4 [pid 528] close(3) = 0 [pid 528] symlink("/dev/binderfs", "./binderfs") = 0 [pid 528] write(1, "executing program\n", 18) = 18 executing program [pid 528] memfd_create("syzkaller", 0) = 3 [pid 528] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 527] <... ioctl resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 527] close(3) = 0 [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"..., 524288 [pid 527] close(4 [pid 528] <... write resumed>) = 524288 ci2-android-6-1/strace-static-x86_64: Process 531 attached [pid 531] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 531] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 531] chdir("./22") = 0 [pid 531] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 531] setpgid(0, 0) = 0 [pid 531] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 531] write(3, "1000", 4) = 4 [pid 531] close(3) = 0 [pid 531] symlink("/dev/binderfs", "./binderfs") = 0 [pid 531] write(1, "executing program\n", 18) = 18 executing program [pid 531] memfd_create("syzkaller", 0) = 3 [pid 531] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 531] 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"..., 524288 [pid 528] munmap(0x7f11e81cd000, 138412032) = 0 [pid 528] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 528] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 527] <... close resumed>) = 0 [pid 527] mkdir("./file0", 0777 [pid 528] close(3) = 0 [pid 528] close(4) = 0 [pid 528] mkdir("./file0", 0777) = 0 [pid 528] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 531] <... write resumed>) = 524288 [pid 531] munmap(0x7f11e81cd000, 138412032) = 0 [pid 531] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 531] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 531] close(3 [pid 527] <... mkdir resumed>) = 0 [pid 531] <... close resumed>) = 0 [pid 531] close(4) = 0 [pid 531] mkdir("./file0", 0777) = 0 [pid 531] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 527] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 530 attached [pid 530] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 530] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 530] chdir("./21") = 0 [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) = 3 [pid 530] write(3, "1000", 4) = 4 [pid 530] close(3) = 0 [pid 530] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 530] write(1, "executing program\n", 18) = 18 [pid 530] memfd_create("syzkaller", 0) = 3 [pid 530] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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"..., 524288) = 524288 [pid 530] munmap(0x7f11e81cd000, 138412032) = 0 [pid 530] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 28.276894][ T524] EXT4-fs (loop1): orphan cleanup on readonly fs [ 28.288215][ T528] EXT4-fs (loop0): orphan cleanup on readonly fs [ 28.296749][ T527] EXT4-fs (loop2): orphan cleanup on readonly fs [ 28.307976][ T531] EXT4-fs (loop4): orphan cleanup on readonly fs [ 28.316942][ T527] EXT4-fs (loop2): 1 truncate cleaned up [pid 530] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 530] close(3 [pid 527] <... mount resumed>) = 0 [pid 530] <... close resumed>) = 0 [pid 527] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 530] close(4) = 0 [pid 527] <... openat resumed>) = 3 [pid 530] mkdir("./file0", 0777 [pid 527] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 530] <... mkdir resumed>) = 0 [pid 530] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 527] ioctl(4, LOOP_CLR_FD) = 0 [pid 527] close(4) = 0 [pid 527] exit_group(0) = ? [pid 527] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=527, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 531] <... mount resumed>) = 0 [pid 528] <... mount resumed>) = 0 [pid 528] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 528] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./21", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 308] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./21/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./21/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./21/file0") = 0 [pid 308] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./21/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./21") = 0 [pid 308] mkdir("./22", 0777) = 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=0x5555866cd690) = 536 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 528] <... openat resumed>) = 4 [pid 528] ioctl(4, LOOP_CLR_FD) = 0 ci2-android-6-1/strace-static-x86_64: Process 536 attached [pid 528] close(4) = 0 [pid 531] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 536] set_robust_list(0x5555866cd6a0, 24 [pid 528] exit_group(0 [pid 536] <... set_robust_list resumed>) = 0 [pid 536] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 531] <... openat resumed>) = 3 [pid 536] chdir("./22") = 0 [pid 531] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 536] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 531] <... openat resumed>) = 4 [pid 536] setpgid(0, 0) = 0 [pid 528] <... exit_group resumed>) = ? [pid 536] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 528] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=528, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 536] <... openat resumed>) = 3 [pid 531] ioctl(4, LOOP_CLR_FD [pid 536] write(3, "1000", 4) = 4 [pid 531] <... ioctl resumed>) = 0 [pid 536] close(3) = 0 [pid 531] close(4 [pid 536] symlink("/dev/binderfs", "./binderfs" [pid 531] <... close resumed>) = 0 [pid 531] exit_group(0 [pid 536] <... symlink resumed>) = 0 [pid 531] <... exit_group resumed>) = ? [pid 524] <... mount resumed>) = 0 [ 28.323787][ T524] EXT4-fs (loop1): 1 truncate cleaned up [ 28.331600][ T528] EXT4-fs (loop0): 1 truncate cleaned up [ 28.338099][ T531] EXT4-fs (loop4): 1 truncate cleaned up [pid 306] <... restart_syscall resumed>) = 0 [pid 531] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=531, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 536] write(1, "executing program\n", 18 [pid 524] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 536] <... write resumed>) = 18 [pid 524] <... openat resumed>) = 3 [pid 310] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 536] memfd_create("syzkaller", 0 [pid 524] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 536] <... memfd_create resumed>) = 3 [pid 524] <... openat resumed>) = 4 [pid 310] fstat(3 [pid 306] fstat(3 [pid 536] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 524] ioctl(4, LOOP_CLR_FD [pid 536] <... mmap resumed>) = 0x7f11e81cd000 [pid 524] <... ioctl resumed>) = 0 [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"..., 524288 [pid 530] <... mount resumed>) = 0 [pid 524] close(4 [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 530] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 524] <... close resumed>) = 0 [pid 310] getdents64(3 [pid 306] getdents64(3 [pid 530] <... openat resumed>) = 3 [pid 524] exit_group(0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 530] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 524] <... exit_group resumed>) = ? [pid 310] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 536] <... write resumed>) = 524288 [pid 524] +++ exited with 0 +++ [pid 536] munmap(0x7f11e81cd000, 138412032 [pid 530] <... openat resumed>) = 4 [pid 310] <... umount2 resumed>) = 0 [pid 530] ioctl(4, LOOP_CLR_FD [pid 310] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=524, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 530] <... ioctl resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... umount2 resumed>) = 0 [pid 530] close(4 [pid 310] newfstatat(AT_FDCWD, "./22/file0" [pid 306] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 530] <... close resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 530] exit_group(0 [pid 310] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./20/file0" [pid 530] <... exit_group resumed>) = ? [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 530] +++ exited with 0 +++ [pid 310] openat(AT_FDCWD, "./22/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] fstat(4 [pid 306] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [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] <... openat resumed>) = 4 [pid 310] getdents64(4 [pid 306] fstat(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4 [pid 306] getdents64(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] close(4 [pid 306] getdents64(4 [pid 310] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] rmdir("./22/file0" [pid 307] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(4 [pid 310] <... rmdir resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 310] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] rmdir("./20/file0" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... openat resumed>) = 3 [pid 306] <... rmdir resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./22/binderfs" [pid 307] fstat(3 [pid 306] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] unlink("./22/binderfs" [pid 307] getdents64(3 [pid 306] newfstatat(AT_FDCWD, "./20/binderfs" [pid 310] <... unlink resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] getdents64(3 [pid 307] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] unlink("./20/binderfs" [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... unlink resumed>) = 0 [pid 310] close(3 [pid 306] getdents64(3 [pid 310] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] rmdir("./22" [pid 306] close(3 [pid 310] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 310] mkdir("./23", 0777 [pid 306] rmdir("./20" [pid 536] <... munmap resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 536] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] mkdir("./21", 0777 [pid 536] <... openat resumed>) = 4 [pid 310] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... mkdir resumed>) = 0 [pid 536] ioctl(4, LOOP_SET_FD, 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 307] newfstatat(AT_FDCWD, "./20/file0" [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 536] <... ioctl resumed>) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... openat resumed>) = 3 [pid 536] close(3 [pid 310] close(3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./20/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] ioctl(3, LOOP_CLR_FD [pid 310] <... close resumed>) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 536] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] close(3 [pid 536] close(4 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... openat resumed>) = 3 [pid 307] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... close resumed>) = 0 [pid 536] <... close resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] fstat(3 [pid 307] <... openat resumed>) = 4 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 536] mkdir("./file0", 0777 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] fstat(4 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 537 [pid 309] getdents64(3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 536] <... mkdir resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] getdents64(4 [pid 536] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 538 [pid 309] <... umount2 resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 309] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./21/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] getdents64(4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] close(4 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 307] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 307] rmdir("./20/file0" [pid 309] rmdir("./21/file0") = 0 [pid 307] <... rmdir resumed>) = 0 [pid 309] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] unlink("./21/binderfs") = 0 [pid 307] newfstatat(AT_FDCWD, "./20/binderfs" [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] close(3 [pid 307] unlink("./20/binderfs" [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./21") = 0 [pid 307] <... unlink resumed>) = 0 [pid 309] mkdir("./22", 0777) = 0 [ 28.376691][ T530] EXT4-fs (loop3): orphan cleanup on readonly fs [ 28.385356][ T530] EXT4-fs (loop3): 1 truncate cleaned up [pid 307] getdents64(3 [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=0x5555866cd690) = 540 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 ci2-android-6-1/strace-static-x86_64: Process 537 attached [pid 537] set_robust_list(0x5555866cd6a0, 24 [pid 307] close(3) = 0 [pid 307] rmdir("./20" [pid 537] <... set_robust_list resumed>) = 0 [pid 537] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... rmdir resumed>) = 0 [pid 307] mkdir("./21", 0777 [pid 537] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 537] chdir("./23" [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 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 537] <... chdir resumed>) = 0 [pid 537] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 541 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 537] setpgid(0, 0) = 0 [pid 537] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 537] write(3, "1000", 4) = 4 [pid 537] close(3) = 0 [pid 537] symlink("/dev/binderfs", "./binderfs") = 0 [pid 537] write(1, "executing program\n", 18) = 18 [pid 537] memfd_create("syzkaller", 0) = 3 executing program [pid 537] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 ci2-android-6-1/strace-static-x86_64: Process 541 attached ci2-android-6-1/strace-static-x86_64: Process 540 attached [pid 541] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 540] set_robust_list(0x5555866cd6a0, 24 [pid 541] rt_sigprocmask(SIG_SETMASK, [] [pid 540] <... set_robust_list resumed>) = 0 [pid 536] <... mount resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 538 attached [pid 541] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 540] rt_sigprocmask(SIG_SETMASK, [] [pid 541] chdir("./21" [pid 540] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 536] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 541] <... chdir resumed>) = 0 [pid 540] chdir("./22" [pid 541] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 540] <... chdir resumed>) = 0 [pid 538] set_robust_list(0x5555866cd6a0, 24 [pid 541] <... prctl resumed>) = 0 [pid 536] <... openat resumed>) = 3 [pid 541] setpgid(0, 0 [pid 540] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 538] <... set_robust_list resumed>) = 0 [pid 541] <... setpgid resumed>) = 0 [pid 540] <... prctl resumed>) = 0 [pid 536] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 541] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 540] setpgid(0, 0 [pid 536] <... openat resumed>) = 4 [pid 541] <... openat resumed>) = 3 [pid 540] <... setpgid resumed>) = 0 [pid 538] rt_sigprocmask(SIG_SETMASK, [] [pid 536] ioctl(4, LOOP_CLR_FD [pid 541] write(3, "1000", 4 [pid 540] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 541] <... write resumed>) = 4 [pid 538] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 536] <... ioctl resumed>) = 0 [pid 541] close(3 [pid 540] <... openat resumed>) = 3 [pid 538] chdir("./21" [pid 536] close(4 [pid 541] <... close resumed>) = 0 [pid 540] write(3, "1000", 4 [pid 541] symlink("/dev/binderfs", "./binderfs" [pid 536] <... close resumed>) = 0 [pid 540] <... write resumed>) = 4 [pid 538] <... chdir resumed>) = 0 [pid 541] <... symlink resumed>) = 0 [pid 540] close(3 [pid 541] write(1, "executing program\n", 18 [pid 538] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 536] exit_group(0 [pid 541] <... write resumed>) = 18 [pid 540] <... close resumed>) = 0 executing program [pid 541] memfd_create("syzkaller", 0 [pid 540] symlink("/dev/binderfs", "./binderfs" [pid 538] <... prctl resumed>) = 0 [pid 536] <... exit_group resumed>) = ? [pid 541] <... memfd_create resumed>) = 3 [pid 540] <... symlink resumed>) = 0 [pid 541] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 540] write(1, "executing program\n", 18 [pid 541] <... mmap resumed>) = 0x7f11e81cd000 [pid 540] <... write resumed>) = 18 executing program [pid 537] 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"..., 524288 [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"..., 524288 [pid 540] memfd_create("syzkaller", 0 [pid 541] <... write resumed>) = 524288 [pid 541] munmap(0x7f11e81cd000, 138412032 [pid 540] <... memfd_create resumed>) = 3 [pid 538] setpgid(0, 0 [pid 540] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 537] <... write resumed>) = 524288 [pid 537] munmap(0x7f11e81cd000, 138412032) = 0 [pid 537] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 537] ioctl(4, LOOP_SET_FD, 3 [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"..., 524288 [pid 541] <... munmap resumed>) = 0 [pid 540] <... write resumed>) = 524288 [pid 541] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 540] munmap(0x7f11e81cd000, 138412032 [pid 538] <... setpgid resumed>) = 0 [pid 540] <... munmap resumed>) = 0 [pid 541] <... openat resumed>) = 4 [pid 540] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 538] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 536] +++ exited with 0 +++ [pid 541] ioctl(4, LOOP_SET_FD, 3 [pid 540] <... openat resumed>) = 4 [pid 538] <... openat resumed>) = 3 [pid 308] --- 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 540] ioctl(4, LOOP_SET_FD, 3 [pid 541] <... ioctl resumed>) = 0 [pid 538] write(3, "1000", 4 [pid 537] <... ioctl resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 541] close(3 [pid 540] <... ioctl resumed>) = 0 [pid 538] <... write resumed>) = 4 [pid 537] close(3 [pid 308] <... restart_syscall resumed>) = 0 [pid 541] <... close resumed>) = 0 [pid 540] close(3 [pid 538] close(3 [pid 537] <... close resumed>) = 0 [pid 541] close(4 [pid 540] <... close resumed>) = 0 [pid 538] <... close resumed>) = 0 [pid 537] close(4 [pid 541] <... close resumed>) = 0 [pid 540] close(4 [pid 538] symlink("/dev/binderfs", "./binderfs" [pid 537] <... close resumed>) = 0 [pid 308] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 541] mkdir("./file0", 0777 [pid 540] <... close resumed>) = 0 [pid 538] <... symlink resumed>) = 0 [pid 537] mkdir("./file0", 0777 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 541] <... mkdir resumed>) = 0 [pid 540] mkdir("./file0", 0777 [pid 538] write(1, "executing program\n", 18 [pid 537] <... mkdir resumed>) = 0 [pid 541] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 540] <... mkdir resumed>) = 0 [pid 538] <... write resumed>) = 18 [pid 537] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY executing program [pid 540] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 538] memfd_create("syzkaller", 0) = 3 [pid 308] <... openat resumed>) = 3 [pid 538] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 308] fstat(3 [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"..., 524288) = 524288 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 538] munmap(0x7f11e81cd000, 138412032 [pid 308] getdents64(3 [pid 538] <... munmap resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 538] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 308] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 538] <... openat resumed>) = 4 [pid 538] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 538] close(3) = 0 [pid 538] close(4) = 0 [pid 538] mkdir("./file0", 0777) = 0 [ 28.434300][ T536] EXT4-fs (loop2): orphan cleanup on readonly fs [ 28.450341][ T536] EXT4-fs (loop2): 1 truncate cleaned up [pid 538] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./22/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./22/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./22/file0") = 0 [pid 308] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./22/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./22") = 0 [pid 308] mkdir("./23", 0777) = 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) [ 28.494757][ T538] EXT4-fs (loop0): orphan cleanup on readonly fs [ 28.510810][ T541] EXT4-fs (loop1): orphan cleanup on readonly fs [ 28.518308][ T540] EXT4-fs (loop3): orphan cleanup on readonly fs [ 28.525551][ T541] EXT4-fs (loop1): 1 truncate cleaned up [ 28.535922][ T537] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 308] close(3) = 0 [pid 541] <... mount resumed>) = 0 [pid 541] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 541] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 541] ioctl(4, LOOP_CLR_FD) = 0 [pid 541] close(4) = 0 [pid 541] exit_group(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=0x5555866cd690) = 546 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 541] +++ exited with 0 +++ [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 540] <... mount resumed>) = 0 [pid 540] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 540] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 540] ioctl(4, LOOP_CLR_FD) = 0 [pid 540] close(4) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./21", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 546 attached [pid 537] <... mount resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./21/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 537] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4 [pid 537] <... openat resumed>) = 3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./21/file0" [pid 546] set_robust_list(0x5555866cd6a0, 24 [pid 537] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] <... rmdir resumed>) = 0 [pid 307] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./21/binderfs") = 0 [pid 537] <... openat resumed>) = 4 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./21" [pid 546] <... set_robust_list resumed>) = 0 [pid 537] ioctl(4, LOOP_CLR_FD [pid 307] <... rmdir resumed>) = 0 [pid 538] <... mount resumed>) = 0 [pid 537] <... ioctl resumed>) = 0 [pid 307] mkdir("./22", 0777 [pid 546] rt_sigprocmask(SIG_SETMASK, [] [pid 540] exit_group(0 [pid 537] close(4 [pid 307] <... mkdir resumed>) = 0 [pid 540] <... exit_group resumed>) = ? [pid 538] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 546] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 540] +++ exited with 0 +++ [pid 538] <... openat resumed>) = 3 [pid 537] <... close resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 538] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 307] ioctl(3, LOOP_CLR_FD [pid 538] <... openat resumed>) = 4 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 538] ioctl(4, LOOP_CLR_FD [pid 307] close(3 [pid 538] <... ioctl resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 546] chdir("./23" [pid 538] close(4 [pid 537] exit_group(0 [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 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 538] <... close resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 538] exit_group(0 [pid 537] <... exit_group resumed>) = ? [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 546] <... chdir resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 538] <... exit_group resumed>) = ? [pid 309] <... restart_syscall resumed>) = 0 [pid 546] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 538] +++ exited with 0 +++ [pid 537] +++ exited with 0 +++ [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 547 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=537, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=538, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... restart_syscall resumed>) = 0 [pid 309] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 309] <... openat resumed>) = 3 [pid 546] <... prctl resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] fstat(3 [pid 310] getdents64(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 546] setpgid(0, 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] getdents64(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 547 attached [pid 306] <... openat resumed>) = 3 [pid 306] fstat(3 [pid 547] set_robust_list(0x5555866cd6a0, 24 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 547] <... set_robust_list resumed>) = 0 [pid 547] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 547] chdir("./22") = 0 [pid 547] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 547] setpgid(0, 0) = 0 [pid 547] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 547] <... openat resumed>) = 3 [pid 546] <... setpgid resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 306] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 547] write(3, "1000", 4 [pid 546] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 547] <... write resumed>) = 4 [pid 546] <... openat resumed>) = 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 547] close(3 [pid 546] write(3, "1000", 4 [pid 310] newfstatat(AT_FDCWD, "./23/file0" [pid 309] newfstatat(AT_FDCWD, "./22/file0" [pid 547] <... close resumed>) = 0 [pid 546] <... write resumed>) = 4 [pid 310] <... 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 306] <... umount2 resumed>) = 0 [pid 547] symlink("/dev/binderfs", "./binderfs" [pid 546] close(3 [pid 310] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 547] <... symlink resumed>) = 0 [pid 546] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 547] write(1, "executing program\n", 18 executing program [pid 546] symlink("/dev/binderfs", "./binderfs" [pid 310] openat(AT_FDCWD, "./23/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./22/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] newfstatat(AT_FDCWD, "./21/file0" [pid 547] <... write resumed>) = 18 [pid 546] <... symlink resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 309] <... openat resumed>) = 4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 547] memfd_create("syzkaller", 0 [pid 546] write(1, "executing program\n", 18 executing program [pid 310] fstat(4 [pid 309] fstat(4 [pid 306] umount2("./21/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 547] <... memfd_create resumed>) = 3 [pid 546] <... write resumed>) = 18 [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 547] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 546] memfd_create("syzkaller", 0 [pid 310] getdents64(4 [pid 309] getdents64(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 547] <... mmap resumed>) = 0x7f11e81cd000 [pid 546] <... memfd_create resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [ 28.542723][ T540] EXT4-fs (loop3): 1 truncate cleaned up [ 28.550278][ T538] EXT4-fs (loop0): 1 truncate cleaned up [ 28.558561][ T537] EXT4-fs (loop4): 1 truncate cleaned up [pid 306] openat(AT_FDCWD, "./21/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 547] 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"..., 524288 [pid 546] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] getdents64(4 [pid 309] getdents64(4 [pid 547] <... write resumed>) = 524288 [pid 546] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... openat resumed>) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./21/file0") = 0 [pid 306] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -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" [pid 546] 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"..., 524288 [pid 306] <... unlink resumed>) = 0 [pid 310] close(4 [pid 309] close(4 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./21") = 0 [pid 306] mkdir("./22", 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 546] <... write resumed>) = 524288 [pid 310] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 310] rmdir("./23/file0" [pid 546] munmap(0x7f11e81cd000, 138412032 [pid 309] rmdir("./22/file0" [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 548 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 310] <... rmdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 548 attached [pid 548] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 548] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... rmdir resumed>) = 0 [pid 310] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 548] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./23/binderfs" [pid 309] newfstatat(AT_FDCWD, "./22/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("./23/binderfs" [pid 546] <... munmap resumed>) = 0 [pid 309] unlink("./22/binderfs" [pid 548] chdir("./22" [pid 547] munmap(0x7f11e81cd000, 138412032 [pid 310] <... unlink resumed>) = 0 [pid 310] getdents64(3 [pid 309] <... unlink resumed>) = 0 [pid 546] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] getdents64(3 [pid 546] <... openat resumed>) = 4 [pid 310] close(3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 546] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... close resumed>) = 0 [pid 309] close(3 [pid 310] rmdir("./23" [pid 309] <... close resumed>) = 0 [pid 547] <... munmap resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 309] rmdir("./22" [pid 310] mkdir("./24", 0777 [pid 547] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 547] ioctl(4, LOOP_SET_FD, 3 [pid 548] <... chdir resumed>) = 0 [pid 548] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 548] setpgid(0, 0) = 0 [pid 548] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... mkdir resumed>) = 0 [pid 309] mkdir("./23", 0777 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 548] <... openat resumed>) = 3 [pid 548] write(3, "1000", 4) = 4 [pid 548] close(3) = 0 [pid 548] symlink("/dev/binderfs", "./binderfs" [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 [pid 548] <... symlink resumed>) = 0 [pid 547] <... ioctl resumed>) = 0 [pid 546] <... ioctl resumed>) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... openat resumed>) = 3 [pid 546] close(3 [pid 310] close(3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 546] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 546] close(4 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] close(3 [pid 546] <... close resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... close resumed>) = 0 [pid 546] mkdir("./file0", 0777 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 546] <... mkdir resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 546] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 549 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 550 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 547] close(3) = 0 [pid 547] close(4) = 0 [pid 547] mkdir("./file0", 0777) = 0 [pid 548] write(1, "executing program\n", 18) = 18 [pid 547] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" executing program [pid 548] memfd_create("syzkaller", 0) = 3 [pid 548] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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"..., 524288) = 524288 [pid 548] munmap(0x7f11e81cd000, 138412032) = 0 [pid 548] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 548] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 548] close(3) = 0 [pid 548] close(4) = 0 [pid 548] mkdir("./file0", 0777) = 0 [pid 548] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 549 attached [pid 549] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 549] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 549] chdir("./24") = 0 [pid 549] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 549] setpgid(0, 0) = 0 [pid 549] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 549] write(3, "1000", 4) = 4 [pid 549] close(3) = 0 [pid 549] symlink("/dev/binderfs", "./binderfs") = 0 [pid 549] write(1, "executing program\n", 18ci2-android-6-1/strace-static-x86_64: Process 550 attached executing program [pid 550] set_robust_list(0x5555866cd6a0, 24 [pid 549] <... write resumed>) = 18 [pid 550] <... set_robust_list resumed>) = 0 [pid 550] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 550] chdir("./23") = 0 [pid 550] prctl(PR_SET_PDEATHSIG, SIGKILL) = 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 executing program [pid 550] write(1, "executing program\n", 18) = 18 [pid 550] memfd_create("syzkaller", 0) = 3 [pid 550] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 549] memfd_create("syzkaller", 0 [pid 547] <... mount resumed>) = 0 [pid 548] <... mount resumed>) = 0 [pid 549] <... memfd_create resumed>) = 3 [pid 547] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 549] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 548] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [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"..., 524288 [pid 547] <... openat resumed>) = 3 [pid 547] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 547] ioctl(4, LOOP_CLR_FD) = 0 [pid 547] close(4) = 0 [pid 547] exit_group(0) = ? [pid 548] <... openat resumed>) = 3 [pid 548] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 547] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=547, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 548] ioctl(4, LOOP_CLR_FD) = 0 [pid 548] close(4) = 0 [pid 550] <... write resumed>) = 524288 [pid 548] exit_group(0) = ? [pid 550] munmap(0x7f11e81cd000, 138412032 [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"..., 524288 [pid 548] +++ exited with 0 +++ [pid 550] <... munmap resumed>) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=548, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 550] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 550] <... openat resumed>) = 4 [pid 550] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 546] <... mount resumed>) = 0 [pid 550] close(3 [pid 549] <... write resumed>) = 524288 [pid 546] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 550] <... close resumed>) = 0 [pid 550] close(4) = 0 [pid 549] munmap(0x7f11e81cd000, 138412032 [pid 546] <... openat resumed>) = 3 [pid 307] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 550] mkdir("./file0", 0777 [pid 546] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 546] <... openat resumed>) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 546] ioctl(4, LOOP_CLR_FD [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 546] <... ioctl resumed>) = 0 [pid 307] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 546] close(4 [pid 306] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 550] <... mkdir resumed>) = 0 [pid 546] <... close resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 546] exit_group(0 [pid 306] <... openat resumed>) = 3 [pid 307] fstat(3 [pid 550] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 549] <... munmap resumed>) = 0 [pid 546] <... exit_group resumed>) = ? [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(3 [pid 549] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 546] +++ exited with 0 +++ [pid 307] getdents64(3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 549] <... openat resumed>) = 4 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=546, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] getdents64(3 [pid 549] ioctl(4, LOOP_SET_FD, 3 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 549] <... ioctl resumed>) = 0 [ 28.639878][ T547] EXT4-fs (loop1): orphan cleanup on readonly fs [ 28.647393][ T548] EXT4-fs (loop0): orphan cleanup on readonly fs [ 28.650005][ T547] EXT4-fs (loop1): 1 truncate cleaned up [ 28.661830][ T548] EXT4-fs (loop0): 1 truncate cleaned up [ 28.670114][ T546] EXT4-fs (loop2): orphan cleanup on readonly fs [ 28.683431][ T546] EXT4-fs (loop2): 1 truncate cleaned up [pid 306] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 549] close(3 [pid 308] <... restart_syscall resumed>) = 0 [pid 549] <... close resumed>) = 0 [pid 549] close(4) = 0 [pid 308] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 549] mkdir("./file0", 0777 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 549] <... mkdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 549] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... openat resumed>) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 307] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./22/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./22/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./22/file0") = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./22/binderfs" [pid 306] newfstatat(AT_FDCWD, "./22/file0" [pid 308] newfstatat(AT_FDCWD, "./23/file0" [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... 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] unlink("./22/binderfs" [pid 306] umount2("./22/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... unlink resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] getdents64(3 [pid 306] openat(AT_FDCWD, "./22/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./23/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... openat resumed>) = 4 [pid 308] <... openat resumed>) = 4 [pid 307] close(3 [pid 306] fstat(4 [pid 308] fstat(4 [pid 307] <... close resumed>) = 0 [pid 306] <... 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] rmdir("./22" [pid 306] getdents64(4 [pid 550] <... mount resumed>) = 0 [pid 308] getdents64(4 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 550] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] mkdir("./23", 0777 [pid 306] getdents64(4 [pid 550] <... openat resumed>) = 3 [pid 308] getdents64(4 [pid 307] <... mkdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 550] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] close(4 [pid 550] <... openat resumed>) = 4 [pid 308] close(4 [pid 307] <... openat resumed>) = 3 [pid 306] <... close resumed>) = 0 [pid 550] ioctl(4, LOOP_CLR_FD [pid 308] <... close resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] rmdir("./22/file0" [pid 550] <... ioctl resumed>) = 0 [pid 308] rmdir("./23/file0" [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... rmdir resumed>) = 0 [pid 550] close(4 [pid 308] <... rmdir resumed>) = 0 [pid 307] close(3 [pid 306] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 550] <... close resumed>) = 0 [pid 308] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 550] exit_group(0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] newfstatat(AT_FDCWD, "./22/binderfs" [pid 550] <... exit_group resumed>) = ? [pid 308] newfstatat(AT_FDCWD, "./23/binderfs" [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 550] +++ exited with 0 +++ [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] unlink("./22/binderfs" [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=550, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] unlink("./23/binderfs" [pid 306] <... unlink resumed>) = 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... unlink resumed>) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 556 [pid 306] getdents64(3 [pid 308] getdents64(3 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] close(3 [pid 308] close(3 [pid 306] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 306] rmdir("./22" [pid 308] rmdir("./23" [pid 306] <... rmdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 306] mkdir("./23", 0777 [pid 308] mkdir("./24", 0777 [pid 306] <... mkdir resumed>) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... ioctl resumed>) = -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 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... restart_syscall resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 557 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 558 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 309] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [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 309] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 558 attached ci2-android-6-1/strace-static-x86_64: Process 557 attached [pid 557] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 557] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 557] chdir("./23") = 0 [pid 557] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 557] setpgid(0, 0) = 0 [pid 557] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 557] write(3, "1000", 4) = 4 [pid 557] close(3) = 0 [pid 557] symlink("/dev/binderfs", "./binderfs") = 0 [pid 557] write(1, "executing program\n", 18) = 18 executing program [pid 557] memfd_create("syzkaller", 0) = 3 [pid 557] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./23/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./23/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./23/file0") = 0 [pid 309] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./23/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./23") = 0 [pid 309] mkdir("./24", 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=0x5555866cd690) = 559 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 557] 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"..., 524288) = 524288 [pid 557] munmap(0x7f11e81cd000, 138412032) = 0 [pid 557] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 557] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 557] close(3) = 0 [pid 557] close(4) = 0 [pid 557] mkdir("./file0", 0777) = 0 [pid 557] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 559 attached [pid 559] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 559] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 559] chdir("./24") = 0 [pid 559] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 559] setpgid(0, 0) = 0 [pid 559] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 559] write(3, "1000", 4) = 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) = 3 [pid 559] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 558] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 558] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 558] chdir("./24") = 0 ci2-android-6-1/strace-static-x86_64: Process 556 attached [pid 556] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 556] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 556] chdir("./23") = 0 [pid 556] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 556] setpgid(0, 0) = 0 [pid 558] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 556] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 558] <... prctl resumed>) = 0 [pid 558] setpgid(0, 0 [pid 556] <... openat resumed>) = 3 [pid 558] <... setpgid resumed>) = 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"..., 524288 [pid 558] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 556] write(3, "1000", 4 [pid 558] write(3, "1000", 4) = 4 [pid 556] <... write resumed>) = 4 [pid 556] close(3) = 0 [pid 556] symlink("/dev/binderfs", "./binderfs" [pid 558] close(3) = 0 [pid 556] <... symlink resumed>) = 0 [pid 556] write(1, "executing program\n", 18) = 18 executing program [pid 558] symlink("/dev/binderfs", "./binderfs" [pid 556] memfd_create("syzkaller", 0) = 3 [pid 556] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 558] <... symlink resumed>) = 0 [pid 556] <... mmap resumed>) = 0x7f11e81cd000 [pid 558] write(1, "executing program\n", 18) = 18 [pid 558] memfd_create("syzkaller", 0) = 3 executing program [ 28.703465][ T550] EXT4-fs (loop3): orphan cleanup on readonly fs [ 28.720447][ T550] EXT4-fs (loop3): 1 truncate cleaned up [ 28.740089][ T549] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 558] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 559] <... write resumed>) = 524288 [pid 558] <... mmap resumed>) = 0x7f11e81cd000 [pid 556] 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"..., 524288 [pid 559] munmap(0x7f11e81cd000, 138412032) = 0 [pid 559] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 559] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 559] close(3) = 0 [pid 559] close(4) = 0 [pid 559] mkdir("./file0", 0777) = 0 [pid 556] <... write resumed>) = 524288 [pid 559] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 556] munmap(0x7f11e81cd000, 138412032) = 0 [pid 556] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 556] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 556] close(3) = 0 [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"..., 524288 [pid 556] close(4) = 0 [pid 556] mkdir("./file0", 0777) = 0 [pid 556] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 557] <... mount resumed>) = 0 [pid 557] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 557] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 557] ioctl(4, LOOP_CLR_FD) = 0 [pid 557] close(4) = 0 [pid 557] exit_group(0) = ? [pid 558] <... write resumed>) = 524288 [pid 557] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=557, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 549] <... mount resumed>) = 0 [pid 549] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 549] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 549] ioctl(4, LOOP_CLR_FD [pid 306] <... restart_syscall resumed>) = 0 [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 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 549] <... ioctl resumed>) = 0 [pid 558] munmap(0x7f11e81cd000, 138412032 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./23/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./23/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./23/file0") = 0 [pid 558] <... munmap resumed>) = 0 [pid 306] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./23/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./23/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./23" [pid 558] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./24", 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=0x5555866cd690) = 563 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 28.773329][ T557] EXT4-fs (loop0): orphan cleanup on readonly fs [ 28.774767][ T549] EXT4-fs (loop4): 1 truncate cleaned up [ 28.792270][ T557] EXT4-fs (loop0): 1 truncate cleaned up [ 28.812571][ T559] EXT4-fs (loop3): orphan cleanup on readonly fs [pid 558] <... openat resumed>) = 4 [pid 558] ioctl(4, LOOP_SET_FD, 3ci2-android-6-1/strace-static-x86_64: Process 563 attached ) = 0 [pid 549] close(4 [pid 563] set_robust_list(0x5555866cd6a0, 24 [pid 558] close(3 [pid 549] <... close resumed>) = 0 [pid 563] <... set_robust_list resumed>) = 0 [pid 558] <... close resumed>) = 0 [pid 549] exit_group(0 [pid 563] rt_sigprocmask(SIG_SETMASK, [] [pid 558] close(4 [pid 549] <... exit_group resumed>) = ? [pid 563] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 558] <... close resumed>) = 0 [pid 549] +++ exited with 0 +++ [pid 563] chdir("./24" [pid 558] mkdir("./file0", 0777 [pid 563] <... chdir resumed>) = 0 [pid 558] <... mkdir resumed>) = 0 [pid 563] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 558] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=549, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 563] <... prctl resumed>) = 0 [pid 563] setpgid(0, 0) = 0 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 563] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 563] write(3, "1000", 4) = 4 [pid 563] close(3) = 0 [pid 563] symlink("/dev/binderfs", "./binderfs") = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 563] write(1, "executing program\n", 18 [pid 310] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 563] <... write resumed>) = 18 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 563] memfd_create("syzkaller", 0 [pid 310] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 563] <... memfd_create resumed>) = 3 [pid 310] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 563] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 563] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] getdents64(3 [pid 563] 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"..., 524288 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 563] <... write resumed>) = 524288 [ 28.819667][ T556] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 563] munmap(0x7f11e81cd000, 138412032) = 0 [pid 563] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 563] <... openat resumed>) = 4 [pid 563] ioctl(4, LOOP_SET_FD, 3 [pid 310] newfstatat(AT_FDCWD, "./24/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./24/file0", 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 [pid 563] <... ioctl resumed>) = 0 [pid 563] close(3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./24/file0" [pid 563] <... close resumed>) = 0 [pid 563] close(4) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 310] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 563] mkdir("./file0", 0777 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./24/binderfs" [pid 563] <... mkdir resumed>) = 0 [pid 310] <... unlink resumed>) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./24" [pid 563] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... rmdir resumed>) = 0 [pid 310] mkdir("./25", 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=0x5555866cd690) = 566 ci2-android-6-1/strace-static-x86_64: Process 566 attached [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 566] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 566] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 566] chdir("./25") = 0 [pid 566] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 566] setpgid(0, 0) = 0 [pid 566] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 566] write(3, "1000", 4) = 4 [pid 566] close(3) = 0 [pid 566] symlink("/dev/binderfs", "./binderfs") = 0 [pid 566] write(1, "executing program\n", 18) = 18 executing program [pid 566] memfd_create("syzkaller", 0) = 3 [pid 566] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 566] 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"..., 524288 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 566] <... write resumed>) = 524288 [pid 566] munmap(0x7f11e81cd000, 138412032) = 0 [pid 566] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 566] ioctl(4, LOOP_SET_FD, 3 [pid 559] <... mount resumed>) = 0 [pid 559] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 559] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [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=3 /* 0.03 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 556] <... mount resumed>) = 0 [pid 556] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 556] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 556] ioctl(4, LOOP_CLR_FD) = 0 [pid 556] close(4) = 0 [pid 556] exit_group(0) = ? [pid 556] +++ exited with 0 +++ [ 28.844406][ T559] EXT4-fs (loop3): 1 truncate cleaned up [ 28.852214][ T556] EXT4-fs (loop1): 1 truncate cleaned up [ 28.868217][ T558] EXT4-fs (loop2): orphan cleanup on readonly fs [ 28.875461][ T563] EXT4-fs (loop0): orphan cleanup on readonly fs [ 28.888691][ T558] EXT4-fs (loop2): 1 truncate cleaned up [pid 309] <... restart_syscall resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=556, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 566] <... ioctl resumed>) = 0 [pid 309] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 566] close(3 [pid 309] <... openat resumed>) = 3 [pid 566] <... close resumed>) = 0 [pid 309] fstat(3 [pid 307] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 566] close(4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 566] <... close resumed>) = 0 [pid 309] getdents64(3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 566] mkdir("./file0", 0777 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 566] <... mkdir resumed>) = 0 [pid 309] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 566] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 563] <... mount resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 563] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 558] <... mount resumed>) = 0 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 563] <... openat resumed>) = 3 [pid 563] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 558] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 563] ioctl(4, LOOP_CLR_FD [pid 558] <... openat resumed>) = 3 [pid 563] <... ioctl resumed>) = 0 [pid 563] close(4) = 0 [pid 558] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 563] exit_group(0 [pid 558] ioctl(4, LOOP_CLR_FD [pid 309] <... umount2 resumed>) = 0 [pid 307] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 558] <... ioctl resumed>) = 0 [pid 558] close(4 [pid 563] <... exit_group resumed>) = ? [pid 558] <... close resumed>) = 0 [pid 563] +++ exited with 0 +++ [pid 558] exit_group(0) = ? [pid 558] +++ exited with 0 +++ [pid 309] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./24/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./24/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=558, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=563, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] close(4) = 0 [pid 309] rmdir("./24/file0") = 0 [pid 309] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./24/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./24/binderfs" [pid 307] <... umount2 resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 306] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./24") = 0 [pid 309] mkdir("./25", 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 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] fstat(3 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 568 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] getdents64(3 [pid 308] <... openat resumed>) = 3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 306] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./23/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./23/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./23/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./23/file0" [pid 308] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rmdir resumed>) = 0 [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] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./23") = 0 [pid 307] mkdir("./24", 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 [pid 306] <... umount2 resumed>) = 0 [pid 307] <... close resumed>) = 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=0x5555866cd690) = 569 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 306] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./24/file0" [pid 308] newfstatat(AT_FDCWD, "./24/file0" [pid 306] <... 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 306] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./24/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./24/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... openat resumed>) = 4 [pid 308] <... openat resumed>) = 4 [pid 306] fstat(4 [pid 308] fstat(4 [pid 306] <... 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 306] getdents64(4 [pid 308] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4 [pid 306] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 306] close(4 [pid 308] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 308] rmdir("./24/file0" [pid 306] rmdir("./24/file0"ci2-android-6-1/strace-static-x86_64: Process 568 attached [pid 308] <... rmdir resumed>) = 0 [pid 568] set_robust_list(0x5555866cd6a0, 24 [pid 308] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./24/binderfs" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./24/binderfs" [pid 308] unlink("./24/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 568] <... set_robust_list resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 306] unlink("./24/binderfs" [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... unlink resumed>) = 0 [pid 308] close(3 [pid 306] getdents64(3 [pid 308] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] rmdir("./24" [pid 306] close(3) = 0 [pid 306] rmdir("./24" [pid 568] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 568] chdir("./25") = 0 [pid 568] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 568] setpgid(0, 0) = 0 [pid 568] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 568] write(3, "1000", 4) = 4 [pid 568] close(3) = 0 [pid 568] symlink("/dev/binderfs", "./binderfs"ci2-android-6-1/strace-static-x86_64: Process 569 attached [pid 569] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 569] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 569] chdir("./24") = 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 [ 28.895222][ T563] EXT4-fs (loop0): 1 truncate cleaned up [ 28.924881][ T566] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 569] symlink("/dev/binderfs", "./binderfs") = 0 [pid 568] <... symlink resumed>) = 0 [pid 568] write(1, "executing program\n", 18 [pid 308] <... rmdir resumed>) = 0 executing program [pid 569] write(1, "executing program\n", 18 [pid 568] <... write resumed>) = 18 [pid 306] <... rmdir resumed>) = 0 [pid 569] <... write resumed>) = 18 executing program [pid 568] memfd_create("syzkaller", 0 [pid 569] memfd_create("syzkaller", 0 [pid 566] <... mount resumed>) = 0 [pid 308] mkdir("./25", 0777 [pid 306] mkdir("./25", 0777 [pid 569] <... memfd_create resumed>) = 3 [pid 568] <... memfd_create resumed>) = 3 [pid 569] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 568] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] <... mkdir resumed>) = 0 [pid 569] <... mmap resumed>) = 0x7f11e81cd000 [pid 568] <... mmap resumed>) = 0x7f11e81cd000 [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"..., 524288 [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"..., 524288 [pid 566] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] <... mkdir resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [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 [pid 308] close(3 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... close resumed>) = 0 [pid 306] close(3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 568] <... write resumed>) = 524288 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 568] munmap(0x7f11e81cd000, 138412032) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 568] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 570 [pid 568] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 571 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 568] close(3 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 568] <... close resumed>) = 0 [pid 568] close(4) = 0 [pid 568] mkdir("./file0", 0777ci2-android-6-1/strace-static-x86_64: Process 570 attached ) = 0 [pid 570] set_robust_list(0x5555866cd6a0, 24 [pid 568] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 570] <... set_robust_list resumed>) = 0 [pid 570] rt_sigprocmask(SIG_SETMASK, [] [pid 569] <... write resumed>) = 524288 [pid 570] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 569] munmap(0x7f11e81cd000, 138412032) = 0 [pid 569] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 569] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 566] <... openat resumed>) = 3 [pid 566] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 566] ioctl(4, LOOP_CLR_FD) = 0 [pid 566] close(4) = 0 [pid 570] chdir("./25" [pid 566] exit_group(0 [pid 570] <... chdir resumed>) = 0 [pid 570] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 570] setpgid(0, 0) = 0 [pid 566] <... exit_group resumed>) = ? [pid 570] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 566] +++ exited with 0 +++ [pid 569] close(3 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=566, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 569] <... close resumed>) = 0 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 570] <... openat resumed>) = 3 [pid 570] write(3, "1000", 4 [pid 569] close(4 [pid 570] <... write resumed>) = 4 [pid 570] close(3 [pid 569] <... close resumed>) = 0 [pid 570] <... close resumed>) = 0 [pid 570] symlink("/dev/binderfs", "./binderfs" [pid 569] mkdir("./file0", 0777 [pid 570] <... symlink resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 571 attached [pid 570] write(1, "executing program\n", 18) = 18 [pid 569] <... mkdir resumed>) = 0 executing program [pid 570] memfd_create("syzkaller", 0 [pid 569] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 570] <... memfd_create resumed>) = 3 [pid 570] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 571] set_robust_list(0x5555866cd6a0, 24 [pid 570] 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"..., 524288 [pid 310] <... restart_syscall resumed>) = 0 [pid 571] <... set_robust_list resumed>) = 0 [pid 570] <... write resumed>) = 524288 [ 28.956832][ T566] EXT4-fs (loop4): 1 truncate cleaned up [ 28.980776][ T568] EXT4-fs (loop3): orphan cleanup on readonly fs [ 28.993591][ T568] EXT4-fs (loop3): 1 truncate cleaned up [pid 568] <... mount resumed>) = 0 [pid 568] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 568] openat(AT_FDCWD, "/dev/loop3", 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 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=568, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 571] rt_sigprocmask(SIG_SETMASK, [] [pid 570] munmap(0x7f11e81cd000, 138412032) = 0 [pid 571] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 570] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW [pid 571] chdir("./25" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 570] <... openat resumed>) = 4 [pid 310] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 571] <... chdir resumed>) = 0 [pid 570] ioctl(4, LOOP_SET_FD, 3 [pid 571] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] <... openat resumed>) = 3 [pid 570] <... ioctl resumed>) = 0 [pid 571] <... prctl resumed>) = 0 [pid 570] close(3 [pid 310] fstat(3 [pid 571] setpgid(0, 0 [pid 570] <... close resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 571] <... setpgid resumed>) = 0 [pid 570] close(4 [pid 310] getdents64(3 [pid 571] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 571] <... openat resumed>) = 3 [pid 310] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 571] write(3, "1000", 4 [pid 570] <... close resumed>) = 0 [pid 571] <... write resumed>) = 4 [pid 570] mkdir("./file0", 0777 [pid 309] <... restart_syscall resumed>) = 0 [pid 571] close(3 [pid 570] <... mkdir resumed>) = 0 [pid 571] <... close resumed>) = 0 [pid 309] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW [pid 571] symlink("/dev/binderfs", "./binderfs" [pid 570] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 571] <... symlink resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 571] write(1, "executing program\n", 18 [pid 309] openat(AT_FDCWD, "./25", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 executing program [pid 309] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 571] <... write resumed>) = 18 [pid 571] memfd_create("syzkaller", 0 [pid 309] <... umount2 resumed>) = 0 [pid 571] <... memfd_create resumed>) = 3 [pid 571] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 569] <... mount resumed>) = 0 [pid 569] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 569] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 569] ioctl(4, LOOP_CLR_FD) = 0 [pid 569] close(4) = 0 [pid 571] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 569] exit_group(0) = ? [pid 569] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=569, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [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"..., 524288 [pid 309] newfstatat(AT_FDCWD, "./25/file0" [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... openat resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 309] openat(AT_FDCWD, "./25/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 4 [pid 307] <... umount2 resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] newfstatat(AT_FDCWD, "./25/file0" [pid 571] <... write resumed>) = 524288 [pid 309] getdents64(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 310] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 571] munmap(0x7f11e81cd000, 138412032 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] close(4 [pid 310] openat(AT_FDCWD, "./25/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 571] <... munmap resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 309] rmdir("./25/file0" [pid 571] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] fstat(4 [pid 309] <... rmdir resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4 [pid 309] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 571] <... openat resumed>) = 4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] getdents64(4 [pid 309] newfstatat(AT_FDCWD, "./25/binderfs" [pid 571] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 29.001218][ T569] EXT4-fs (loop1): orphan cleanup on readonly fs [ 29.015168][ T569] EXT4-fs (loop1): 1 truncate cleaned up [ 29.038539][ T570] EXT4-fs (loop2): orphan cleanup on readonly fs [pid 310] <... close resumed>) = 0 [pid 309] unlink("./25/binderfs" [pid 307] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./24/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./24/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./24/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./24/file0") = 0 [pid 307] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [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] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./24") = 0 [pid 307] mkdir("./25", 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=0x5555866cd690) = 575 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 575 attached [pid 575] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 575] rt_sigprocmask(SIG_SETMASK, [] [pid 310] rmdir("./25/file0" [pid 575] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... unlink resumed>) = 0 [pid 575] chdir("./25") = 0 [pid 575] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 575] setpgid(0, 0 [pid 310] <... rmdir resumed>) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] close(3 [pid 310] newfstatat(AT_FDCWD, "./25/binderfs" [pid 309] <... close resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] rmdir("./25") = 0 [pid 310] unlink("./25/binderfs") = 0 [pid 571] <... ioctl resumed>) = 0 [pid 571] close(3) = 0 [pid 571] close(4) = 0 [pid 571] mkdir("./file0", 0777) = 0 [pid 571] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 575] <... setpgid resumed>) = 0 [pid 575] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 575] write(3, "1000", 4) = 4 [pid 575] close(3) = 0 [pid 575] symlink("/dev/binderfs", "./binderfs") = 0 [pid 575] write(1, "executing program\n", 18) = 18 [pid 575] memfd_create("syzkaller", 0) = 3 [pid 575] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 575] 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"..., 524288) = 524288 [pid 575] munmap(0x7f11e81cd000, 138412032) = 0 [pid 575] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 575] ioctl(4, LOOP_SET_FD, 3 executing program [pid 310] getdents64(3 [pid 309] mkdir("./26", 0777 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 575] <... ioctl resumed>) = 0 [pid 575] close(3) = 0 [pid 575] close(4) = 0 [pid 575] mkdir("./file0", 0777) = 0 [pid 575] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] close(3 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./25" [pid 309] <... openat resumed>) = 3 [pid 310] <... rmdir resumed>) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 310] mkdir("./26", 0777 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... mkdir resumed>) = 0 [pid 309] close(3 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] close(3) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 578 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 579 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 578 attached [pid 578] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 578] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 578] chdir("./26") = 0 [pid 578] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 578] setpgid(0, 0) = 0 [pid 578] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ci2-android-6-1/strace-static-x86_64: Process 579 attached [pid 571] <... mount resumed>) = 0 [pid 570] <... mount resumed>) = 0 [pid 571] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 571] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 570] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 571] ioctl(4, LOOP_CLR_FD) = 0 [pid 571] close(4) = 0 [pid 570] <... openat resumed>) = 3 [pid 571] exit_group(0 [pid 570] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 571] <... exit_group resumed>) = ? [ 29.053174][ T571] set_capacity_and_notify: 118 callbacks suppressed [ 29.053191][ T571] loop0: detected capacity change from 0 to 1024 [ 29.077910][ T575] loop1: detected capacity change from 0 to 1024 [ 29.084977][ T570] EXT4-fs (loop2): 1 truncate cleaned up [ 29.089794][ T571] EXT4-fs (loop0): orphan cleanup on readonly fs [ 29.099082][ T571] EXT4-fs (loop0): 1 truncate cleaned up [pid 571] +++ exited with 0 +++ [pid 570] <... openat resumed>) = 4 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=571, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 579] set_robust_list(0x5555866cd6a0, 24 [pid 578] write(3, "1000", 4) = 4 [pid 578] close(3 [pid 579] <... set_robust_list resumed>) = 0 [pid 578] <... close resumed>) = 0 [pid 579] rt_sigprocmask(SIG_SETMASK, [] [pid 578] symlink("/dev/binderfs", "./binderfs") = 0 [pid 570] ioctl(4, LOOP_CLR_FD) = 0 [pid 570] close(4) = 0 [pid 570] exit_group(0 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./25", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 570] <... exit_group resumed>) = ? [pid 570] +++ exited with 0 +++ [pid 306] <... umount2 resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=570, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./25/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./25/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./25/file0") = 0 [pid 306] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] <... restart_syscall resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] unlink("./25/binderfs" [pid 308] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 306] <... unlink resumed>) = 0 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 308] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(3) = 0 [pid 306] rmdir("./25" [pid 579] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./26", 0777 [pid 579] chdir("./26" [pid 306] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 579] <... chdir 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|SIGCHLD [pid 579] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 578] write(1, "executing program\n", 18 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 580 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 executing program [pid 579] <... prctl resumed>) = 0 [pid 578] <... write resumed>) = 18 ci2-android-6-1/strace-static-x86_64: Process 580 attached [pid 579] setpgid(0, 0 [pid 578] memfd_create("syzkaller", 0 [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./25/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./25/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./25/file0") = 0 [pid 308] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./25/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./25") = 0 [pid 308] mkdir("./26", 0777) = 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|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 581 attached [pid 580] set_robust_list(0x5555866cd6a0, 24 [pid 579] <... setpgid resumed>) = 0 [pid 578] <... memfd_create resumed>) = 3 [pid 575] <... mount resumed>) = 0 [pid 580] <... set_robust_list resumed>) = 0 [pid 579] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 578] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 575] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 581 [pid 581] set_robust_list(0x5555866cd6a0, 24 [pid 580] rt_sigprocmask(SIG_SETMASK, [] [pid 579] <... openat resumed>) = 3 [pid 578] <... mmap resumed>) = 0x7f11e81cd000 [pid 575] <... openat resumed>) = 3 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 581] <... set_robust_list resumed>) = 0 [pid 580] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 579] write(3, "1000", 4 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 581] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 581] chdir("./26" [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"..., 524288 [pid 575] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 581] <... chdir resumed>) = 0 [pid 580] chdir("./26" [pid 579] <... write resumed>) = 4 [pid 580] <... chdir resumed>) = 0 [pid 575] <... openat resumed>) = 4 [pid 579] close(3 [pid 580] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 575] ioctl(4, LOOP_CLR_FD [pid 580] <... prctl resumed>) = 0 [pid 579] <... close resumed>) = 0 [pid 575] <... ioctl resumed>) = 0 [pid 581] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 580] setpgid(0, 0 [pid 579] symlink("/dev/binderfs", "./binderfs" [pid 578] <... write resumed>) = 524288 [pid 575] close(4 [pid 581] <... prctl resumed>) = 0 [pid 580] <... setpgid resumed>) = 0 [pid 579] <... symlink resumed>) = 0 [pid 578] munmap(0x7f11e81cd000, 138412032 [pid 575] <... close resumed>) = 0 [pid 581] setpgid(0, 0 [pid 580] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 579] write(1, "executing program\n", 18 [pid 578] <... munmap resumed>) = 0 executing program [pid 575] exit_group(0 [pid 581] <... setpgid resumed>) = 0 [pid 580] <... openat resumed>) = 3 [pid 579] <... write resumed>) = 18 [pid 578] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 575] <... exit_group resumed>) = ? [pid 580] write(3, "1000", 4 [pid 579] memfd_create("syzkaller", 0 [pid 581] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 581] write(3, "1000", 4) = 4 [pid 581] close(3 [pid 575] +++ exited with 0 +++ [pid 581] <... close resumed>) = 0 [pid 580] <... write resumed>) = 4 [pid 581] symlink("/dev/binderfs", "./binderfs" [pid 580] close(3 [pid 579] <... memfd_create resumed>) = 3 [pid 578] <... openat resumed>) = 4 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=575, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 580] <... close resumed>) = 0 [ 29.115136][ T575] EXT4-fs (loop1): orphan cleanup on readonly fs [ 29.123566][ T575] EXT4-fs (loop1): 1 truncate cleaned up [pid 579] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 578] ioctl(4, LOOP_SET_FD, 3 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 581] <... symlink resumed>) = 0 [pid 580] symlink("/dev/binderfs", "./binderfs" [pid 579] <... mmap resumed>) = 0x7f11e81cd000 [pid 581] write(1, "executing program\n", 18) = 18 [pid 581] memfd_create("syzkaller", 0) = 3 [pid 581] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] <... restart_syscall resumed>) = 0 [pid 581] 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"..., 524288 [pid 580] <... symlink resumed>) = 0 [pid 307] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./25", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 executing program [pid 307] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 579] 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"..., 524288 [pid 581] <... write resumed>) = 524288 [pid 580] write(1, "executing program\n", 18 [pid 578] <... ioctl resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./25/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./25/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./25/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./25/file0") = 0 [pid 580] <... write resumed>) = 18 [pid 579] <... write resumed>) = 524288 executing program [pid 307] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./25/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./25/binderfs") = 0 [pid 580] memfd_create("syzkaller", 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./25" [pid 580] <... memfd_create resumed>) = 3 [pid 581] munmap(0x7f11e81cd000, 138412032 [pid 580] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 579] munmap(0x7f11e81cd000, 138412032 [pid 578] close(3 [pid 580] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] <... rmdir resumed>) = 0 [pid 581] <... munmap resumed>) = 0 [pid 307] mkdir("./26", 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 580] 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"..., 524288 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 582 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 579] <... munmap resumed>) = 0 [pid 581] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 581] ioctl(4, LOOP_SET_FD, 3ci2-android-6-1/strace-static-x86_64: Process 582 attached [pid 580] <... write resumed>) = 524288 [pid 579] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 578] <... close resumed>) = 0 [pid 579] <... openat resumed>) = 4 [pid 579] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 579] close(3) = 0 [pid 579] close(4) = 0 [pid 579] mkdir("./file0", 0777) = 0 [pid 579] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 580] munmap(0x7f11e81cd000, 138412032 [pid 582] set_robust_list(0x5555866cd6a0, 24 [pid 578] close(4 [pid 582] <... set_robust_list resumed>) = 0 [pid 581] <... ioctl resumed>) = 0 [pid 580] <... munmap resumed>) = 0 [pid 578] <... close resumed>) = 0 [pid 580] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 578] mkdir("./file0", 0777 [pid 580] <... openat resumed>) = 4 [pid 578] <... mkdir resumed>) = 0 [pid 580] ioctl(4, LOOP_SET_FD, 3 [ 29.157981][ T578] loop3: detected capacity change from 0 to 1024 [ 29.182655][ T581] loop2: detected capacity change from 0 to 1024 [ 29.189092][ T579] loop4: detected capacity change from 0 to 1024 [pid 578] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 581] close(3) = 0 [pid 582] rt_sigprocmask(SIG_SETMASK, [] [pid 581] close(4) = 0 [pid 581] mkdir("./file0", 0777) = 0 [pid 582] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 582] chdir("./26") = 0 [pid 582] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 582] setpgid(0, 0) = 0 [pid 582] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 582] write(3, "1000", 4) = 4 [pid 581] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 582] close(3) = 0 [pid 582] symlink("/dev/binderfs", "./binderfs") = 0 [pid 582] write(1, "executing program\n", 18) = 18 executing program [pid 582] memfd_create("syzkaller", 0) = 3 [pid 582] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 582] 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"..., 524288 [pid 580] <... ioctl resumed>) = 0 [pid 580] close(3) = 0 [pid 580] close(4) = 0 [pid 580] mkdir("./file0", 0777 [pid 582] <... write resumed>) = 524288 [pid 580] <... mkdir resumed>) = 0 [pid 582] munmap(0x7f11e81cd000, 138412032 [pid 580] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 582] <... munmap resumed>) = 0 [pid 582] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 29.203677][ T580] loop0: detected capacity change from 0 to 1024 [ 29.227112][ T578] EXT4-fs (loop3): orphan cleanup on readonly fs [ 29.234407][ T579] EXT4-fs (loop4): orphan cleanup on readonly fs [ 29.242765][ T581] EXT4-fs (loop2): orphan cleanup on readonly fs [pid 582] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 582] close(3 [pid 581] <... mount resumed>) = 0 [pid 582] <... close resumed>) = 0 [pid 581] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 582] close(4 [pid 581] <... openat resumed>) = 3 [pid 582] <... close resumed>) = 0 [pid 582] mkdir("./file0", 0777 [pid 581] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 579] <... mount resumed>) = 0 [pid 579] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 579] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 579] ioctl(4, LOOP_CLR_FD) = 0 [pid 582] <... mkdir resumed>) = 0 [pid 581] <... openat resumed>) = 4 [pid 579] close(4 [pid 582] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 579] <... close resumed>) = 0 [pid 581] ioctl(4, LOOP_CLR_FD [pid 579] exit_group(0 [pid 581] <... ioctl resumed>) = 0 [pid 579] <... exit_group resumed>) = ? [pid 581] close(4) = 0 [pid 581] exit_group(0) = ? [pid 579] +++ exited with 0 +++ [pid 581] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=581, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=579, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 578] <... mount resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 578] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./26", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 578] <... openat resumed>) = 3 [pid 578] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 578] ioctl(4, LOOP_CLR_FD) = 0 [pid 578] close(4) = 0 [pid 578] exit_group(0) = ? [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./26/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./26/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./26/file0" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... rmdir resumed>) = 0 [pid 308] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./26/binderfs" [pid 310] <... openat resumed>) = 3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./26/binderfs" [pid 310] fstat(3 [pid 308] <... unlink resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3 [pid 310] getdents64(3 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./26" [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... rmdir resumed>) = 0 [pid 308] mkdir("./27", 0777 [pid 310] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 578] +++ exited with 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 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=578, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 308] <... close resumed>) = 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 588 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 588 attached [pid 588] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 588] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 588] chdir("./27") = 0 [pid 588] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 588] setpgid(0, 0) = 0 [pid 588] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 310] <... umount2 resumed>) = 0 [pid 588] write(3, "1000", 4) = 4 [pid 588] close(3) = 0 [pid 588] symlink("/dev/binderfs", "./binderfs") = 0 [pid 588] write(1, "executing program\n", 18) = 18 executing program [pid 588] memfd_create("syzkaller", 0) = 3 [pid 588] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 588] 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"..., 524288 [pid 310] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./26", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 588] <... write resumed>) = 524288 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 588] munmap(0x7f11e81cd000, 138412032 [pid 310] newfstatat(AT_FDCWD, "./26/file0" [pid 588] <... munmap resumed>) = 0 [pid 588] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 29.252426][ T582] loop1: detected capacity change from 0 to 1024 [ 29.259562][ T581] EXT4-fs (loop2): 1 truncate cleaned up [ 29.266036][ T579] EXT4-fs (loop4): 1 truncate cleaned up [ 29.274396][ T580] EXT4-fs (loop0): orphan cleanup on readonly fs [ 29.281777][ T578] EXT4-fs (loop3): 1 truncate cleaned up [ 29.292597][ T582] EXT4-fs (loop1): orphan cleanup on readonly fs [ 29.300533][ T580] EXT4-fs (loop0): 1 truncate cleaned up [pid 588] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 310] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 588] <... ioctl resumed>) = 0 [pid 588] close(3) = 0 [pid 588] close(4) = 0 [pid 588] mkdir("./file0", 0777) = 0 [pid 588] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./26/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... openat resumed>) = 4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] newfstatat(AT_FDCWD, "./26/file0" [pid 310] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] close(4) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] rmdir("./26/file0") = 0 [pid 309] openat(AT_FDCWD, "./26/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 4 [pid 310] newfstatat(AT_FDCWD, "./26/binderfs" [pid 309] fstat(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] unlink("./26/binderfs" [pid 309] getdents64(4 [pid 310] <... unlink resumed>) = 0 [pid 310] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3 [pid 309] getdents64(4 [pid 310] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] rmdir("./26" [pid 580] <... mount resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 309] close(4 [pid 580] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] mkdir("./27", 0777 [pid 309] <... close resumed>) = 0 [pid 580] <... openat resumed>) = 3 [pid 580] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... mkdir resumed>) = 0 [pid 309] rmdir("./26/file0" [pid 580] <... openat resumed>) = 4 [pid 309] <... rmdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... openat resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] newfstatat(AT_FDCWD, "./26/binderfs" [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] close(3 [pid 309] unlink("./26/binderfs" [pid 310] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... unlink resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] getdents64(3 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 580] ioctl(4, LOOP_CLR_FD [pid 309] close(3 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 590 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... close resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] rmdir("./26" [pid 580] <... ioctl resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 309] mkdir("./27", 0777 [pid 580] close(4 [pid 309] <... mkdir resumed>) = 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 580] <... close resumed>) = 0 [pid 580] exit_group(0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 591 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 580] <... exit_group resumed>) = ? [pid 580] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=580, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 590 attached ci2-android-6-1/strace-static-x86_64: Process 591 attached [pid 590] set_robust_list(0x5555866cd6a0, 24 [pid 306] <... restart_syscall resumed>) = 0 [pid 591] set_robust_list(0x5555866cd6a0, 24 [pid 590] <... set_robust_list resumed>) = 0 [pid 306] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 590] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... openat resumed>) = 3 [pid 591] <... set_robust_list resumed>) = 0 [pid 590] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 591] rt_sigprocmask(SIG_SETMASK, [] [pid 590] chdir("./27" [pid 306] fstat(3 [pid 591] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 590] <... chdir resumed>) = 0 [pid 591] chdir("./27" [pid 590] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 591] <... chdir resumed>) = 0 [pid 590] <... prctl resumed>) = 0 [pid 591] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 590] setpgid(0, 0 [pid 591] <... prctl resumed>) = 0 [pid 590] <... setpgid resumed>) = 0 [pid 591] setpgid(0, 0) = 0 [pid 590] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] getdents64(3 [pid 591] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 590] <... openat resumed>) = 3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 591] <... openat resumed>) = 3 [pid 590] write(3, "1000", 4 [pid 306] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 591] write(3, "1000", 4 [pid 590] <... write resumed>) = 4 [pid 591] <... write resumed>) = 4 [pid 590] close(3 [pid 591] close(3 [pid 590] <... close resumed>) = 0 [pid 591] <... close resumed>) = 0 [pid 590] symlink("/dev/binderfs", "./binderfs" [pid 591] symlink("/dev/binderfs", "./binderfs") = 0 [pid 590] <... symlink resumed>) = 0 [pid 582] <... mount resumed>) = 0 executing program [pid 591] write(1, "executing program\n", 18) = 18 [pid 590] write(1, "executing program\n", 18 [pid 582] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY executing program [pid 591] memfd_create("syzkaller", 0) = 3 [pid 590] <... write resumed>) = 18 [pid 582] <... openat resumed>) = 3 [pid 591] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 590] memfd_create("syzkaller", 0 [pid 306] <... umount2 resumed>) = 0 [pid 590] <... memfd_create resumed>) = 3 [pid 590] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 591] <... mmap resumed>) = 0x7f11e81cd000 [pid 590] 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"..., 524288 [pid 306] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 590] <... write resumed>) = 524288 [pid 591] 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"..., 524288 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 590] munmap(0x7f11e81cd000, 138412032) = 0 [pid 590] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 29.321094][ T588] loop2: detected capacity change from 0 to 1024 [ 29.336419][ T582] EXT4-fs (loop1): 1 truncate cleaned up [ 29.350551][ T588] EXT4-fs (loop2): orphan cleanup on readonly fs [pid 590] ioctl(4, LOOP_SET_FD, 3 [pid 591] <... write resumed>) = 524288 [pid 582] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] newfstatat(AT_FDCWD, "./26/file0" [pid 591] munmap(0x7f11e81cd000, 138412032 [pid 582] <... openat resumed>) = 4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 591] <... munmap resumed>) = 0 [pid 582] ioctl(4, LOOP_CLR_FD [pid 306] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 591] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 582] <... ioctl resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 591] <... openat resumed>) = 4 [pid 582] close(4 [pid 306] openat(AT_FDCWD, "./26/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 591] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... openat resumed>) = 4 [pid 590] <... ioctl resumed>) = 0 [pid 590] close(3) = 0 [pid 590] close(4) = 0 [pid 590] mkdir("./file0", 0777) = 0 [pid 591] <... ioctl resumed>) = 0 [pid 590] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4 [pid 582] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./26/file0") = 0 [pid 306] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./26/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 588] <... mount resumed>) = 0 [pid 588] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 588] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 588] ioctl(4, LOOP_CLR_FD) = 0 [pid 588] close(4) = 0 [pid 588] exit_group(0) = ? [pid 588] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=588, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 591] close(3) = 0 [pid 591] close(4) = 0 [pid 591] mkdir("./file0", 0777 [pid 306] unlink("./26/binderfs") = 0 [pid 591] <... mkdir resumed>) = 0 [pid 306] getdents64(3 [pid 591] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./26" [pid 582] exit_group(0 [pid 306] <... rmdir resumed>) = 0 [pid 582] <... exit_group resumed>) = ? [pid 306] mkdir("./27", 0777 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 308] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 582] +++ exited with 0 +++ [pid 308] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] <... openat resumed>) = 3 [pid 308] fstat(3 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=582, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... openat resumed>) = 3 [pid 308] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] <... umount2 resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 306] close(3 [pid 307] umount2("./26", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./27/file0" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./26", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] fstat(3ci2-android-6-1/strace-static-x86_64: Process 593 attached [pid 308] <... openat resumed>) = 4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 593 [pid 593] set_robust_list(0x5555866cd6a0, 24 [pid 308] fstat(4 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 593] <... set_robust_list resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] getdents64(4 [pid 593] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(3 [pid 593] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] getdents64(4 [pid 593] chdir("./27" [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] close(4 [pid 593] <... chdir resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 593] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] rmdir("./27/file0" [pid 307] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 593] <... prctl resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 308] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./27/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./27/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./27") = 0 [pid 308] mkdir("./28", 0777 [pid 593] setpgid(0, 0) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 593] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] <... openat resumed>) = 3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 593] <... openat resumed>) = 3 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 593] write(3, "1000", 4 [pid 308] close(3 [pid 593] <... write resumed>) = 4 [pid 308] <... close resumed>) = 0 [pid 593] close(3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 593] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 593] symlink("/dev/binderfs", "./binderfs" [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 595 [pid 593] <... symlink resumed>) = 0 [pid 593] write(1, "executing program\n", 18 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 executing program [pid 593] <... write resumed>) = 18 ci2-android-6-1/strace-static-x86_64: Process 595 attached [pid 593] memfd_create("syzkaller", 0 [pid 307] <... umount2 resumed>) = 0 [ 29.371886][ T590] loop4: detected capacity change from 0 to 1024 [ 29.379561][ T591] loop3: detected capacity change from 0 to 1024 [ 29.388432][ T588] EXT4-fs (loop2): 1 truncate cleaned up [ 29.407704][ T590] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 593] <... memfd_create resumed>) = 3 [pid 307] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 593] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 595] set_robust_list(0x5555866cd6a0, 24 [pid 593] 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"..., 524288 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 595] <... set_robust_list resumed>) = 0 [pid 595] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 593] <... write resumed>) = 524288 [pid 307] newfstatat(AT_FDCWD, "./26/file0" [pid 595] chdir("./28") = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 595] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 593] munmap(0x7f11e81cd000, 138412032 [pid 595] <... prctl resumed>) = 0 [pid 307] umount2("./26/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 595] setpgid(0, 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 595] <... setpgid resumed>) = 0 [pid 307] openat(AT_FDCWD, "./26/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 595] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... openat resumed>) = 4 [pid 595] <... openat resumed>) = 3 [pid 307] fstat(4 [pid 595] write(3, "1000", 4 [pid 593] <... munmap resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 595] <... write resumed>) = 4 [pid 593] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 595] close(3 [pid 307] getdents64(4 [pid 595] <... close resumed>) = 0 [pid 595] symlink("/dev/binderfs", "./binderfs" [pid 593] <... openat resumed>) = 4 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 590] <... mount resumed>) = 0 [pid 595] <... symlink resumed>) = 0 [pid 307] getdents64(4 [pid 595] write(1, "executing program\n", 18 [pid 593] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 595] <... write resumed>) = 18 [pid 591] <... mount resumed>) = 0 [pid 590] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY executing program [pid 307] close(4 [pid 595] memfd_create("syzkaller", 0 [pid 307] <... close resumed>) = 0 [pid 595] <... memfd_create resumed>) = 3 [pid 307] rmdir("./26/file0" [pid 595] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] <... rmdir resumed>) = 0 [pid 595] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] umount2("./26/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./26/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./26/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 595] 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"..., 524288 [pid 307] rmdir("./26") = 0 [pid 307] mkdir("./27", 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 [pid 595] <... write resumed>) = 524288 [pid 307] <... close resumed>) = 0 [pid 595] munmap(0x7f11e81cd000, 138412032 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 595] <... munmap resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 595] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 595] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 595] close(3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 596 [pid 595] <... close resumed>) = 0 [pid 595] close(4 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 595] <... close resumed>) = 0 [pid 595] mkdir("./file0", 0777 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 593] <... ioctl resumed>) = 0 [pid 595] <... mkdir resumed>) = 0 [pid 595] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 593] close(3) = 0 ci2-android-6-1/strace-static-x86_64: Process 596 attached [pid 596] set_robust_list(0x5555866cd6a0, 24 [pid 591] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 590] <... openat resumed>) = 3 [pid 593] close(4) = 0 [pid 593] mkdir("./file0", 0777) = 0 [pid 593] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 596] <... set_robust_list resumed>) = 0 [pid 591] <... openat resumed>) = 3 [pid 590] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [ 29.429893][ T591] EXT4-fs (loop3): orphan cleanup on readonly fs [ 29.437432][ T590] EXT4-fs (loop4): 1 truncate cleaned up [ 29.448228][ T591] EXT4-fs (loop3): 1 truncate cleaned up [ 29.467920][ T595] EXT4-fs (loop2): orphan cleanup on readonly fs [pid 596] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 591] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 590] <... openat resumed>) = 4 [pid 596] chdir("./27" [pid 591] <... openat resumed>) = 4 [pid 590] ioctl(4, LOOP_CLR_FD [pid 596] <... chdir resumed>) = 0 [pid 591] ioctl(4, LOOP_CLR_FD [pid 590] <... ioctl resumed>) = 0 [pid 591] <... ioctl resumed>) = 0 [pid 596] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 591] close(4 [pid 590] close(4 [pid 596] <... prctl resumed>) = 0 [pid 591] <... close resumed>) = 0 [pid 596] setpgid(0, 0 [pid 590] <... close resumed>) = 0 [pid 596] <... setpgid resumed>) = 0 [pid 591] exit_group(0 [pid 590] exit_group(0 [pid 596] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 591] <... exit_group resumed>) = ? [pid 590] <... exit_group resumed>) = ? [pid 596] <... openat resumed>) = 3 [pid 590] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=590, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 591] +++ exited with 0 +++ [pid 596] write(3, "1000", 4) = 4 [pid 310] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=591, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 596] close(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 3 [pid 309] openat(AT_FDCWD, "./27", 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 310] getdents64(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] getdents64(3 [pid 310] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 596] <... close resumed>) = 0 [pid 309] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 596] symlink("/dev/binderfs", "./binderfs") = 0 [pid 596] write(1, "executing program\n", 18 [pid 593] <... mount resumed>) = 0 [pid 596] <... write resumed>) = 18 executing program [pid 596] memfd_create("syzkaller", 0 [pid 593] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 596] <... memfd_create resumed>) = 3 [pid 596] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 593] <... openat resumed>) = 3 [pid 596] <... mmap resumed>) = 0x7f11e81cd000 [pid 595] <... mount resumed>) = 0 [pid 595] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 595] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 595] ioctl(4, LOOP_CLR_FD) = 0 [pid 595] close(4) = 0 [pid 595] exit_group(0) = ? [pid 595] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=595, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... umount2 resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 596] 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"..., 524288 [pid 309] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./27/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./27/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 593] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 593] ioctl(4, LOOP_CLR_FD) = 0 [pid 593] close(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 593] <... close resumed>) = 0 [pid 593] exit_group(0) = ? [pid 593] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=593, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] newfstatat(AT_FDCWD, "./27/file0" [pid 308] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 308] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 596] <... write resumed>) = 524288 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 596] munmap(0x7f11e81cd000, 138412032 [pid 309] openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] fstat(3 [pid 306] fstat(3 [pid 309] <... openat resumed>) = 4 [pid 309] fstat(4 [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 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 308] getdents64(3 [pid 306] getdents64(3 [pid 596] <... munmap resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 596] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 309] getdents64(4 [pid 596] <... openat resumed>) = 4 [pid 310] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 596] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... close resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./28/file0" [pid 306] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] rmdir("./27/file0" [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("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./27/file0" [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 596] <... ioctl resumed>) = 0 [pid 310] close(4 [pid 309] <... rmdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 596] close(3 [pid 310] <... close resumed>) = 0 [pid 309] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 4 [pid 596] <... close resumed>) = 0 [pid 310] rmdir("./27/file0" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] fstat(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 596] close(4 [pid 309] newfstatat(AT_FDCWD, "./27/binderfs" [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 596] <... close resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] getdents64(4 [pid 310] <... rmdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 596] mkdir("./file0", 0777 [pid 309] unlink("./27/binderfs" [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... openat resumed>) = 4 [pid 596] <... mkdir resumed>) = 0 [pid 310] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... unlink resumed>) = 0 [pid 308] getdents64(4 [pid 306] fstat(4 [pid 596] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] newfstatat(AT_FDCWD, "./27/binderfs" [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 306] getdents64(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] close(3 [pid 308] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] unlink("./27/binderfs" [pid 309] <... close resumed>) = 0 [pid 308] rmdir("./28/file0" [pid 306] getdents64(4 [pid 310] <... unlink resumed>) = 0 [ 29.476487][ T593] EXT4-fs (loop0): orphan cleanup on readonly fs [ 29.486317][ T593] EXT4-fs (loop0): 1 truncate cleaned up [ 29.493652][ T595] EXT4-fs (loop2): 1 truncate cleaned up [pid 309] rmdir("./27" [pid 310] getdents64(3 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] mkdir("./28", 0777 [pid 308] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(4 [pid 310] close(3 [pid 306] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... mkdir resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./28/binderfs" [pid 306] rmdir("./27/file0" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] rmdir("./27" [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 308] unlink("./28/binderfs" [pid 310] <... rmdir resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 310] mkdir("./28", 0777 [pid 306] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 3 [pid 308] getdents64(3 [pid 310] <... mkdir resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] close(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 3 [pid 308] <... close resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] rmdir("./28" [pid 306] newfstatat(AT_FDCWD, "./27/binderfs" [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] close(3 [pid 308] <... rmdir resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... close resumed>) = 0 [pid 308] mkdir("./29", 0777 [pid 306] unlink("./27/binderfs" [pid 310] close(3 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... mkdir resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... close resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] getdents64(3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[]ci2-android-6-1/strace-static-x86_64: Process 600 attached , [], 8) = 0 [pid 308] <... openat resumed>) = 3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 600 [pid 308] ioctl(3, LOOP_CLR_FD [pid 306] close(3 [pid 600] set_robust_list(0x5555866cd6a0, 24 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 596] <... mount resumed>) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... close resumed>) = 0 [pid 600] <... set_robust_list resumed>) = 0 [pid 596] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 601 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] close(3 [pid 306] rmdir("./27" [pid 600] rt_sigprocmask(SIG_SETMASK, [] [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... close resumed>) = 0 [pid 600] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 596] <... openat resumed>) = 3 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... rmdir resumed>) = 0 [pid 600] chdir("./28" [pid 596] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] mkdir("./28", 0777 [pid 600] <... chdir resumed>) = 0 [pid 596] <... openat resumed>) = 4 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 600] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 596] ioctl(4, LOOP_CLR_FD [pid 306] <... mkdir resumed>) = 0 [pid 600] <... prctl resumed>) = 0 [pid 596] <... ioctl resumed>) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 602 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 600] setpgid(0, 0 [pid 596] close(4 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 600] <... setpgid resumed>) = 0 [pid 596] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... openat resumed>) = 3 [pid 600] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 596] exit_group(0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 600] <... openat resumed>) = 3 [pid 596] <... exit_group resumed>) = ? [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 600] write(3, "1000", 4 [pid 306] close(3 [pid 600] <... write resumed>) = 4 [pid 306] <... close resumed>) = 0 [pid 600] close(3 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 600] <... close resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 600] symlink("/dev/binderfs", "./binderfs" [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 601 attached [pid 600] <... symlink resumed>) = 0 [pid 601] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 601] rt_sigprocmask(SIG_SETMASK, [] [pid 600] write(1, "executing program\n", 18 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 603 [pid 600] <... write resumed>) = 18 executing program [pid 600] memfd_create("syzkaller", 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 600] <... memfd_create resumed>) = 3 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 600] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 601] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 601] chdir("./28") = 0 ci2-android-6-1/strace-static-x86_64: Process 602 attached [pid 601] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 601] setpgid(0, 0 [pid 602] set_robust_list(0x5555866cd6a0, 24 [pid 601] <... setpgid resumed>) = 0 [pid 601] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 602] <... set_robust_list resumed>) = 0 [pid 602] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 602] chdir("./29" [pid 600] 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"..., 524288 [pid 596] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=596, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 601] <... openat resumed>) = 3 [pid 602] <... chdir resumed>) = 0 [pid 602] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 601] write(3, "1000", 4 [pid 602] <... prctl resumed>) = 0 [pid 601] <... write resumed>) = 4 [pid 602] setpgid(0, 0 [pid 601] close(3 [pid 602] <... setpgid resumed>) = 0 [pid 602] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 601] <... close resumed>) = 0 [pid 600] <... write resumed>) = 524288 [pid 601] symlink("/dev/binderfs", "./binderfs") = 0 [pid 600] munmap(0x7f11e81cd000, 138412032 [pid 602] <... openat resumed>) = 3 [pid 602] write(3, "1000", 4) = 4 [pid 600] <... munmap resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 603 attached [pid 602] close(3 [pid 601] write(1, "executing program\n", 18 [pid 600] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 307] <... restart_syscall resumed>) = 0 [pid 600] <... openat resumed>) = 4 [pid 600] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 600] close(3) = 0 [pid 307] umount2("./27", MNT_FORCE|UMOUNT_NOFOLLOW [pid 600] close(4) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 600] mkdir("./file0", 0777) = 0 [pid 307] openat(AT_FDCWD, "./27", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 600] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 603] set_robust_list(0x5555866cd6a0, 24 [pid 307] <... openat resumed>) = 3 [pid 603] <... set_robust_list resumed>) = 0 [pid 602] <... close resumed>) = 0 [pid 601] <... write resumed>) = 18 [pid 603] rt_sigprocmask(SIG_SETMASK, [] [pid 602] symlink("/dev/binderfs", "./binderfs" [pid 601] memfd_create("syzkaller", 0 [pid 603] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 602] <... symlink resumed>) = 0 [pid 601] <... memfd_create resumed>) = 3 [pid 307] fstat(3 [pid 603] chdir("./28" [pid 602] write(1, "executing program\n", 18 [pid 601] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 603] <... chdir resumed>) = 0 [pid 602] <... write resumed>) = 18 [pid 601] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 603] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 602] memfd_create("syzkaller", 0 [pid 603] <... prctl resumed>) = 0 [pid 602] <... memfd_create resumed>) = 3 [pid 307] getdents64(3 [pid 603] setpgid(0, 0 [pid 602] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 603] <... setpgid resumed>) = 0 [pid 602] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 executing program executing program [pid 603] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 602] 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"..., 524288 [pid 307] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 603] <... openat resumed>) = 3 [pid 603] write(3, "1000", 4) = 4 [pid 603] close(3) = 0 [pid 603] symlink("/dev/binderfs", "./binderfs" [pid 601] 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"..., 524288 [pid 603] <... symlink resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 603] write(1, "executing program\n", 18 [pid 307] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 603] <... write resumed>) = 18 [pid 603] memfd_create("syzkaller", 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 603] <... memfd_create resumed>) = 3 executing program [pid 307] newfstatat(AT_FDCWD, "./27/file0" [pid 603] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 603] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] umount2("./27/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 603] 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"..., 524288 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./27/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 601] <... write resumed>) = 524288 [pid 307] <... openat resumed>) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4 [ 29.532045][ T596] EXT4-fs (loop1): orphan cleanup on readonly fs [ 29.545248][ T596] EXT4-fs (loop1): 1 truncate cleaned up [pid 603] <... write resumed>) = 524288 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 602] <... write resumed>) = 524288 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 601] munmap(0x7f11e81cd000, 138412032 [pid 307] rmdir("./27/file0" [pid 601] <... munmap resumed>) = 0 [pid 601] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 307] <... rmdir resumed>) = 0 [pid 602] munmap(0x7f11e81cd000, 138412032 [pid 601] <... openat resumed>) = 4 [pid 307] umount2("./27/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 601] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 602] <... munmap resumed>) = 0 [pid 601] <... ioctl resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./27/binderfs" [pid 602] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./27/binderfs" [pid 602] <... openat resumed>) = 4 [pid 307] <... unlink resumed>) = 0 [pid 602] ioctl(4, LOOP_SET_FD, 3 [pid 307] getdents64(3 [pid 602] <... ioctl resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 601] close(3 [pid 307] close(3 [pid 601] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 601] close(4 [pid 307] rmdir("./27" [pid 601] <... close resumed>) = 0 [pid 601] mkdir("./file0", 0777 [pid 602] close(3 [pid 601] <... mkdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 602] <... close resumed>) = 0 [pid 307] mkdir("./28", 0777 [pid 603] munmap(0x7f11e81cd000, 138412032) = 0 [pid 602] close(4 [pid 307] <... mkdir resumed>) = 0 [pid 602] <... close resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 601] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... openat resumed>) = 3 [pid 603] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 602] mkdir("./file0", 0777 [pid 307] ioctl(3, LOOP_CLR_FD [pid 603] <... openat resumed>) = 4 [pid 602] <... mkdir resumed>) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 603] ioctl(4, LOOP_SET_FD, 3 [pid 602] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] close(3 [pid 603] <... ioctl resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 603] close(3 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 603] <... close resumed>) = 0 [pid 603] close(4) = 0 [pid 603] mkdir("./file0", 0777) = 0 [pid 603] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 607 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 607 attached [pid 600] <... mount resumed>) = 0 [pid 607] set_robust_list(0x5555866cd6a0, 24 [ 29.592968][ T600] EXT4-fs (loop3): orphan cleanup on readonly fs [ 29.613108][ T600] EXT4-fs (loop3): 1 truncate cleaned up [ 29.625271][ T602] EXT4-fs (loop2): orphan cleanup on readonly fs [ 29.631700][ T601] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 600] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 607] <... set_robust_list resumed>) = 0 [pid 600] <... openat resumed>) = 3 [pid 607] rt_sigprocmask(SIG_SETMASK, [] [pid 600] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 607] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 600] <... openat resumed>) = 4 [pid 607] chdir("./28" [pid 600] ioctl(4, LOOP_CLR_FD [pid 607] <... chdir resumed>) = 0 [pid 603] <... mount resumed>) = 0 [pid 600] <... ioctl resumed>) = 0 [pid 607] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 603] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 600] close(4 [pid 607] <... prctl resumed>) = 0 [pid 603] <... openat resumed>) = 3 [pid 600] <... close resumed>) = 0 [pid 607] setpgid(0, 0 [pid 603] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 600] exit_group(0 [pid 607] <... setpgid resumed>) = 0 [pid 603] <... openat resumed>) = 4 [pid 600] <... exit_group resumed>) = ? [pid 607] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 603] ioctl(4, LOOP_CLR_FD [pid 600] +++ exited with 0 +++ [pid 607] <... openat resumed>) = 3 [pid 603] <... ioctl resumed>) = 0 [pid 607] write(3, "1000", 4) = 4 [pid 607] close(3 [pid 603] close(4 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=600, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 607] <... close resumed>) = 0 [pid 603] <... close resumed>) = 0 [pid 607] symlink("/dev/binderfs", "./binderfs" [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 607] <... symlink resumed>) = 0 [pid 603] exit_group(0 executing program [pid 607] write(1, "executing program\n", 18) = 18 [pid 603] <... exit_group resumed>) = ? [pid 607] memfd_create("syzkaller", 0) = 3 [pid 607] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 607] 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"..., 524288 [pid 603] +++ exited with 0 +++ [pid 607] <... write resumed>) = 524288 [pid 601] <... mount resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 607] munmap(0x7f11e81cd000, 138412032) = 0 [pid 607] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 607] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 607] close(3) = 0 [pid 607] close(4) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=603, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 607] mkdir("./file0", 0777) = 0 [pid 607] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 601] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... restart_syscall resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3 [pid 306] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] getdents64(3 [pid 306] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 602] <... mount resumed>) = 0 [pid 601] <... openat resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... openat resumed>) = 3 [pid 309] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 29.644361][ T603] EXT4-fs (loop0): orphan cleanup on readonly fs [ 29.651778][ T603] EXT4-fs (loop0): 1 truncate cleaned up [ 29.657833][ T601] EXT4-fs (loop4): 1 truncate cleaned up [ 29.675858][ T602] EXT4-fs (loop2): 1 truncate cleaned up [ 29.686223][ T607] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 306] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 607] <... mount resumed>) = 0 [pid 602] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 601] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./28/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./28/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./28/file0") = 0 [pid 309] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./28/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./28/binderfs") = 0 [pid 601] <... openat resumed>) = 4 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./28" [pid 306] <... umount2 resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 309] mkdir("./29", 0777 [pid 607] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 602] <... openat resumed>) = 3 [pid 601] ioctl(4, LOOP_CLR_FD [pid 309] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 601] <... ioctl resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 602] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] newfstatat(AT_FDCWD, "./28/file0" [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] close(3 [pid 306] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 607] <... openat resumed>) = 3 [pid 602] <... openat resumed>) = 4 [pid 601] close(4 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 607] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 602] ioctl(4, LOOP_CLR_FD [pid 601] <... close resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... openat resumed>) = 4 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] fstat(4 [pid 607] <... openat resumed>) = 4 [pid 602] <... ioctl resumed>) = 0 [pid 601] exit_group(0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 610 [pid 306] getdents64(4 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 601] <... exit_group resumed>) = ? [pid 607] ioctl(4, LOOP_CLR_FD [pid 602] close(4 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./28/file0" [pid 601] +++ exited with 0 +++ [pid 306] <... rmdir resumed>) = 0 [pid 602] <... close resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=601, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./28/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./28/binderfs" [pid 602] exit_group(0 [pid 607] <... ioctl resumed>) = 0 [pid 602] <... exit_group resumed>) = ? [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./28" [pid 607] close(4 [pid 602] +++ exited with 0 +++ [pid 306] <... rmdir resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=602, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] mkdir("./29", 0777 [pid 607] <... close resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... restart_syscall resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 607] exit_group(0 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 607] <... exit_group resumed>) = ? [pid 310] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] close(3 [pid 607] +++ exited with 0 +++ [pid 310] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] fstat(3 [pid 308] <... openat resumed>) = 3 [pid 306] <... close resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] fstat(3 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=607, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] getdents64(3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] getdents64(3 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 610 attached [pid 610] set_robust_list(0x5555866cd6a0, 24 [pid 308] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 610] <... set_robust_list resumed>) = 0 [pid 610] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 610] chdir("./29") = 0 [pid 610] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 610] setpgid(0, 0) = 0 [pid 610] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... umount2 resumed>) = 0 [pid 610] <... openat resumed>) = 3 [pid 610] write(3, "1000", 4) = 4 [pid 310] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 610] close(3) = 0 [pid 307] <... restart_syscall resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 611 attached [pid 610] symlink("/dev/binderfs", "./binderfs" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = 0 [pid 610] <... symlink resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./28/file0" [pid 308] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 610] write(1, "executing program\n", 18 [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 610] <... write resumed>) = 18 [pid 310] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./29/file0" [pid 610] memfd_create("syzkaller", 0 [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 610] <... memfd_create resumed>) = 3 [pid 310] openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 610] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... openat resumed>) = 4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 610] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] fstat(4 [pid 308] openat(AT_FDCWD, "./29/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 610] 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"..., 524288 [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>, 0x5555866d6790 /* 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>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] close(4 [pid 308] getdents64(4 [pid 310] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] rmdir("./28/file0" [pid 308] close(4 [pid 310] <... rmdir resumed>) = 0 executing program [pid 308] <... close resumed>) = 0 [pid 310] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] rmdir("./29/file0" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rmdir resumed>) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 611 [pid 310] newfstatat(AT_FDCWD, "./28/binderfs" [pid 308] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 611] set_robust_list(0x5555866cd6a0, 24 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./28", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 611] <... set_robust_list resumed>) = 0 [pid 310] unlink("./28/binderfs" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 611] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... unlink resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./29/binderfs" [pid 307] openat(AT_FDCWD, "./28", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 611] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] getdents64(3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... openat resumed>) = 3 [pid 611] chdir("./29" [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] unlink("./29/binderfs" [pid 307] fstat(3 [pid 611] <... chdir resumed>) = 0 [pid 310] close(3 [pid 308] <... unlink resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 611] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] <... close resumed>) = 0 [pid 308] getdents64(3 [pid 307] getdents64(3 [pid 611] <... prctl resumed>) = 0 [pid 310] rmdir("./28" [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 611] setpgid(0, 0 [pid 310] <... rmdir resumed>) = 0 [pid 308] close(3 [pid 307] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 611] <... setpgid resumed>) = 0 [pid 310] mkdir("./29", 0777 [pid 308] <... close resumed>) = 0 [pid 610] <... write resumed>) = 524288 [pid 310] <... mkdir resumed>) = 0 [pid 308] rmdir("./29" [pid 610] munmap(0x7f11e81cd000, 138412032 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] <... rmdir resumed>) = 0 [pid 610] <... munmap resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 308] mkdir("./30", 0777 [pid 610] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] ioctl(3, LOOP_CLR_FD [pid 308] <... mkdir resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 610] <... openat resumed>) = 4 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 610] ioctl(4, LOOP_SET_FD, 3 [pid 310] close(3 [pid 308] <... openat resumed>) = 3 [pid 610] <... ioctl resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 610] close(3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 610] <... close resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] close(3 [pid 610] close(4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... close resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 612 attached [pid 611] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 612] set_robust_list(0x5555866cd6a0, 24 [pid 611] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 612] <... set_robust_list resumed>) = 0 [pid 611] write(3, "1000", 4 [pid 307] newfstatat(AT_FDCWD, "./28/file0" [pid 612] rt_sigprocmask(SIG_SETMASK, [] [pid 611] <... write resumed>) = 4 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 29.694801][ T607] EXT4-fs (loop1): 1 truncate cleaned up [pid 612] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 611] close(3 [pid 307] umount2("./28/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 612] chdir("./29" [pid 611] <... close resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 612] <... chdir resumed>) = 0 [pid 611] symlink("/dev/binderfs", "./binderfs" [pid 307] openat(AT_FDCWD, "./28/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 612] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 611] <... symlink resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... openat resumed>) = 4 [pid 612] <... prctl resumed>) = 0 [pid 611] write(1, "executing program\n", 18 executing program [pid 307] fstat(4 [pid 612] setpgid(0, 0 [pid 611] <... write resumed>) = 18 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 612 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 612] <... setpgid resumed>) = 0 [pid 611] memfd_create("syzkaller", 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 307] getdents64(4 [pid 612] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 611] <... memfd_create resumed>) = 3 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 612] <... openat resumed>) = 3 [pid 611] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] getdents64(4 [pid 612] write(3, "1000", 4 [pid 611] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 612] <... write resumed>) = 4 [pid 611] 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"..., 524288 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 613 [pid 307] close(4 [pid 612] close(3 [pid 611] <... write resumed>) = 524288 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... close resumed>) = 0 [pid 612] <... close resumed>) = 0 [pid 611] munmap(0x7f11e81cd000, 138412032 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] rmdir("./28/file0"ci2-android-6-1/strace-static-x86_64: Process 613 attached [pid 612] symlink("/dev/binderfs", "./binderfs" [pid 610] <... close resumed>) = 0 [pid 613] set_robust_list(0x5555866cd6a0, 24 [pid 610] mkdir("./file0", 0777 [pid 613] <... set_robust_list resumed>) = 0 [pid 610] <... mkdir resumed>) = 0 [pid 613] rt_sigprocmask(SIG_SETMASK, [] [pid 610] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 613] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 613] chdir("./30") = 0 [pid 613] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 613] setpgid(0, 0) = 0 [pid 613] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 613] write(3, "1000", 4) = 4 [pid 613] close(3) = 0 [pid 613] symlink("/dev/binderfs", "./binderfs") = 0 [pid 613] write(1, "executing program\n", 18) = 18 [pid 613] memfd_create("syzkaller", 0 [pid 307] <... rmdir resumed>) = 0 [pid 613] <... memfd_create resumed>) = 3 [pid 307] umount2("./28/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 613] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 613] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] newfstatat(AT_FDCWD, "./28/binderfs" [pid 613] 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"..., 524288 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 611] <... munmap resumed>) = 0 executing program [pid 307] unlink("./28/binderfs" [pid 613] <... write resumed>) = 524288 [pid 612] <... symlink resumed>) = 0 [pid 611] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 307] <... unlink resumed>) = 0 [pid 613] munmap(0x7f11e81cd000, 138412032 [pid 611] <... openat resumed>) = 4 [pid 307] getdents64(3 [pid 611] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 611] <... ioctl resumed>) = 0 [pid 307] close(3 [pid 611] close(3 [pid 307] <... close resumed>) = 0 [pid 612] write(1, "executing program\n", 18 [pid 611] <... close resumed>) = 0 executing program [pid 307] rmdir("./28" [pid 612] <... write resumed>) = 18 [pid 611] close(4 [pid 307] <... rmdir resumed>) = 0 [pid 612] memfd_create("syzkaller", 0 [pid 611] <... close resumed>) = 0 [pid 307] mkdir("./29", 0777 [pid 612] <... memfd_create resumed>) = 3 [pid 611] mkdir("./file0", 0777 [pid 307] <... mkdir resumed>) = 0 [pid 612] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 611] <... mkdir resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 612] <... mmap resumed>) = 0x7f11e81cd000 [pid 611] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... openat resumed>) = 3 [pid 612] 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"..., 524288 [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] close(3) = 0 [pid 613] <... munmap resumed>) = 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=0x5555866cd690) = 616 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 613] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 613] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 613] close(3) = 0 [pid 613] close(4) = 0 [pid 613] mkdir("./file0", 0777) = 0 [pid 613] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 616 attached [pid 616] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 616] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 616] chdir("./29" [pid 612] <... write resumed>) = 524288 [pid 616] <... chdir resumed>) = 0 [pid 616] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 610] <... mount resumed>) = 0 [pid 616] <... prctl resumed>) = 0 [pid 610] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 610] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 616] setpgid(0, 0 [pid 610] <... openat resumed>) = 4 [pid 610] ioctl(4, LOOP_CLR_FD) = 0 [pid 610] close(4) = 0 [pid 616] <... setpgid resumed>) = 0 [pid 610] exit_group(0 [pid 616] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 612] munmap(0x7f11e81cd000, 138412032 [pid 610] <... exit_group resumed>) = ? [pid 616] <... openat resumed>) = 3 [pid 616] write(3, "1000", 4) = 4 [pid 616] close(3) = 0 [pid 616] symlink("/dev/binderfs", "./binderfs") = 0 [pid 616] write(1, "executing program\n", 18) = 18 executing program [pid 616] memfd_create("syzkaller", 0) = 3 [pid 616] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 613] <... mount resumed>) = 0 [pid 612] <... munmap resumed>) = 0 [pid 610] +++ exited with 0 +++ [pid 613] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 612] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=610, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [ 29.777477][ T610] EXT4-fs (loop3): orphan cleanup on readonly fs [ 29.788220][ T610] EXT4-fs (loop3): 1 truncate cleaned up [ 29.799204][ T611] EXT4-fs (loop0): orphan cleanup on readonly fs [ 29.812171][ T613] EXT4-fs (loop2): orphan cleanup on readonly fs [ 29.821190][ T613] EXT4-fs (loop2): 1 truncate cleaned up [pid 613] <... openat resumed>) = 3 [pid 612] <... openat resumed>) = 4 [pid 613] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 612] ioctl(4, LOOP_SET_FD, 3 [pid 611] <... mount resumed>) = 0 [pid 613] <... openat resumed>) = 4 [pid 612] <... ioctl resumed>) = 0 [pid 611] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 613] ioctl(4, LOOP_CLR_FD [pid 612] close(3 [pid 613] <... ioctl resumed>) = 0 [pid 612] <... close resumed>) = 0 [pid 309] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW [pid 613] close(4 [pid 612] close(4 [pid 611] <... openat resumed>) = 3 [pid 613] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 612] <... close resumed>) = 0 [pid 611] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 613] exit_group(0 [pid 612] mkdir("./file0", 0777 [pid 613] <... exit_group resumed>) = ? [pid 611] <... openat resumed>) = 4 [pid 309] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 616] 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"..., 524288 [pid 613] +++ exited with 0 +++ [pid 612] <... mkdir resumed>) = 0 [pid 611] ioctl(4, LOOP_CLR_FD [pid 309] <... openat resumed>) = 3 [pid 616] <... write resumed>) = 524288 [pid 612] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 611] <... ioctl resumed>) = 0 [pid 309] fstat(3 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=613, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 616] munmap(0x7f11e81cd000, 138412032 [pid 611] close(4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 616] <... munmap resumed>) = 0 [pid 611] <... close resumed>) = 0 [pid 616] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 309] getdents64(3 [pid 611] exit_group(0) = ? [pid 616] <... openat resumed>) = 4 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 611] +++ exited with 0 +++ [pid 616] ioctl(4, LOOP_SET_FD, 3 [pid 309] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=611, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 616] <... ioctl resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW [pid 616] close(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 616] <... close resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] openat(AT_FDCWD, "./29", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 616] close(4 [pid 309] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./29/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./29/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 616] <... close resumed>) = 0 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 616] mkdir("./file0", 0777 [pid 309] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rmdir("./29/file0" [pid 616] <... mkdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... rmdir resumed>) = 0 [pid 616] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] newfstatat(AT_FDCWD, "./29/file0" [pid 308] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] fstat(3 [pid 306] newfstatat(AT_FDCWD, "./29/binderfs" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] openat(AT_FDCWD, "./29/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] getdents64(3 [pid 306] unlink("./29/binderfs" [pid 309] <... openat resumed>) = 4 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... unlink resumed>) = 0 [pid 309] fstat(4 [pid 308] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./29" [pid 309] getdents64(4 [pid 308] <... umount2 resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./30", 0777 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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 [ 29.828150][ T611] EXT4-fs (loop0): 1 truncate cleaned up [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 620 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] getdents64(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] newfstatat(AT_FDCWD, "./30/file0" [pid 309] close(4 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... close resumed>) = 0 [pid 308] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] rmdir("./29/file0" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ci2-android-6-1/strace-static-x86_64: Process 620 attached [pid 309] <... rmdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] fstat(4 [pid 309] newfstatat(AT_FDCWD, "./29/binderfs" [pid 308] <... 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 308] getdents64(4 [pid 309] unlink("./29/binderfs" [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 620] set_robust_list(0x5555866cd6a0, 24 [pid 309] <... unlink resumed>) = 0 [pid 308] getdents64(4 [pid 309] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 309] close(3) = 0 [pid 308] <... close resumed>) = 0 [pid 309] rmdir("./29" [pid 308] rmdir("./30/file0" [pid 620] <... set_robust_list resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 620] rt_sigprocmask(SIG_SETMASK, [] [pid 309] mkdir("./30", 0777 [pid 308] <... rmdir resumed>) = 0 [pid 620] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 620] chdir("./30" [pid 309] <... mkdir resumed>) = 0 [pid 308] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 3 [pid 308] newfstatat(AT_FDCWD, "./30/binderfs" [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] close(3 [pid 308] unlink("./30/binderfs" [pid 309] <... close resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... unlink resumed>) = 0 [pid 620] <... chdir resumed>) = 0 [pid 620] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 620] setpgid(0, 0) = 0 [pid 308] getdents64(3 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] close(3 [pid 620] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 308] <... close resumed>) = 0 [pid 620] write(3, "1000", 4 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 621 [pid 308] rmdir("./30" [pid 620] <... write resumed>) = 4 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 620] close(3 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 308] mkdir("./31", 0777 [pid 620] <... close resumed>) = 0 [pid 620] symlink("/dev/binderfs", "./binderfs" [pid 308] <... mkdir resumed>) = 0 [pid 620] <... symlink resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 620] write(1, "executing program\n", 18 [pid 308] <... openat resumed>) = 3 executing program [pid 620] <... write resumed>) = 18 [pid 308] ioctl(3, LOOP_CLR_FDci2-android-6-1/strace-static-x86_64: Process 621 attached [pid 620] memfd_create("syzkaller", 0 [pid 308] <... ioctl resumed>) = 0 [pid 620] <... memfd_create resumed>) = 3 [pid 308] close(3 [pid 620] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 621] set_robust_list(0x5555866cd6a0, 24 [pid 620] 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"..., 524288 [pid 308] <... close resumed>) = 0 [pid 621] <... set_robust_list 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 621] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 622 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 621] chdir("./30" [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 621] <... chdir resumed>) = 0 [pid 621] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 621] setpgid(0, 0) = 0 [pid 620] <... write resumed>) = 524288 [pid 621] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 620] munmap(0x7f11e81cd000, 138412032 [pid 621] <... openat resumed>) = 3 [pid 620] <... munmap resumed>) = 0 [pid 621] write(3, "1000", 4 [pid 620] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 621] <... write resumed>) = 4 ci2-android-6-1/strace-static-x86_64: Process 622 attached [pid 621] close(3 [pid 622] set_robust_list(0x5555866cd6a0, 24 [pid 621] <... close resumed>) = 0 [pid 622] <... set_robust_list resumed>) = 0 [pid 621] symlink("/dev/binderfs", "./binderfs" [pid 620] <... openat resumed>) = 4 [pid 621] <... symlink resumed>) = 0 [pid 622] rt_sigprocmask(SIG_SETMASK, [] [pid 621] write(1, "executing program\n", 18 [pid 622] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 621] <... write resumed>) = 18 executing program [pid 621] memfd_create("syzkaller", 0 [pid 622] chdir("./31" [pid 621] <... memfd_create resumed>) = 3 [pid 620] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 621] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 620] close(3) = 0 [pid 620] close(4) = 0 [pid 620] mkdir("./file0", 0777) = 0 [pid 620] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 612] <... mount resumed>) = 0 [pid 612] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 612] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 612] ioctl(4, LOOP_CLR_FD) = 0 [pid 612] close(4) = 0 [pid 621] <... mmap resumed>) = 0x7f11e81cd000 [pid 612] exit_group(0) = ? [pid 612] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=612, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 616] <... mount resumed>) = 0 [pid 616] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 621] 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"..., 524288 [pid 616] <... openat resumed>) = 3 [pid 622] <... chdir resumed>) = 0 [pid 616] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 616] ioctl(4, LOOP_CLR_FD) = 0 [pid 616] close(4) = 0 [pid 616] exit_group(0) = ? [pid 616] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=616, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 621] <... write resumed>) = 524288 [pid 622] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 622] setpgid(0, 0) = 0 [pid 622] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... restart_syscall resumed>) = 0 [pid 622] <... openat resumed>) = 3 [pid 310] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 622] write(3, "1000", 4 [pid 310] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 622] <... write resumed>) = 4 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 622] close(3) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./29/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./29", MNT_FORCE|UMOUNT_NOFOLLOW [pid 622] symlink("/dev/binderfs", "./binderfs" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./29", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 622] <... symlink resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 622] write(1, "executing program\n", 18 [pid 307] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW executing program [pid 621] munmap(0x7f11e81cd000, 138412032 [pid 622] <... write resumed>) = 18 [pid 621] <... munmap resumed>) = 0 [pid 310] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./29/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./29/file0") = 0 [pid 310] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./29/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./29/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 307] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rmdir("./29" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... rmdir resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./29/file0" [pid 310] mkdir("./30", 0777 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 307] umount2("./29/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./29/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 622] memfd_create("syzkaller", 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] getdents64(4 [pid 621] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] <... openat resumed>) = 3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] ioctl(3, LOOP_CLR_FD) = 0 [pid 307] getdents64(4 [pid 310] close(3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 622] <... memfd_create resumed>) = 3 [pid 621] <... openat resumed>) = 4 [pid 310] <... close resumed>) = 0 [pid 307] close(4 [pid 622] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 621] ioctl(4, LOOP_SET_FD, 3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... close resumed>) = 0 [pid 622] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] rmdir("./29/file0" [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... rmdir resumed>) = 0 [pid 307] umount2("./29/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 624 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 307] newfstatat(AT_FDCWD, "./29/binderfs" [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 622] 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"..., 524288 [pid 307] unlink("./29/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./29" [pid 621] <... ioctl resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 307] mkdir("./30", 0777) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 621] close(3 [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=0x5555866cd690) = 625 [pid 621] <... close resumed>) = 0 [pid 621] close(4 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 621] <... close resumed>) = 0 [pid 621] mkdir("./file0", 0777 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 621] <... mkdir resumed>) = 0 [ 29.869941][ T612] EXT4-fs (loop4): orphan cleanup on readonly fs [ 29.876496][ T616] EXT4-fs (loop1): orphan cleanup on readonly fs [ 29.892826][ T616] EXT4-fs (loop1): 1 truncate cleaned up [ 29.899208][ T612] EXT4-fs (loop4): 1 truncate cleaned up ci2-android-6-1/strace-static-x86_64: Process 624 attached ci2-android-6-1/strace-static-x86_64: Process 625 attached [pid 624] set_robust_list(0x5555866cd6a0, 24 [pid 625] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 624] <... set_robust_list resumed>) = 0 [pid 625] rt_sigprocmask(SIG_SETMASK, [] [pid 624] rt_sigprocmask(SIG_SETMASK, [] [pid 625] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 625] chdir("./30" [pid 624] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 624] chdir("./30" [pid 625] <... chdir resumed>) = 0 [pid 624] <... chdir resumed>) = 0 [pid 625] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 621] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 624] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 625] <... prctl resumed>) = 0 [pid 624] <... prctl resumed>) = 0 [pid 625] setpgid(0, 0 [pid 624] setpgid(0, 0 [pid 625] <... setpgid resumed>) = 0 [pid 624] <... setpgid resumed>) = 0 [pid 625] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 624] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 625] <... openat resumed>) = 3 [pid 624] <... openat resumed>) = 3 [pid 625] write(3, "1000", 4 [pid 624] write(3, "1000", 4 [pid 625] <... write resumed>) = 4 [pid 624] <... write resumed>) = 4 [pid 625] close(3 [pid 624] close(3 [pid 625] <... close resumed>) = 0 [pid 624] <... close resumed>) = 0 [pid 625] symlink("/dev/binderfs", "./binderfs" [pid 624] symlink("/dev/binderfs", "./binderfs" [pid 625] <... symlink resumed>) = 0 [pid 624] <... symlink resumed>) = 0 [pid 625] write(1, "executing program\n", 18 [pid 624] write(1, "executing program\n", 18) = 18 [pid 625] <... write resumed>) = 18 [pid 624] memfd_create("syzkaller", 0 executing program executing program [pid 625] memfd_create("syzkaller", 0) = 3 [pid 624] <... memfd_create resumed>) = 3 [pid 624] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 625] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 624] <... mmap resumed>) = 0x7f11e81cd000 [pid 622] <... write resumed>) = 524288 [pid 625] <... mmap resumed>) = 0x7f11e81cd000 [pid 622] munmap(0x7f11e81cd000, 138412032 [pid 624] 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"..., 524288 [pid 625] 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"..., 524288 [pid 622] <... munmap resumed>) = 0 [pid 622] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 624] <... write resumed>) = 524288 [pid 625] <... write resumed>) = 524288 [pid 625] munmap(0x7f11e81cd000, 138412032) = 0 [pid 624] munmap(0x7f11e81cd000, 138412032) = 0 [pid 624] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 622] <... openat resumed>) = 4 [pid 625] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 624] <... openat resumed>) = 4 [pid 625] <... openat resumed>) = 4 [pid 624] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 625] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 625] close(3) = 0 [pid 625] close(4 [pid 624] close(3 [pid 625] <... close resumed>) = 0 [pid 624] <... close resumed>) = 0 [pid 624] close(4) = 0 [pid 625] mkdir("./file0", 0777) = 0 [pid 624] mkdir("./file0", 0777) = 0 [pid 624] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 625] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 620] <... mount resumed>) = 0 [pid 622] ioctl(4, LOOP_SET_FD, 3 [pid 620] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 620] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 620] ioctl(4, LOOP_CLR_FD) = 0 [pid 620] close(4) = 0 [pid 620] exit_group(0) = ? [pid 620] +++ exited with 0 +++ [pid 622] <... ioctl resumed>) = 0 [pid 622] close(3) = 0 [pid 622] close(4 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=620, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 622] <... close resumed>) = 0 [pid 622] mkdir("./file0", 0777 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 622] <... mkdir resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [ 29.945814][ T620] EXT4-fs (loop0): orphan cleanup on readonly fs [ 29.968821][ T621] EXT4-fs (loop3): orphan cleanup on readonly fs [ 29.978442][ T620] EXT4-fs (loop0): 1 truncate cleaned up [ 29.989718][ T625] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 306] getdents64(3 [pid 622] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 306] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./30/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./30/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./30/file0") = 0 [pid 306] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./30/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./30/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./30") = 0 [pid 306] mkdir("./31", 0777) = 0 [pid 625] <... mount resumed>) = 0 [pid 625] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 625] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 621] <... mount resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 621] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 306] <... openat resumed>) = 3 [pid 621] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] ioctl(3, LOOP_CLR_FD [pid 621] <... openat resumed>) = 4 [pid 621] ioctl(4, LOOP_CLR_FD [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 621] <... ioctl resumed>) = 0 [pid 306] close(3 [pid 621] close(4) = 0 [pid 306] <... close resumed>) = 0 [pid 621] exit_group(0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 621] <... exit_group resumed>) = ? [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 621] +++ exited with 0 +++ [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 625] ioctl(4, LOOP_CLR_FD) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=621, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [ 29.991873][ T624] EXT4-fs (loop4): orphan cleanup on readonly fs [ 30.004602][ T625] EXT4-fs (loop1): 1 truncate cleaned up [ 30.011630][ T622] EXT4-fs (loop2): orphan cleanup on readonly fs [ 30.021570][ T621] EXT4-fs (loop3): 1 truncate cleaned up [ 30.038516][ T624] EXT4-fs (loop4): 1 truncate cleaned up [pid 625] close(4) = 0 [pid 625] exit_group(0) = ? [pid 622] <... mount resumed>) = 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 630 [pid 622] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... restart_syscall resumed>) = 0 [pid 622] <... openat resumed>) = 3 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 622] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 622] ioctl(4, LOOP_CLR_FD [pid 309] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 622] <... ioctl resumed>) = 0 [pid 622] close(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 622] <... close resumed>) = 0 [pid 622] exit_group(0 [pid 309] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 622] <... exit_group resumed>) = ? [pid 309] <... openat resumed>) = 3 ci2-android-6-1/strace-static-x86_64: Process 630 attached [pid 624] <... mount resumed>) = 0 [pid 309] fstat(3 [pid 624] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 630] set_robust_list(0x5555866cd6a0, 24 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 630] <... set_robust_list resumed>) = 0 [pid 624] <... openat resumed>) = 3 [pid 630] rt_sigprocmask(SIG_SETMASK, [] [pid 624] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] getdents64(3 [pid 630] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 624] <... openat resumed>) = 4 [pid 630] chdir("./31" [pid 624] ioctl(4, LOOP_CLR_FD [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 630] <... chdir resumed>) = 0 [pid 624] <... ioctl resumed>) = 0 [pid 622] +++ exited with 0 +++ [pid 309] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 630] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 625] +++ exited with 0 +++ [pid 624] close(4 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=625, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 624] <... close resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=622, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 624] exit_group(0 [pid 630] <... prctl resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 624] <... exit_group resumed>) = ? [pid 308] <... restart_syscall resumed>) = 0 [pid 624] +++ exited with 0 +++ [pid 630] setpgid(0, 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=624, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 630] <... setpgid resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 630] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW [pid 630] <... openat resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 630] write(3, "1000", 4 [pid 309] newfstatat(AT_FDCWD, "./30/file0" [pid 630] <... write resumed>) = 4 [pid 308] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 630] close(3 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... openat resumed>) = 3 [pid 630] <... close resumed>) = 0 [pid 309] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 630] symlink("/dev/binderfs", "./binderfs" [pid 308] fstat(3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 630] <... symlink resumed>) = 0 [pid 309] openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 630] write(1, "executing program\n", 18 [pid 309] <... openat resumed>) = 4 [pid 630] <... write resumed>) = 18 [pid 309] fstat(4 executing program [pid 308] getdents64(3 [pid 630] memfd_create("syzkaller", 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 630] <... memfd_create resumed>) = 3 [pid 309] getdents64(4 [pid 630] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... restart_syscall resumed>) = 0 [pid 630] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./30", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] umount2("./30", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] fstat(3 [pid 307] openat(AT_FDCWD, "./30", 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>) = 3 [pid 310] getdents64(3 [pid 307] fstat(3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(3 [pid 630] 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"..., 524288 [pid 310] <... umount2 resumed>) = 0 [pid 309] getdents64(4 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 630] <... write resumed>) = 524288 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./30/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] newfstatat(AT_FDCWD, "./30/file0" [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] close(4 [pid 307] umount2("./30/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(4 [pid 309] <... close resumed>) = 0 [pid 630] munmap(0x7f11e81cd000, 138412032 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] rmdir("./30/file0" [pid 308] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] close(4) = 0 [pid 307] openat(AT_FDCWD, "./30/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] rmdir("./30/file0" [pid 309] <... rmdir resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 307] <... openat resumed>) = 4 [pid 630] <... munmap resumed>) = 0 [pid 310] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 630] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] fstat(4 [pid 310] newfstatat(AT_FDCWD, "./30/binderfs" [pid 309] newfstatat(AT_FDCWD, "./30/binderfs" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 630] <... openat resumed>) = 4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 630] ioctl(4, LOOP_SET_FD, 3 [pid 310] unlink("./30/binderfs" [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] newfstatat(AT_FDCWD, "./31/file0" [pid 307] getdents64(4 [pid 310] <... unlink resumed>) = 0 [pid 309] unlink("./30/binderfs" [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 630] <... ioctl resumed>) = 0 [pid 310] getdents64(3 [pid 309] <... unlink resumed>) = 0 [pid 308] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(4 [pid 630] close(3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] getdents64(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 630] <... close resumed>) = 0 [pid 310] close(3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] openat(AT_FDCWD, "./31/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] close(4 [pid 630] close(4 [pid 310] <... close resumed>) = 0 [pid 309] close(3 [pid 308] <... openat resumed>) = 4 [pid 307] <... close resumed>) = 0 [pid 630] <... close resumed>) = 0 [pid 310] rmdir("./30" [pid 309] <... close resumed>) = 0 [pid 308] fstat(4 [pid 307] rmdir("./30/file0" [pid 630] mkdir("./file0", 0777 [pid 310] <... rmdir resumed>) = 0 [pid 309] rmdir("./30" [pid 307] <... rmdir resumed>) = 0 [pid 310] mkdir("./31", 0777 [pid 307] umount2("./30/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [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, "./30/binderfs" [pid 310] <... openat resumed>) = 3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] <... rmdir resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] unlink("./30/binderfs" [pid 630] <... mkdir resumed>) = 0 [pid 310] <... ioctl resumed>) = 0 [pid 309] mkdir("./31", 0777 [pid 308] getdents64(4 [pid 307] <... unlink resumed>) = 0 [pid 630] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] close(3 [pid 307] getdents64(3 [pid 310] <... close resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] getdents64(4 [pid 307] close(3 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... openat resumed>) = 3 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... close resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] close(4 [pid 307] rmdir("./30" [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... close resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 632 [pid 309] close(3 [pid 308] rmdir("./31/file0" [pid 307] mkdir("./31", 0777 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... close resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... openat resumed>) = 3 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] newfstatat(AT_FDCWD, "./31/binderfs" [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 30.046661][ T622] EXT4-fs (loop2): 1 truncate cleaned up [pid 307] close(3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... close resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 633 [pid 308] unlink("./31/binderfs" [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... unlink resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 634 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 632 attached [pid 632] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 632] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 632] chdir("./31") = 0 [pid 632] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 632] setpgid(0, 0) = 0 [pid 632] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] close(3) = 0 [pid 308] rmdir("./31" [pid 632] <... openat resumed>) = 3 [pid 308] <... rmdir resumed>) = 0 [pid 308] mkdir("./32", 0777 [pid 632] write(3, "1000", 4) = 4 ci2-android-6-1/strace-static-x86_64: Process 634 attached [pid 632] close(3) = 0 [pid 634] set_robust_list(0x5555866cd6a0, 24 [pid 308] <... mkdir resumed>) = 0 [pid 632] symlink("/dev/binderfs", "./binderfs" [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 634] <... set_robust_list resumed>) = 0 [pid 632] <... symlink resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 634] rt_sigprocmask(SIG_SETMASK, [] [pid 308] ioctl(3, LOOP_CLR_FD [pid 634] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 632] write(1, "executing program\n", 18 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) ci2-android-6-1/strace-static-x86_64: Process 633 attached executing program [pid 308] close(3 [pid 634] chdir("./31" [pid 633] set_robust_list(0x5555866cd6a0, 24 [pid 632] <... write resumed>) = 18 [pid 308] <... close resumed>) = 0 [pid 634] <... chdir resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 633] <... set_robust_list resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 634] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 632] memfd_create("syzkaller", 0 [pid 634] <... prctl resumed>) = 0 [pid 632] <... memfd_create resumed>) = 3 [pid 634] setpgid(0, 0 [pid 633] rt_sigprocmask(SIG_SETMASK, [] [pid 632] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 634] <... setpgid resumed>) = 0 [pid 633] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 632] <... mmap resumed>) = 0x7f11e81cd000 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 635 [pid 634] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 633] chdir("./31" [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 634] <... openat resumed>) = 3 [pid 633] <... chdir resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 634] write(3, "1000", 4) = 4 [pid 633] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 632] 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"..., 524288 [pid 634] close(3 [pid 633] <... prctl resumed>) = 0 [pid 633] setpgid(0, 0 [pid 634] <... close resumed>) = 0 [pid 633] <... setpgid resumed>) = 0 [pid 633] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ci2-android-6-1/strace-static-x86_64: Process 635 attached [pid 634] symlink("/dev/binderfs", "./binderfs" [pid 633] write(3, "1000", 4 [pid 630] <... mount resumed>) = 0 [pid 635] set_robust_list(0x5555866cd6a0, 24 [pid 634] <... symlink resumed>) = 0 [pid 633] <... write resumed>) = 4 [pid 630] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 635] <... set_robust_list resumed>) = 0 [pid 634] write(1, "executing program\n", 18 executing program [pid 633] close(3 [pid 632] <... write resumed>) = 524288 [pid 630] <... openat resumed>) = 3 [pid 635] rt_sigprocmask(SIG_SETMASK, [] [pid 634] <... write resumed>) = 18 [pid 633] <... close resumed>) = 0 [pid 635] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 634] memfd_create("syzkaller", 0 [pid 633] symlink("/dev/binderfs", "./binderfs" [pid 632] munmap(0x7f11e81cd000, 138412032 [pid 630] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 635] chdir("./32" [pid 634] <... memfd_create resumed>) = 3 [pid 633] <... symlink resumed>) = 0 [pid 632] <... munmap resumed>) = 0 [pid 630] <... openat resumed>) = 4 [pid 635] <... chdir resumed>) = 0 [pid 634] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 633] write(1, "executing program\n", 18 [pid 632] openat(AT_FDCWD, "/dev/loop4", O_RDWR executing program [pid 630] ioctl(4, LOOP_CLR_FD [pid 635] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 634] <... mmap resumed>) = 0x7f11e81cd000 [pid 633] <... write resumed>) = 18 [pid 632] <... openat resumed>) = 4 [pid 630] <... ioctl resumed>) = 0 [pid 635] <... prctl resumed>) = 0 [pid 632] ioctl(4, LOOP_SET_FD, 3 [pid 630] close(4 [pid 635] setpgid(0, 0 [pid 634] 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"..., 524288 [pid 633] memfd_create("syzkaller", 0 [pid 632] <... ioctl resumed>) = 0 [pid 630] <... close resumed>) = 0 [pid 635] <... setpgid resumed>) = 0 [pid 634] <... write resumed>) = 524288 [pid 633] <... memfd_create resumed>) = 3 [pid 632] close(3 [pid 630] exit_group(0 [pid 635] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 633] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 632] <... close resumed>) = 0 [pid 630] <... exit_group resumed>) = ? [pid 635] <... openat resumed>) = 3 [pid 633] <... mmap resumed>) = 0x7f11e81cd000 [pid 632] close(4 [pid 635] write(3, "1000", 4 [pid 633] 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"..., 524288 [pid 630] +++ exited with 0 +++ [pid 632] <... close resumed>) = 0 [pid 635] <... write resumed>) = 4 [pid 632] mkdir("./file0", 0777 [pid 635] close(3 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=630, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 635] <... close resumed>) = 0 [pid 634] munmap(0x7f11e81cd000, 138412032 [pid 633] <... write resumed>) = 524288 [pid 632] <... mkdir resumed>) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 635] symlink("/dev/binderfs", "./binderfs" [pid 634] <... munmap resumed>) = 0 [pid 633] munmap(0x7f11e81cd000, 138412032 [pid 632] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... restart_syscall resumed>) = 0 [pid 635] <... symlink resumed>) = 0 [pid 634] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 633] <... munmap resumed>) = 0 [pid 635] write(1, "executing program\n", 18 [pid 634] <... openat resumed>) = 4 executing program [pid 633] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 635] <... write resumed>) = 18 [pid 634] ioctl(4, LOOP_SET_FD, 3 [pid 633] <... openat resumed>) = 4 [pid 635] memfd_create("syzkaller", 0 [pid 634] <... ioctl resumed>) = 0 [pid 633] ioctl(4, LOOP_SET_FD, 3 [pid 634] close(3 [pid 633] <... ioctl resumed>) = 0 [pid 634] <... close resumed>) = 0 [pid 634] close(4 [pid 633] close(3 [pid 634] <... close resumed>) = 0 [pid 633] <... close resumed>) = 0 [ 30.112256][ T630] EXT4-fs (loop0): orphan cleanup on readonly fs [ 30.125081][ T630] EXT4-fs (loop0): 1 truncate cleaned up [pid 634] mkdir("./file0", 0777 [pid 633] close(4 [pid 635] <... memfd_create resumed>) = 3 [pid 634] <... mkdir resumed>) = 0 [pid 633] <... close resumed>) = 0 [pid 306] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW [pid 635] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 634] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 635] <... mmap resumed>) = 0x7f11e81cd000 [pid 633] mkdir("./file0", 0777 [pid 306] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 635] 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"..., 524288 [pid 306] <... openat resumed>) = 3 [pid 635] <... write resumed>) = 524288 [pid 633] <... mkdir resumed>) = 0 [pid 306] fstat(3 [pid 635] munmap(0x7f11e81cd000, 138412032 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 635] <... munmap resumed>) = 0 [pid 306] getdents64(3 [pid 635] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 635] <... openat resumed>) = 4 [pid 306] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 635] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 633] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 635] close(3) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 635] close(4) = 0 [pid 635] mkdir("./file0", 0777) = 0 [pid 306] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 635] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 634] <... mount resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./31/file0" [pid 634] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 634] <... openat resumed>) = 3 [pid 306] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 634] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 634] <... openat resumed>) = 4 [pid 306] openat(AT_FDCWD, "./31/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 634] ioctl(4, LOOP_CLR_FD) = 0 [pid 306] <... openat resumed>) = 4 [pid 634] close(4 [ 30.158265][ T632] EXT4-fs (loop4): orphan cleanup on readonly fs [ 30.169823][ T634] EXT4-fs (loop1): orphan cleanup on readonly fs [ 30.188175][ T634] EXT4-fs (loop1): 1 truncate cleaned up [ 30.194366][ T632] EXT4-fs (loop4): 1 truncate cleaned up [pid 306] fstat(4 [pid 634] <... close resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 634] exit_group(0 [pid 306] getdents64(4 [pid 634] <... exit_group resumed>) = ? [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 634] +++ exited with 0 +++ [pid 632] <... mount resumed>) = 0 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=634, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 307] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./31", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 632] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] close(4) = 0 [pid 306] rmdir("./31/file0" [pid 632] <... openat resumed>) = 3 [pid 306] <... rmdir resumed>) = 0 [pid 306] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 632] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 632] ioctl(4, LOOP_CLR_FD) = 0 [pid 632] close(4) = 0 [pid 632] exit_group(0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./31/binderfs" [pid 633] <... mount resumed>) = 0 [pid 633] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./31/binderfs" [pid 633] <... openat resumed>) = 3 [pid 632] <... exit_group resumed>) = ? [pid 633] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3 [pid 633] <... openat resumed>) = 4 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 633] ioctl(4, LOOP_CLR_FD [pid 306] close(3 [pid 633] <... ioctl resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./31" [pid 633] close(4 [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./32", 0777) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 632] +++ exited with 0 +++ [pid 633] <... close resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=632, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [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, child_tidptr=0x5555866cd690) = 640 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./31", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 640 attached [pid 633] exit_group(0 [pid 307] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 640] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 640] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 640] chdir("./32") = 0 [pid 640] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 640] setpgid(0, 0) = 0 [pid 640] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 633] <... exit_group resumed>) = ? [pid 307] newfstatat(AT_FDCWD, "./31/file0" [pid 640] <... openat resumed>) = 3 [pid 633] +++ exited with 0 +++ [pid 310] <... umount2 resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./31/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./31/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./31/file0") = 0 [pid 310] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./31/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=633, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./31") = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 640] write(3, "1000", 4 [pid 310] mkdir("./32", 0777 [pid 307] openat(AT_FDCWD, "./31/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 640] <... write resumed>) = 4 [pid 309] umount2("./31", MNT_FORCE|UMOUNT_NOFOLLOW [pid 640] close(3 [pid 307] <... openat resumed>) = 4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] fstat(4 [pid 640] <... close resumed>) = 0 [pid 309] openat(AT_FDCWD, "./31", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] getdents64(4 [pid 640] symlink("/dev/binderfs", "./binderfs" [pid 309] <... openat resumed>) = 3 [pid 310] <... openat resumed>) = 3 [pid 309] fstat(3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4 [pid 640] <... symlink resumed>) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] getdents64(3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 640] write(1, "executing program\n", 18 [pid 307] close(4 [pid 309] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 executing program [pid 640] <... write resumed>) = 18 [pid 310] close(3 [pid 307] rmdir("./31/file0" [pid 310] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 640] memfd_create("syzkaller", 0 [pid 309] <... umount2 resumed>) = 0 [pid 307] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 641 [pid 309] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] newfstatat(AT_FDCWD, "./31/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./31/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./31/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./31/file0" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... rmdir resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./31/binderfs" [pid 309] umount2("./31/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 640] <... memfd_create resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] newfstatat(AT_FDCWD, "./31/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./31/binderfs" [pid 309] unlink("./31/binderfs" [pid 640] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... unlink resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 640] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] getdents64(3 [pid 307] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./31" [pid 307] close(3 [pid 309] <... rmdir resumed>) = 0 [pid 309] mkdir("./32", 0777 [pid 307] <... close resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 307] rmdir("./31" [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] <... rmdir resumed>) = 0 [pid 309] close(3) = 0 [pid 307] mkdir("./32", 0777 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... mkdir resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 642 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... openat resumed>) = 3 ci2-android-6-1/strace-static-x86_64: Process 641 attached [pid 307] ioctl(3, LOOP_CLR_FD [pid 641] set_robust_list(0x5555866cd6a0, 24 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 641] <... set_robust_list resumed>) = 0 [pid 307] close(3 [pid 641] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... close resumed>) = 0 [pid 641] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 641] chdir("./32" [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 641] <... chdir resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 641] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 641] setpgid(0, 0) = 0 [pid 641] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 643 [pid 641] <... openat resumed>) = 3 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 641] write(3, "1000", 4 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 641] <... write resumed>) = 4 [pid 641] close(3) = 0 [pid 641] symlink("/dev/binderfs", "./binderfs") = 0 [pid 641] write(1, "executing program\n", 18) = 18 [pid 640] 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"..., 524288 executing program [pid 641] memfd_create("syzkaller", 0) = 3 [pid 641] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 635] <... mount resumed>) = 0 [pid 640] <... write resumed>) = 524288 [pid 635] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 635] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 640] munmap(0x7f11e81cd000, 138412032ci2-android-6-1/strace-static-x86_64: Process 643 attached ci2-android-6-1/strace-static-x86_64: Process 642 attached [pid 635] <... openat resumed>) = 4 [pid 643] set_robust_list(0x5555866cd6a0, 24 [pid 642] set_robust_list(0x5555866cd6a0, 24 [pid 640] <... munmap resumed>) = 0 [pid 635] ioctl(4, LOOP_CLR_FD [pid 643] <... set_robust_list resumed>) = 0 [pid 642] <... set_robust_list resumed>) = 0 [pid 641] 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"..., 524288 [pid 640] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 635] <... ioctl resumed>) = 0 [pid 643] rt_sigprocmask(SIG_SETMASK, [] [pid 642] rt_sigprocmask(SIG_SETMASK, [] [pid 635] close(4 [pid 643] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 642] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 640] <... openat resumed>) = 4 [pid 635] <... close resumed>) = 0 [pid 642] chdir("./32" [pid 635] exit_group(0 [pid 642] <... chdir resumed>) = 0 [pid 635] <... exit_group resumed>) = ? [pid 642] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 635] +++ exited with 0 +++ [pid 642] <... prctl resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=635, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 642] setpgid(0, 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 642] <... setpgid resumed>) = 0 [pid 642] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 641] <... write resumed>) = 524288 [pid 640] ioctl(4, LOOP_SET_FD, 3 [pid 643] chdir("./32" [pid 642] <... openat resumed>) = 3 [pid 642] write(3, "1000", 4) = 4 [pid 642] close(3) = 0 [pid 642] symlink("/dev/binderfs", "./binderfs") = 0 [pid 642] write(1, "executing program\n", 18) = 18 [pid 642] memfd_create("syzkaller", 0) = 3 [pid 642] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 643] <... chdir resumed>) = 0 [pid 642] 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"..., 524288 [pid 641] munmap(0x7f11e81cd000, 138412032 [pid 640] <... ioctl resumed>) = 0 [pid 643] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 642] <... write resumed>) = 524288 [pid 641] <... munmap resumed>) = 0 [pid 640] close(3 [pid 643] <... prctl resumed>) = 0 [pid 641] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 640] <... close resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 643] setpgid(0, 0 [pid 641] <... openat resumed>) = 4 [pid 640] close(4 [pid 643] <... setpgid resumed>) = 0 [pid 641] ioctl(4, LOOP_SET_FD, 3 [pid 640] <... close resumed>) = 0 [pid 643] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 642] munmap(0x7f11e81cd000, 138412032 [pid 640] mkdir("./file0", 0777 [pid 642] <... munmap resumed>) = 0 [pid 308] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 642] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 642] <... openat resumed>) = 4 [pid 640] <... mkdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 643] <... openat resumed>) = 3 [pid 642] ioctl(4, LOOP_SET_FD, 3 [pid 640] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... openat resumed>) = 3 [pid 643] write(3, "1000", 4 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 643] <... write resumed>) = 4 [pid 643] close(3 [pid 641] <... ioctl resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 643] <... close resumed>) = 0 [pid 643] symlink("/dev/binderfs", "./binderfs" [pid 641] close(3 [pid 643] <... symlink resumed>) = 0 [pid 308] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW executing program [pid 643] write(1, "executing program\n", 18 [pid 641] <... close resumed>) = 0 [pid 643] <... write resumed>) = 18 [pid 643] memfd_create("syzkaller", 0 [pid 641] close(4 [pid 643] <... memfd_create resumed>) = 3 [pid 641] <... close resumed>) = 0 [pid 643] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 641] mkdir("./file0", 0777 [pid 643] <... mmap resumed>) = 0x7f11e81cd000 [pid 641] <... mkdir resumed>) = 0 [pid 643] 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"..., 524288) = 524288 [ 30.203191][ T633] EXT4-fs (loop3): orphan cleanup on readonly fs [ 30.211954][ T635] EXT4-fs (loop2): orphan cleanup on readonly fs [ 30.220074][ T633] EXT4-fs (loop3): 1 truncate cleaned up [ 30.237495][ T635] EXT4-fs (loop2): 1 truncate cleaned up [pid 641] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 643] munmap(0x7f11e81cd000, 138412032) = 0 [pid 642] <... ioctl resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 643] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 642] close(3 [pid 308] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 643] <... openat resumed>) = 4 [pid 642] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 643] ioctl(4, LOOP_SET_FD, 3 [pid 642] close(4 [pid 308] newfstatat(AT_FDCWD, "./32/file0" [pid 643] <... ioctl resumed>) = 0 [pid 643] close(3) = 0 [pid 643] close(4) = 0 [pid 643] mkdir("./file0", 0777) = 0 [pid 643] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 640] <... mount resumed>) = 0 [pid 640] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 640] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 640] ioctl(4, LOOP_CLR_FD) = 0 [pid 640] close(4) = 0 [pid 640] exit_group(0) = ? [pid 640] +++ exited with 0 +++ [pid 308] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=640, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 642] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 642] mkdir("./file0", 0777 [pid 308] openat(AT_FDCWD, "./32/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 642] <... mkdir resumed>) = 0 [pid 308] getdents64(4 [pid 306] <... restart_syscall resumed>) = 0 [pid 642] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 306] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] rmdir("./32/file0" [pid 306] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... rmdir resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 308] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] fstat(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] newfstatat(AT_FDCWD, "./32/binderfs" [pid 306] getdents64(3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./32/binderfs" [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... unlink resumed>) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./32") = 0 [pid 308] mkdir("./33", 0777) = 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 306] <... umount2 resumed>) = 0 [pid 308] close(3) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 30.290811][ T640] EXT4-fs (loop0): orphan cleanup on readonly fs [ 30.300193][ T640] EXT4-fs (loop0): 1 truncate cleaned up [ 30.316745][ T641] EXT4-fs (loop4): orphan cleanup on readonly fs [ 30.329020][ T641] EXT4-fs (loop4): 1 truncate cleaned up [pid 306] newfstatat(AT_FDCWD, "./32/file0" [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 648 attached [pid 641] <... mount resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 641] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 641] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 648] set_robust_list(0x5555866cd6a0, 24 [pid 641] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] openat(AT_FDCWD, "./32/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 648] <... set_robust_list resumed>) = 0 [pid 641] <... openat resumed>) = 4 [pid 306] <... openat resumed>) = 4 [pid 648] rt_sigprocmask(SIG_SETMASK, [] [pid 641] ioctl(4, LOOP_CLR_FD [pid 306] fstat(4 [pid 648] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 641] <... ioctl resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 648] chdir("./33" [pid 643] <... mount resumed>) = 0 [pid 641] close(4 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 648 [pid 306] getdents64(4 [pid 648] <... chdir resumed>) = 0 [pid 643] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 641] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 648] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 643] <... openat resumed>) = 3 [pid 641] exit_group(0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] getdents64(4 [pid 648] <... prctl resumed>) = 0 [pid 641] <... exit_group resumed>) = ? [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 648] setpgid(0, 0 [pid 641] +++ exited with 0 +++ [pid 306] close(4 [pid 648] <... setpgid resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 648] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] rmdir("./32/file0" [pid 648] <... openat resumed>) = 3 [pid 643] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 642] <... mount resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=641, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] <... rmdir resumed>) = 0 [pid 643] <... openat resumed>) = 4 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 648] write(3, "1000", 4 [pid 643] ioctl(4, LOOP_CLR_FD [pid 306] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 643] <... ioctl resumed>) = 0 [pid 643] close(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 648] <... write resumed>) = 4 [pid 643] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./32/binderfs" [pid 643] exit_group(0 [pid 648] close(3 [pid 643] <... exit_group resumed>) = ? [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 648] <... close resumed>) = 0 [pid 642] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] unlink("./32/binderfs" [pid 648] symlink("/dev/binderfs", "./binderfs" [pid 306] <... unlink resumed>) = 0 [pid 643] +++ exited with 0 +++ [pid 642] <... openat resumed>) = 3 [pid 306] getdents64(3 [pid 648] <... symlink resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=643, 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] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 642] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 648] write(1, "executing program\n", 18 [pid 306] close(3 [pid 648] <... write resumed>) = 18 [pid 642] <... openat resumed>) = 4 [pid 306] <... close resumed>) = 0 [pid 642] ioctl(4, LOOP_CLR_FD [pid 306] rmdir("./32" [pid 642] <... ioctl resumed>) = 0 [pid 642] close(4) = 0 [pid 642] exit_group(0) = ? executing program [pid 648] memfd_create("syzkaller", 0 [pid 306] <... rmdir resumed>) = 0 [pid 648] <... memfd_create resumed>) = 3 [pid 306] mkdir("./33", 0777 [pid 648] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 642] +++ exited with 0 +++ [pid 310] <... restart_syscall resumed>) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=642, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] <... mkdir resumed>) = 0 [pid 648] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 3 [pid 309] openat(AT_FDCWD, "./32", 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 310] getdents64(3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] getdents64(3 [pid 310] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 648] 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"..., 524288 [pid 306] <... openat resumed>) = 3 [pid 648] <... write resumed>) = 524288 [pid 310] <... umount2 resumed>) = 0 [pid 309] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] ioctl(3, LOOP_CLR_FD [pid 648] munmap(0x7f11e81cd000, 138412032 [pid 310] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 648] <... munmap resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] close(3 [pid 648] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] newfstatat(AT_FDCWD, "./32/file0" [pid 306] <... close resumed>) = 0 [pid 648] <... openat resumed>) = 4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 648] ioctl(4, LOOP_SET_FD, 3 [pid 310] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] openat(AT_FDCWD, "./32/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 649 [pid 310] fstat(4 [pid 307] umount2("./32", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./32/file0") = 0 [pid 309] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./32", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] newfstatat(AT_FDCWD, "./32/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./32/binderfs") = 0 [pid 307] <... openat resumed>) = 3 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] fstat(3 [pid 310] close(3) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] rmdir("./32") = 0 [pid 307] getdents64(3 [pid 648] <... ioctl resumed>) = 0 [pid 310] mkdir("./33", 0777 [pid 648] close(3 [pid 310] <... mkdir resumed>) = 0 [pid 648] <... close resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 648] close(4 [pid 310] <... openat resumed>) = 3 [pid 648] <... close resumed>) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 648] mkdir("./file0", 0777 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 648] <... mkdir resumed>) = 0 [pid 310] close(3 [pid 648] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 650 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 649 attached [pid 649] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 649] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 649] chdir("./33") = 0 [pid 649] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 649] setpgid(0, 0) = 0 [pid 649] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 649] <... openat resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 649] write(3, "1000", 4) = 4 [pid 649] close(3) = 0 [pid 649] symlink("/dev/binderfs", "./binderfs" [pid 309] newfstatat(AT_FDCWD, "./32/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 649] <... symlink resumed>) = 0 [pid 649] write(1, "executing program\n", 18) = 18 executing program [pid 649] memfd_create("syzkaller", 0) = 3 [pid 649] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 649] 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"..., 524288 [pid 309] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 650 attached [pid 650] set_robust_list(0x5555866cd6a0, 24 [pid 309] openat(AT_FDCWD, "./32/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 650] <... set_robust_list resumed>) = 0 [pid 309] <... openat resumed>) = 4 [pid 307] newfstatat(AT_FDCWD, "./32/file0" [pid 650] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 650] chdir("./33") = 0 [pid 650] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 650] setpgid(0, 0) = 0 [pid 650] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 650] write(3, "1000", 4) = 4 [pid 650] close(3) = 0 [pid 650] symlink("/dev/binderfs", "./binderfs") = 0 [pid 650] write(1, "executing program\n", 18) = 18 [pid 650] memfd_create("syzkaller", 0) = 3 executing program [pid 650] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] fstat(4 [pid 307] <... 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 [ 30.340851][ T643] EXT4-fs (loop1): orphan cleanup on readonly fs [ 30.348296][ T642] EXT4-fs (loop3): orphan cleanup on readonly fs [ 30.349111][ T643] EXT4-fs (loop1): 1 truncate cleaned up [ 30.362563][ T642] EXT4-fs (loop3): 1 truncate cleaned up [pid 307] umount2("./32/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 650] 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"..., 524288 [pid 649] <... write resumed>) = 524288 [pid 309] getdents64(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 649] munmap(0x7f11e81cd000, 138412032 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] openat(AT_FDCWD, "./32/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 649] <... munmap resumed>) = 0 [pid 309] getdents64(4 [pid 307] <... openat resumed>) = 4 [pid 649] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] fstat(4 [pid 649] <... openat resumed>) = 4 [pid 309] close(4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 649] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... close resumed>) = 0 [pid 307] getdents64(4 [pid 649] <... ioctl resumed>) = 0 [pid 309] rmdir("./32/file0" [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 649] close(3 [pid 309] <... rmdir resumed>) = 0 [pid 307] getdents64(4 [pid 649] <... close resumed>) = 0 [pid 309] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 649] close(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] close(4 [pid 649] <... close resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./32/binderfs" [pid 307] <... close resumed>) = 0 [pid 650] <... write resumed>) = 524288 [pid 649] mkdir("./file0", 0777 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] rmdir("./32/file0" [pid 649] <... mkdir resumed>) = 0 [pid 309] unlink("./32/binderfs" [pid 307] <... rmdir resumed>) = 0 [pid 649] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... unlink resumed>) = 0 [pid 307] umount2("./32/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] newfstatat(AT_FDCWD, "./32/binderfs" [pid 309] close(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... close resumed>) = 0 [pid 307] unlink("./32/binderfs" [pid 309] rmdir("./32" [pid 307] <... unlink resumed>) = 0 [pid 650] munmap(0x7f11e81cd000, 138412032 [pid 309] <... rmdir resumed>) = 0 [pid 650] <... munmap resumed>) = 0 [pid 307] getdents64(3 [pid 650] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 650] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 650] close(3) = 0 [pid 650] close(4) = 0 [pid 309] mkdir("./33", 0777 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 650] mkdir("./file0", 0777) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 307] close(3 [pid 650] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [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] <... close resumed>) = 0 [pid 648] <... mount resumed>) = 0 [pid 309] close(3 [pid 307] rmdir("./32" [pid 309] <... close resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] mkdir("./33", 0777 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 653 [pid 307] ioctl(3, LOOP_CLR_FD [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [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=0x5555866cd690) = 655 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 648] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 648] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 648] ioctl(4, LOOP_CLR_FD) = 0 [pid 648] close(4) = 0 [pid 648] exit_group(0) = ? [pid 648] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=648, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 649] <... mount resumed>) = 0 [pid 649] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 649] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 649] ioctl(4, LOOP_CLR_FD) = 0 [pid 649] close(4) = 0 [pid 649] exit_group(0) = ? [pid 649] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=649, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 653 attached [pid 653] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 653] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 653] chdir("./33") = 0 [pid 653] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 653] setpgid(0, 0) = 0 [pid 653] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 653] write(3, "1000", 4) = 4 [pid 653] close(3) = 0 [pid 653] symlink("/dev/binderfs", "./binderfs") = 0 [pid 653] write(1, "executing program\n", 18) = 18 executing program [pid 653] memfd_create("syzkaller", 0) = 3 [pid 653] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./33", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 30.409227][ T648] EXT4-fs (loop2): orphan cleanup on readonly fs [ 30.425855][ T649] EXT4-fs (loop0): orphan cleanup on readonly fs [ 30.436578][ T648] EXT4-fs (loop2): 1 truncate cleaned up [ 30.450112][ T649] EXT4-fs (loop0): 1 truncate cleaned up [pid 308] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./33", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 655 attached [pid 655] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 655] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 655] chdir("./33") = 0 [pid 655] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 655] setpgid(0, 0) = 0 [pid 655] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 655] write(3, "1000", 4) = 4 [pid 655] close(3) = 0 [pid 655] symlink("/dev/binderfs", "./binderfs") = 0 [pid 655] write(1, "executing program\n", 18 [pid 308] <... umount2 resumed>) = 0 executing program [pid 655] <... write resumed>) = 18 [pid 653] 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"..., 524288 [pid 308] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./33/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./33/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./33/file0" [pid 306] <... umount2 resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 653] <... write resumed>) = 524288 [pid 308] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./33/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./33/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./33") = 0 [pid 306] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./33/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./33/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4 [pid 308] mkdir("./34", 0777 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 306] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./33/file0") = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 3 [pid 306] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] close(3 [pid 306] newfstatat(AT_FDCWD, "./33/binderfs" [pid 308] <... close resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] unlink("./33/binderfs" [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... unlink resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] getdents64(3 [pid 653] munmap(0x7f11e81cd000, 138412032 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 656 [pid 306] close(3 [pid 653] <... munmap resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] rmdir("./33" [pid 653] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./34", 0777) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 653] <... openat resumed>) = 4 [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, child_tidptr=0x5555866cd690) = 657 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 655] memfd_create("syzkaller", 0) = 3 [pid 655] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 653] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 653] close(3) = 0 [pid 653] close(4 [pid 650] <... mount resumed>) = 0 [pid 653] <... close resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 657 attached ci2-android-6-1/strace-static-x86_64: Process 656 attached [pid 655] 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"..., 524288 [pid 653] mkdir("./file0", 0777 [pid 650] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 653] <... mkdir resumed>) = 0 [pid 650] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 653] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 650] <... openat resumed>) = 4 [pid 650] ioctl(4, LOOP_CLR_FD) = 0 [pid 655] <... write resumed>) = 524288 [pid 650] close(4) = 0 [pid 650] exit_group(0) = ? [pid 650] +++ exited with 0 +++ [pid 657] set_robust_list(0x5555866cd6a0, 24 [pid 656] set_robust_list(0x5555866cd6a0, 24 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=650, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 657] <... set_robust_list resumed>) = 0 [pid 656] <... set_robust_list resumed>) = 0 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 657] rt_sigprocmask(SIG_SETMASK, [] [pid 656] rt_sigprocmask(SIG_SETMASK, [] [pid 657] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 656] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 657] chdir("./34" [pid 656] chdir("./34" [pid 657] <... chdir resumed>) = 0 [pid 656] <... chdir resumed>) = 0 [pid 657] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 656] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 657] <... prctl resumed>) = 0 [pid 656] <... prctl resumed>) = 0 [pid 657] setpgid(0, 0 [ 30.466896][ T650] EXT4-fs (loop4): orphan cleanup on readonly fs [ 30.496341][ T650] EXT4-fs (loop4): 1 truncate cleaned up [pid 656] setpgid(0, 0 [pid 657] <... setpgid resumed>) = 0 [pid 656] <... setpgid resumed>) = 0 [pid 657] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 656] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 657] <... openat resumed>) = 3 [pid 656] <... openat resumed>) = 3 [pid 657] write(3, "1000", 4 [pid 656] write(3, "1000", 4 [pid 657] <... write resumed>) = 4 [pid 656] <... write resumed>) = 4 [pid 310] <... restart_syscall resumed>) = 0 [pid 657] close(3 [pid 656] close(3 [pid 655] munmap(0x7f11e81cd000, 138412032 [pid 657] <... close resumed>) = 0 [pid 656] <... close resumed>) = 0 [pid 655] <... munmap resumed>) = 0 executing program executing program [pid 657] symlink("/dev/binderfs", "./binderfs" [pid 656] symlink("/dev/binderfs", "./binderfs" [pid 655] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 310] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW [pid 657] <... symlink resumed>) = 0 [pid 656] <... symlink resumed>) = 0 [pid 655] <... openat resumed>) = 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 657] write(1, "executing program\n", 18 [pid 656] write(1, "executing program\n", 18 [pid 655] ioctl(4, LOOP_SET_FD, 3 [pid 310] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 657] <... write resumed>) = 18 [pid 656] <... write resumed>) = 18 [pid 655] <... ioctl resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 657] memfd_create("syzkaller", 0 [pid 656] memfd_create("syzkaller", 0 [pid 655] close(3 [pid 310] fstat(3 [pid 657] <... memfd_create resumed>) = 3 [pid 656] <... memfd_create resumed>) = 3 [pid 655] <... close resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 657] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 653] <... mount resumed>) = 0 [pid 310] getdents64(3 [pid 657] <... mmap resumed>) = 0x7f11e81cd000 [pid 656] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 653] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 653] <... openat resumed>) = 3 [pid 310] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 653] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 653] ioctl(4, LOOP_CLR_FD) = 0 [pid 653] close(4) = 0 [pid 653] exit_group(0) = ? [pid 656] <... mmap resumed>) = 0x7f11e81cd000 [pid 653] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=653, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] <... umount2 resumed>) = 0 [pid 309] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./33/file0", 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, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] newfstatat(AT_FDCWD, "./33/file0" [pid 309] <... openat resumed>) = 3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] fstat(3 [pid 310] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] getdents64(3 [pid 310] openat(AT_FDCWD, "./33/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] <... openat resumed>) = 4 [pid 309] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] fstat(4 [pid 655] close(4) = 0 [pid 655] mkdir("./file0", 0777) = 0 [pid 655] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 656] 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"..., 524288 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 656] <... write resumed>) = 524288 [pid 310] getdents64(4 [pid 309] <... umount2 resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 656] munmap(0x7f11e81cd000, 138412032 [pid 310] getdents64(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] newfstatat(AT_FDCWD, "./33/file0" [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("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rmdir("./33/file0" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 656] <... munmap resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "./33/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] fstat(4 [pid 310] newfstatat(AT_FDCWD, "./33/binderfs" [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] getdents64(4 [pid 310] unlink("./33/binderfs" [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 656] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] <... unlink resumed>) = 0 [pid 309] getdents64(4 [pid 310] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 657] 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"..., 524288 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 310] close(3 [pid 309] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] rmdir("./33/file0" [pid 310] rmdir("./33" [pid 656] <... openat resumed>) = 4 [pid 309] <... rmdir resumed>) = 0 [pid 656] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 309] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] mkdir("./34", 0777 [pid 656] close(3) = 0 [pid 656] close(4) = 0 [pid 656] mkdir("./file0", 0777 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./33/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 656] <... mkdir resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 309] unlink("./33/binderfs" [pid 656] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... unlink resumed>) = 0 [pid 657] <... write resumed>) = 524288 [pid 310] <... openat resumed>) = 3 [pid 309] getdents64(3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 310] close(3) = 0 [pid 309] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] rmdir("./33" [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] mkdir("./34", 0777) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 661 ci2-android-6-1/strace-static-x86_64: Process 661 attached [pid 657] munmap(0x7f11e81cd000, 138412032 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 657] <... munmap resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 657] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 309] close(3 [pid 657] <... openat resumed>) = 4 [pid 309] <... close resumed>) = 0 [pid 657] ioctl(4, LOOP_SET_FD, 3 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 657] <... ioctl resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 662 [pid 657] close(3 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 657] <... close resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 657] close(4 [pid 661] set_robust_list(0x5555866cd6a0, 24) = 0 [ 30.518372][ T653] EXT4-fs (loop3): orphan cleanup on readonly fs [ 30.526131][ T653] EXT4-fs (loop3): 1 truncate cleaned up ci2-android-6-1/strace-static-x86_64: Process 662 attached [pid 661] rt_sigprocmask(SIG_SETMASK, [] [pid 657] <... close resumed>) = 0 [pid 657] mkdir("./file0", 0777) = 0 [pid 657] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 662] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 662] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 662] chdir("./34") = 0 [pid 662] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 662] setpgid(0, 0) = 0 [pid 662] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 662] write(3, "1000", 4) = 4 [pid 662] close(3) = 0 [pid 662] symlink("/dev/binderfs", "./binderfs") = 0 [pid 662] write(1, "executing program\n", 18) = 18 [pid 662] memfd_create("syzkaller", 0) = 3 [pid 662] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 662] 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"..., 524288 [pid 661] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 661] chdir("./34") = 0 [pid 661] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 661] setpgid(0, 0 [pid 662] <... write resumed>) = 524288 [pid 662] munmap(0x7f11e81cd000, 138412032) = 0 [pid 662] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 662] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 662] close(3) = 0 [pid 662] close(4) = 0 [pid 662] mkdir("./file0", 0777) = 0 [pid 662] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 661] <... setpgid resumed>) = 0 [pid 661] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 661] write(3, "1000", 4) = 4 [pid 661] close(3) = 0 [pid 661] symlink("/dev/binderfs", "./binderfs") = 0 [pid 661] write(1, "executing program\n", 18) = 18 executing program [pid 661] memfd_create("syzkaller", 0) = 3 [pid 661] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 655] <... mount resumed>) = 0 [pid 655] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 655] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 655] ioctl(4, LOOP_CLR_FD) = 0 [pid 655] close(4) = 0 [pid 655] exit_group(0) = ? [pid 656] <... mount resumed>) = 0 [pid 656] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 656] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 656] ioctl(4, LOOP_CLR_FD) = 0 [ 30.572978][ T655] EXT4-fs (loop1): orphan cleanup on readonly fs [ 30.580230][ T656] EXT4-fs (loop2): orphan cleanup on readonly fs [ 30.589148][ T655] EXT4-fs (loop1): 1 truncate cleaned up [ 30.595722][ T657] EXT4-fs (loop0): orphan cleanup on readonly fs [ 30.608124][ T656] EXT4-fs (loop2): 1 truncate cleaned up [ 30.616099][ T657] EXT4-fs (loop0): 1 truncate cleaned up [pid 661] 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"..., 524288 [pid 656] close(4 [pid 655] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=655, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 657] <... mount resumed>) = 0 [pid 657] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 657] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 657] ioctl(4, LOOP_CLR_FD) = 0 [pid 657] close(4) = 0 [pid 657] exit_group(0) = ? [pid 657] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=657, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 656] <... close resumed>) = 0 [pid 656] exit_group(0) = ? [pid 656] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=656, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] umount2("./33", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./33", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 307] fstat(3 [pid 306] fstat(3 [pid 308] fstat(3 [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 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3 [pid 306] getdents64(3 [pid 308] getdents64(3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 662] <... mount resumed>) = 0 [pid 661] <... write resumed>) = 524288 [pid 661] munmap(0x7f11e81cd000, 138412032 [pid 307] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./34/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./34/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./34/file0") = 0 [pid 306] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./34/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./34/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./34") = 0 [pid 306] mkdir("./35", 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, child_tidptr=0x5555866cd690) = 665 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 661] <... munmap resumed>) = 0 [pid 661] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 661] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 661] close(3) = 0 [pid 661] close(4) = 0 [pid 661] mkdir("./file0", 0777) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 661] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 662] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 307] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 665 attached [pid 662] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 665] set_robust_list(0x5555866cd6a0, 24 [pid 662] <... openat resumed>) = 4 [pid 665] <... set_robust_list resumed>) = 0 [pid 662] ioctl(4, LOOP_CLR_FD [pid 665] rt_sigprocmask(SIG_SETMASK, [] [pid 662] <... ioctl resumed>) = 0 [pid 665] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 662] close(4 [pid 665] chdir("./35" [pid 662] <... close resumed>) = 0 [pid 665] <... chdir resumed>) = 0 [pid 662] exit_group(0 [pid 665] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 662] <... exit_group resumed>) = ? [pid 665] <... prctl resumed>) = 0 [pid 662] +++ exited with 0 +++ [pid 665] setpgid(0, 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=662, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 665] <... setpgid resumed>) = 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 665] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 665] write(3, "1000", 4) = 4 [pid 665] close(3) = 0 [pid 665] symlink("/dev/binderfs", "./binderfs") = 0 [pid 665] write(1, "executing program\n", 18) = 18 executing program [pid 665] memfd_create("syzkaller", 0) = 3 [pid 665] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [ 30.625540][ T662] EXT4-fs (loop3): orphan cleanup on readonly fs [ 30.633853][ T662] EXT4-fs (loop3): 1 truncate cleaned up [ 30.659013][ T661] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 665] 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"..., 524288 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW [pid 661] <... mount resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./33/file0" [pid 309] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] newfstatat(AT_FDCWD, "./34/file0" [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./33/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 308] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./34/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./33/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 665] <... write resumed>) = 524288 [pid 665] munmap(0x7f11e81cd000, 138412032 [pid 309] <... umount2 resumed>) = 0 [pid 665] <... munmap resumed>) = 0 [pid 665] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 665] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 665] close(3) = 0 [pid 665] close(4) = 0 [pid 665] mkdir("./file0", 0777) = 0 [pid 665] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 661] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 661] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 661] ioctl(4, LOOP_CLR_FD) = 0 [pid 661] close(4) = 0 [pid 661] exit_group(0) = ? [pid 661] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=661, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./34", 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 308] <... openat resumed>) = 4 [pid 308] fstat(4 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./34/file0") = 0 [pid 308] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./34/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./34/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./34") = 0 [pid 308] mkdir("./35", 0777) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... umount2 resumed>) = 0 [pid 309] umount2("./34/file0", 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, ~[] [pid 310] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 667 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 667 attached [pid 667] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 667] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 667] chdir("./35") = 0 [pid 667] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 667] setpgid(0, 0) = 0 [pid 667] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 667] write(3, "1000", 4) = 4 [pid 667] close(3) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./34/file0" [pid 307] <... openat resumed>) = 4 [pid 667] symlink("/dev/binderfs", "./binderfs") = 0 [pid 310] newfstatat(AT_FDCWD, "./34/file0" [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] fstat(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./34/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./34/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] getdents64(4 [pid 310] <... openat resumed>) = 4 [pid 309] <... openat resumed>) = 4 [pid 310] fstat(4 [pid 309] fstat(4 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [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(4 [pid 307] getdents64(4 [pid 309] getdents64(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] getdents64(4 [pid 309] getdents64(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4 [pid 309] close(4 [pid 307] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 307] rmdir("./33/file0" [pid 310] rmdir("./34/file0" [pid 309] rmdir("./34/file0" [pid 667] write(1, "executing program\n", 18 [pid 310] <... rmdir resumed>) = 0 [pid 667] <... write resumed>) = 18 [pid 310] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./33/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] newfstatat(AT_FDCWD, "./34/binderfs" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] newfstatat(AT_FDCWD, "./34/binderfs" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] unlink("./34/binderfs" [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 307] newfstatat(AT_FDCWD, "./33/binderfs" [pid 310] <... unlink resumed>) = 0 [pid 309] unlink("./34/binderfs" [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] getdents64(3 [pid 309] <... unlink resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] getdents64(3 [pid 307] unlink("./33/binderfs" [pid 310] close(3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... close resumed>) = 0 [pid 309] close(3 [pid 307] <... unlink resumed>) = 0 [pid 310] rmdir("./34" [pid 309] <... close resumed>) = 0 [pid 307] getdents64(3 [pid 310] <... rmdir resumed>) = 0 [pid 309] rmdir("./34" [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] mkdir("./35", 0777 [pid 309] <... rmdir resumed>) = 0 [pid 307] close(3 [pid 667] memfd_create("syzkaller", 0 [pid 310] <... mkdir resumed>) = 0 [pid 309] mkdir("./35", 0777 [pid 307] <... close resumed>) = 0 [pid 667] <... memfd_create resumed>) = 3 [pid 309] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] rmdir("./33" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] <... openat resumed>) = 3 [pid 667] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] <... rmdir resumed>) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] <... openat resumed>) = 3 [pid 307] mkdir("./34", 0777 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] ioctl(3, LOOP_CLR_FD [pid 310] close(3 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... mkdir resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] close(3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [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 307] <... openat resumed>) = 3 [pid 667] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 669 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] close(3 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 670 [pid 307] <... close resumed>) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 667] 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"..., 524288 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 671 [pid 307] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 670 attached [ 30.671069][ T661] EXT4-fs (loop4): 1 truncate cleaned up [pid 670] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 670] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 670] chdir("./35") = 0 [pid 670] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 670] setpgid(0, 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 670] <... setpgid resumed>) = 0 [pid 670] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 670] write(3, "1000", 4) = 4 [pid 670] close(3) = 0 [pid 670] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 670] write(1, "executing program\n", 18) = 18 [pid 670] memfd_create("syzkaller", 0) = 3 [pid 670] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 670] 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"..., 524288ci2-android-6-1/strace-static-x86_64: Process 669 attached ci2-android-6-1/strace-static-x86_64: Process 671 attached [pid 667] <... write resumed>) = 524288 [pid 667] munmap(0x7f11e81cd000, 138412032) = 0 [pid 667] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 671] set_robust_list(0x5555866cd6a0, 24 [pid 669] set_robust_list(0x5555866cd6a0, 24 [pid 667] <... openat resumed>) = 4 [pid 667] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 671] <... set_robust_list resumed>) = 0 [pid 669] <... set_robust_list resumed>) = 0 [pid 671] rt_sigprocmask(SIG_SETMASK, [] [pid 669] rt_sigprocmask(SIG_SETMASK, [] [pid 671] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 669] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 671] chdir("./34" [pid 669] chdir("./35" [pid 671] <... chdir resumed>) = 0 [pid 669] <... chdir resumed>) = 0 [pid 671] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 669] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 671] setpgid(0, 0 [pid 669] <... prctl resumed>) = 0 [pid 671] <... setpgid resumed>) = 0 [pid 669] setpgid(0, 0 [pid 671] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 669] <... setpgid resumed>) = 0 [pid 671] <... openat resumed>) = 3 [pid 667] close(3 [pid 671] write(3, "1000", 4 [pid 669] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 671] <... write resumed>) = 4 [pid 671] close(3 [pid 669] <... openat resumed>) = 3 [pid 671] <... close resumed>) = 0 [pid 669] write(3, "1000", 4 [pid 671] symlink("/dev/binderfs", "./binderfs" [pid 669] <... write resumed>) = 4 [pid 671] <... symlink resumed>) = 0 [pid 669] close(3 [pid 671] write(1, "executing program\n", 18 [pid 669] <... close resumed>) = 0 [pid 671] <... write resumed>) = 18 executing program [pid 669] symlink("/dev/binderfs", "./binderfs" [pid 671] memfd_create("syzkaller", 0) = 3 [pid 669] <... symlink resumed>) = 0 [pid 671] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 executing program [pid 669] write(1, "executing program\n", 18 [pid 671] <... mmap resumed>) = 0x7f11e81cd000 [pid 669] <... write resumed>) = 18 [pid 667] <... close resumed>) = 0 [pid 669] memfd_create("syzkaller", 0 [pid 667] close(4) = 0 [pid 667] mkdir("./file0", 0777) = 0 [pid 667] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 670] <... write resumed>) = 524288 [pid 669] <... memfd_create resumed>) = 3 [pid 670] munmap(0x7f11e81cd000, 138412032 [pid 669] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 670] <... munmap resumed>) = 0 [pid 670] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 671] 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"..., 524288 [pid 669] <... mmap resumed>) = 0x7f11e81cd000 [pid 670] <... openat resumed>) = 4 [pid 670] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 670] close(3) = 0 [pid 670] close(4) = 0 [pid 670] mkdir("./file0", 0777 [pid 669] 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"..., 524288 [pid 670] <... mkdir resumed>) = 0 [pid 670] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 671] <... write resumed>) = 524288 [pid 671] munmap(0x7f11e81cd000, 138412032) = 0 [pid 671] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 671] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 671] close(3) = 0 [pid 671] close(4) = 0 [pid 671] mkdir("./file0", 0777) = 0 [pid 671] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 669] <... write resumed>) = 524288 [pid 669] munmap(0x7f11e81cd000, 138412032 [pid 665] <... mount resumed>) = 0 [pid 665] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 665] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 669] <... munmap resumed>) = 0 [pid 669] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 30.715168][ T665] EXT4-fs (loop0): orphan cleanup on readonly fs [ 30.745430][ T667] EXT4-fs (loop2): orphan cleanup on readonly fs [ 30.754022][ T665] EXT4-fs (loop0): 1 truncate cleaned up [pid 669] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 669] close(3) = 0 [pid 669] close(4) = 0 [pid 669] mkdir("./file0", 0777) = 0 [pid 669] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 665] ioctl(4, LOOP_CLR_FD) = 0 [pid 665] close(4) = 0 [pid 665] exit_group(0) = ? [pid 667] <... mount resumed>) = 0 [pid 667] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 667] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 667] ioctl(4, LOOP_CLR_FD) = 0 [pid 667] close(4) = 0 [pid 667] exit_group(0) = ? [pid 667] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=667, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 665] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=665, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./35", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 308] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./35/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./35/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./35/file0") = 0 [pid 308] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./35/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./35/binderfs" [pid 306] <... restart_syscall resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] close(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... close resumed>) = 0 [pid 306] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] rmdir("./35" [pid 306] <... openat resumed>) = 3 [pid 308] <... rmdir resumed>) = 0 [pid 306] fstat(3 [pid 308] mkdir("./36", 0777 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = 0 [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 306] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 671] <... mount resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 676 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] newfstatat(AT_FDCWD, "./35/file0" [pid 671] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 670] <... mount resumed>) = 0 [pid 671] <... openat resumed>) = 3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ci2-android-6-1/strace-static-x86_64: Process 676 attached [pid 671] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 670] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 676] set_robust_list(0x5555866cd6a0, 24 [pid 671] <... openat resumed>) = 4 [pid 670] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 676] <... set_robust_list resumed>) = 0 [pid 671] ioctl(4, LOOP_CLR_FD [pid 670] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] openat(AT_FDCWD, "./35/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 671] <... ioctl resumed>) = 0 [pid 670] <... openat resumed>) = 4 [pid 306] <... openat resumed>) = 4 [pid 676] rt_sigprocmask(SIG_SETMASK, [] [pid 671] close(4 [pid 676] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 671] <... close resumed>) = 0 [pid 670] ioctl(4, LOOP_CLR_FD [pid 306] fstat(4 [pid 676] chdir("./36" [pid 670] <... ioctl resumed>) = 0 [pid 676] <... chdir resumed>) = 0 [pid 670] close(4 [pid 676] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 670] <... close resumed>) = 0 [pid 676] <... prctl resumed>) = 0 [pid 670] exit_group(0 [pid 676] setpgid(0, 0 [pid 671] exit_group(0 [pid 670] <... exit_group resumed>) = ? [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 676] <... setpgid resumed>) = 0 [pid 671] <... exit_group resumed>) = ? [pid 670] +++ exited with 0 +++ [ 30.762905][ T670] EXT4-fs (loop3): orphan cleanup on readonly fs [ 30.770848][ T667] EXT4-fs (loop2): 1 truncate cleaned up [ 30.775043][ T671] EXT4-fs (loop1): orphan cleanup on readonly fs [ 30.796142][ T670] EXT4-fs (loop3): 1 truncate cleaned up [ 30.802745][ T669] EXT4-fs (loop4): orphan cleanup on readonly fs [ 30.803570][ T671] EXT4-fs (loop1): 1 truncate cleaned up [pid 676] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 671] +++ exited with 0 +++ [pid 306] getdents64(4 [pid 676] write(3, "1000", 4) = 4 [pid 676] close(3) = 0 [pid 676] symlink("/dev/binderfs", "./binderfs") = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=670, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=671, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 676] write(1, "executing program\n", 18) = 18 executing program [pid 676] memfd_create("syzkaller", 0 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] getdents64(4 [pid 676] <... memfd_create resumed>) = 3 [pid 676] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] <... restart_syscall resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 676] 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"..., 524288 [pid 307] umount2("./34", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(4 [pid 669] <... mount resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 676] <... write resumed>) = 524288 [pid 309] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] openat(AT_FDCWD, "./34", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 676] munmap(0x7f11e81cd000, 138412032 [pid 669] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... openat resumed>) = 3 [pid 306] rmdir("./35/file0" [pid 676] <... munmap resumed>) = 0 [pid 669] <... openat resumed>) = 3 [pid 309] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] fstat(3 [pid 669] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... openat resumed>) = 3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 669] <... openat resumed>) = 4 [pid 309] fstat(3 [pid 307] getdents64(3 [pid 306] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 669] ioctl(4, LOOP_CLR_FD [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 676] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 669] <... ioctl resumed>) = 0 [pid 309] getdents64(3 [pid 307] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./35/binderfs" [pid 669] close(4 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 669] <... close resumed>) = 0 [pid 309] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] unlink("./35/binderfs" [pid 669] exit_group(0 [pid 306] <... unlink resumed>) = 0 [pid 669] <... exit_group resumed>) = ? [pid 306] getdents64(3 [pid 669] +++ exited with 0 +++ [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=669, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] close(3 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./35") = 0 [pid 306] mkdir("./36", 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 310] <... restart_syscall resumed>) = 0 [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 677 attached [pid 676] <... openat resumed>) = 4 [pid 310] openat(AT_FDCWD, "./35", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 677 [pid 310] fstat(3 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] getdents64(3 [pid 676] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 677] set_robust_list(0x5555866cd6a0, 24 [pid 310] umount2("./35/file0", 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, "./35/file0" [pid 307] newfstatat(AT_FDCWD, "./34/file0" [pid 677] <... set_robust_list resumed>) = 0 [pid 676] <... ioctl resumed>) = 0 [pid 309] <... 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 677] rt_sigprocmask(SIG_SETMASK, [] [pid 676] close(3 [pid 310] <... umount2 resumed>) = 0 [pid 309] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./34/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 677] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 676] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 677] chdir("./36" [pid 676] close(4 [pid 310] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] openat(AT_FDCWD, "./35/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./34/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 677] <... chdir resumed>) = 0 [pid 676] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 4 [pid 307] <... openat resumed>) = 4 [pid 677] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 676] mkdir("./file0", 0777 [pid 310] newfstatat(AT_FDCWD, "./35/file0" [pid 309] fstat(4 [pid 307] fstat(4 [pid 677] <... prctl resumed>) = 0 [pid 676] <... mkdir resumed>) = 0 [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 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 677] setpgid(0, 0 [pid 676] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] getdents64(4 [pid 307] getdents64(4 [pid 677] <... setpgid resumed>) = 0 [pid 310] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 677] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] getdents64(4 [pid 307] getdents64(4 [pid 677] <... openat resumed>) = 3 [pid 310] openat(AT_FDCWD, "./35/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 677] write(3, "1000", 4 [pid 310] <... openat resumed>) = 4 [pid 309] close(4 [pid 307] close(4 [pid 677] <... write resumed>) = 4 [pid 310] fstat(4 [pid 309] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 677] close(3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] rmdir("./35/file0" [pid 307] rmdir("./34/file0" [pid 677] <... close resumed>) = 0 [pid 310] getdents64(4 [pid 309] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 677] symlink("/dev/binderfs", "./binderfs" [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./34/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 677] <... symlink resumed>) = 0 [pid 310] getdents64(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 30.839923][ T669] EXT4-fs (loop4): 1 truncate cleaned up [pid 677] write(1, "executing program\n", 18 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] newfstatat(AT_FDCWD, "./35/binderfs" [pid 307] newfstatat(AT_FDCWD, "./34/binderfs" [pid 310] close(4) = 0 [pid 310] rmdir("./35/file0") = 0 [pid 310] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./35/binderfs", {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("./35/binderfs" [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... unlink resumed>) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 309] unlink("./35/binderfs" [pid 307] unlink("./34/binderfs" [pid 310] rmdir("./35") = 0 [pid 310] mkdir("./36", 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=0x5555866cd690) = 679 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 679 attached [pid 679] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 679] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 679] chdir("./36") = 0 [pid 679] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 679] setpgid(0, 0) = 0 [pid 679] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 679] write(3, "1000", 4) = 4 [pid 679] close(3) = 0 [pid 679] symlink("/dev/binderfs", "./binderfs") = 0 [pid 307] <... unlink resumed>) = 0 [pid 679] write(1, "executing program\n", 18) = 18 [pid 309] <... unlink resumed>) = 0 [pid 307] getdents64(3 [pid 309] getdents64(3 [pid 677] <... write resumed>) = 18 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3 [pid 309] close(3 [pid 307] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 307] rmdir("./34" [pid 309] rmdir("./35" [pid 677] memfd_create("syzkaller", 0 [pid 679] memfd_create("syzkaller", 0) = 3 [pid 679] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] <... rmdir resumed>) = 0 [pid 679] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] <... rmdir resumed>) = 0 [pid 307] mkdir("./35", 0777 [pid 677] <... memfd_create resumed>) = 3 [pid 309] mkdir("./36", 0777 [pid 307] <... mkdir resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 executing program executing program [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 677] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 3 [pid 307] ioctl(3, LOOP_CLR_FD [pid 677] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] ioctl(3, LOOP_CLR_FD [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] close(3 [pid 309] close(3 [pid 307] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] 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 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 680 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 681 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 679] 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"..., 524288 [pid 677] 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"..., 524288 [pid 679] <... write resumed>) = 524288 ci2-android-6-1/strace-static-x86_64: Process 680 attached [pid 680] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 680] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 680] chdir("./35") = 0 [pid 680] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 680] setpgid(0, 0) = 0 [pid 680] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 680] write(3, "1000", 4 [pid 677] <... write resumed>) = 524288 [pid 680] <... write resumed>) = 4 [pid 680] close(3) = 0 [pid 680] symlink("/dev/binderfs", "./binderfs") = 0 [pid 677] munmap(0x7f11e81cd000, 138412032ci2-android-6-1/strace-static-x86_64: Process 681 attached [pid 680] write(1, "executing program\n", 18) = 18 executing program [pid 680] memfd_create("syzkaller", 0) = 3 [pid 680] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 679] munmap(0x7f11e81cd000, 138412032) = 0 [pid 677] <... munmap resumed>) = 0 [pid 677] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 679] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 677] <... openat resumed>) = 4 [pid 677] ioctl(4, LOOP_SET_FD, 3 [pid 681] set_robust_list(0x5555866cd6a0, 24 [pid 679] ioctl(4, LOOP_SET_FD, 3 [pid 681] <... set_robust_list resumed>) = 0 [pid 677] <... ioctl resumed>) = 0 [pid 677] close(3) = 0 [pid 677] close(4) = 0 [pid 677] mkdir("./file0", 0777 [pid 681] rt_sigprocmask(SIG_SETMASK, [] [pid 676] <... mount resumed>) = 0 [pid 681] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 676] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 681] chdir("./36" [pid 676] <... openat resumed>) = 3 [pid 681] <... chdir resumed>) = 0 [pid 676] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 681] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 676] <... openat resumed>) = 4 [pid 681] <... prctl resumed>) = 0 [pid 680] 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"..., 524288 [pid 679] <... ioctl resumed>) = 0 [pid 677] <... mkdir resumed>) = 0 [pid 676] ioctl(4, LOOP_CLR_FD [pid 681] setpgid(0, 0 [pid 677] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 676] <... ioctl resumed>) = 0 [pid 681] <... setpgid resumed>) = 0 [pid 676] close(4 [pid 681] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 676] <... close resumed>) = 0 [pid 681] <... openat resumed>) = 3 [pid 680] <... write resumed>) = 524288 [pid 679] close(3 [pid 676] exit_group(0) = ? [pid 681] write(3, "1000", 4 [pid 680] munmap(0x7f11e81cd000, 138412032 [pid 679] <... close resumed>) = 0 [pid 681] <... write resumed>) = 4 [pid 681] close(3 [pid 677] <... mount resumed>) = 0 [pid 676] +++ exited with 0 +++ [pid 681] <... close resumed>) = 0 [pid 680] <... munmap resumed>) = 0 [pid 679] close(4 [pid 677] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 681] symlink("/dev/binderfs", "./binderfs" [pid 680] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 679] <... close resumed>) = 0 [pid 677] <... openat resumed>) = 3 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=676, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 681] <... symlink resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> executing program [pid 681] write(1, "executing program\n", 18) = 18 [pid 681] memfd_create("syzkaller", 0) = 3 [pid 681] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 681] 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"..., 524288 [pid 679] mkdir("./file0", 0777) = 0 [pid 679] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 680] <... openat resumed>) = 4 [pid 680] ioctl(4, LOOP_SET_FD, 3 [pid 677] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 681] <... write resumed>) = 524288 [pid 681] munmap(0x7f11e81cd000, 138412032 [pid 677] <... openat resumed>) = 4 [pid 681] <... munmap resumed>) = 0 [pid 680] <... ioctl resumed>) = 0 [pid 677] ioctl(4, LOOP_CLR_FD [pid 308] <... restart_syscall resumed>) = 0 [ 30.888454][ T676] EXT4-fs (loop2): orphan cleanup on readonly fs [ 30.905694][ T676] EXT4-fs (loop2): 1 truncate cleaned up [ 30.923614][ T677] EXT4-fs (loop0): orphan cleanup on readonly fs [ 30.930989][ T677] EXT4-fs (loop0): 1 truncate cleaned up [pid 308] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./36", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 681] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 681] ioctl(4, LOOP_SET_FD, 3 [pid 680] close(3) = 0 [pid 680] close(4) = 0 [pid 677] <... ioctl resumed>) = 0 [pid 677] close(4 [pid 308] <... umount2 resumed>) = 0 [pid 680] mkdir("./file0", 0777) = 0 [pid 308] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 681] <... ioctl resumed>) = 0 [pid 677] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 681] close(3 [pid 308] newfstatat(AT_FDCWD, "./36/file0" [pid 681] <... close resumed>) = 0 [pid 677] exit_group(0 [pid 681] close(4 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 681] <... close resumed>) = 0 [pid 677] <... exit_group resumed>) = ? [pid 681] mkdir("./file0", 0777 [pid 308] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 681] <... mkdir resumed>) = 0 [pid 677] +++ exited with 0 +++ [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=677, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 306] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW [pid 680] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 681] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] openat(AT_FDCWD, "./36/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 679] <... mount resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 306] <... openat resumed>) = 3 [pid 679] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] fstat(4 [pid 306] fstat(3 [pid 679] <... openat resumed>) = 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 679] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] getdents64(4 [pid 306] getdents64(3 [pid 679] <... openat resumed>) = 4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 679] ioctl(4, LOOP_CLR_FD [pid 308] getdents64(4 [pid 306] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 679] <... ioctl resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 679] close(4 [pid 308] close(4 [pid 306] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 679] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 30.948667][ T679] EXT4-fs (loop4): orphan cleanup on readonly fs [ 30.969148][ T679] EXT4-fs (loop4): 1 truncate cleaned up [ 30.981832][ T681] EXT4-fs (loop3): orphan cleanup on readonly fs [ 30.990610][ T680] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 679] exit_group(0 [pid 308] rmdir("./36/file0" [pid 679] <... exit_group resumed>) = ? [pid 308] <... rmdir resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./36/file0" [pid 679] +++ exited with 0 +++ [pid 308] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./36/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./36/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./36") = 0 [pid 308] mkdir("./37", 0777) = 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 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=679, si_uid=0, si_status=0, si_utime=0, si_stime=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] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 686 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 686 attached [pid 686] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 686] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./36/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 681] <... mount resumed>) = 0 [pid 306] fstat(4 [pid 681] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 680] <... mount resumed>) = 0 [pid 306] getdents64(4 [pid 681] <... openat resumed>) = 3 [pid 680] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 681] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 686] chdir("./37" [pid 681] <... openat resumed>) = 4 [pid 680] <... openat resumed>) = 3 [pid 306] getdents64(4 [pid 686] <... chdir resumed>) = 0 [pid 681] ioctl(4, LOOP_CLR_FD [pid 680] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 686] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 686] setpgid(0, 0) = 0 [pid 686] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 681] <... ioctl resumed>) = 0 [pid 306] close(4 [pid 680] <... openat resumed>) = 4 [pid 686] <... openat resumed>) = 3 [pid 681] close(4 [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./36/file0" [pid 686] write(3, "1000", 4 [pid 680] ioctl(4, LOOP_CLR_FD [pid 310] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... rmdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 306] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 681] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 681] exit_group(0) = ? [pid 306] newfstatat(AT_FDCWD, "./36/binderfs" [pid 681] +++ exited with 0 +++ [pid 686] <... write resumed>) = 4 [pid 686] close(3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 686] <... close resumed>) = 0 [pid 686] symlink("/dev/binderfs", "./binderfs") = 0 [pid 686] write(1, "executing program\n", 18) = 18 [pid 686] memfd_create("syzkaller", 0) = 3 executing program [pid 686] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 680] <... ioctl resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=681, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] unlink("./36/binderfs" [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./36") = 0 [pid 306] mkdir("./37", 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 310] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 687 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 310] newfstatat(AT_FDCWD, "./36/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./36/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 ci2-android-6-1/strace-static-x86_64: Process 687 attached [pid 686] <... mmap resumed>) = 0x7f11e81cd000 [pid 680] close(4 [pid 310] rmdir("./36/file0") = 0 [pid 310] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... restart_syscall resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./36/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] unlink("./36/binderfs" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... unlink resumed>) = 0 [pid 309] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] getdents64(3 [pid 309] <... openat resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] fstat(3 [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(3 [pid 310] rmdir("./36" [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 686] 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"..., 524288 [pid 310] <... rmdir resumed>) = 0 [pid 309] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] mkdir("./37", 0777 [pid 309] <... umount2 resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 309] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 3 [pid 309] newfstatat(AT_FDCWD, "./36/file0" [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] close(3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... close resumed>) = 0 [pid 309] openat(AT_FDCWD, "./36/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... openat resumed>) = 4 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] fstat(4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 688 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] getdents64(4 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./36/file0") = 0 [pid 309] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./36/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./36/binderfs") = 0 [pid 687] set_robust_list(0x5555866cd6a0, 24 [pid 680] <... close resumed>) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./36" [pid 687] <... set_robust_list resumed>) = 0 [pid 680] exit_group(0 [pid 309] <... rmdir resumed>) = 0 [pid 309] mkdir("./37", 0777 [pid 687] rt_sigprocmask(SIG_SETMASK, [] [pid 686] <... write resumed>) = 524288 [pid 680] <... exit_group resumed>) = ? [pid 309] <... mkdir resumed>) = 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 687] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 689 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 687] chdir("./37" [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 689 attached [pid 689] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 689] rt_sigprocmask(SIG_SETMASK, [] [pid 687] <... chdir resumed>) = 0 [pid 689] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 689] chdir("./37") = 0 [pid 680] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=680, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 689] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 689] <... prctl resumed>) = 0 [pid 689] setpgid(0, 0) = 0 [pid 687] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 689] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 689] write(3, "1000", 4) = 4 [pid 689] close(3) = 0 [pid 689] symlink("/dev/binderfs", "./binderfs") = 0 [pid 689] write(1, "executing program\n", 18) = 18 [pid 689] memfd_create("syzkaller", 0) = 3 [pid 689] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 687] <... prctl resumed>) = 0 executing program [pid 687] setpgid(0, 0 [pid 686] munmap(0x7f11e81cd000, 138412032 [pid 687] <... setpgid resumed>) = 0 [pid 686] <... munmap resumed>) = 0 [pid 687] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 686] openat(AT_FDCWD, "/dev/loop2", O_RDWRci2-android-6-1/strace-static-x86_64: Process 688 attached [pid 687] write(3, "1000", 4 [pid 686] <... openat resumed>) = 4 [pid 689] 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"..., 524288 [pid 687] <... write resumed>) = 4 [pid 687] close(3) = 0 [pid 687] symlink("/dev/binderfs", "./binderfs") = 0 [pid 687] write(1, "executing program\n", 18) = 18 [pid 687] memfd_create("syzkaller", 0) = 3 executing program [pid 687] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 687] 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"..., 524288 [pid 689] <... write resumed>) = 524288 [pid 686] ioctl(4, LOOP_SET_FD, 3 [pid 689] munmap(0x7f11e81cd000, 138412032 [pid 688] set_robust_list(0x5555866cd6a0, 24 [pid 686] <... ioctl resumed>) = 0 [pid 686] close(3) = 0 [ 30.998075][ T680] EXT4-fs (loop1): 1 truncate cleaned up [ 31.004356][ T681] EXT4-fs (loop3): 1 truncate cleaned up [pid 686] close(4 [pid 689] <... munmap resumed>) = 0 [pid 688] <... set_robust_list resumed>) = 0 [pid 687] <... write resumed>) = 524288 [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./35", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./35", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 307] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./35/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./35/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./35/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 689] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 688] rt_sigprocmask(SIG_SETMASK, [] [pid 687] munmap(0x7f11e81cd000, 138412032 [pid 686] <... close resumed>) = 0 [pid 307] getdents64(4 [pid 686] mkdir("./file0", 0777) = 0 [pid 686] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./35/file0" [pid 688] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 307] umount2("./35/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./35/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./35/binderfs" [pid 688] chdir("./37" [pid 307] <... unlink resumed>) = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./35" [pid 688] <... chdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 307] mkdir("./36", 0777 [pid 688] prctl(PR_SET_PDEATHSIG, SIGKILL) = 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 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 689] <... openat resumed>) = 4 [pid 688] setpgid(0, 0 [pid 689] ioctl(4, LOOP_SET_FD, 3 [pid 688] <... setpgid resumed>) = 0 [pid 689] <... ioctl resumed>) = 0 [pid 688] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 689] close(3 [pid 687] <... munmap resumed>) = 0 [pid 689] <... close resumed>) = 0 [pid 688] write(3, "1000", 4 [pid 689] close(4 [pid 688] <... write resumed>) = 4 [pid 687] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 689] <... close resumed>) = 0 [pid 688] close(3 [pid 687] <... openat resumed>) = 4 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 689] mkdir("./file0", 0777 [pid 688] <... close resumed>) = 0 [pid 687] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 691 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 691 attached [pid 691] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 691] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 691] chdir("./36") = 0 [pid 691] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 691] setpgid(0, 0) = 0 [pid 689] <... mkdir resumed>) = 0 [pid 688] symlink("/dev/binderfs", "./binderfs" [pid 691] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 687] <... ioctl resumed>) = 0 [pid 691] <... openat resumed>) = 3 [pid 691] write(3, "1000", 4 [pid 688] <... symlink resumed>) = 0 [pid 687] close(3 [pid 691] <... write resumed>) = 4 [pid 691] close(3) = 0 [pid 691] symlink("/dev/binderfs", "./binderfs") = 0 [pid 689] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 688] write(1, "executing program\n", 18 [pid 687] <... close resumed>) = 0 [pid 691] write(1, "executing program\n", 18) = 18 [pid 687] close(4 [pid 688] <... write resumed>) = 18 [pid 691] memfd_create("syzkaller", 0) = 3 [pid 691] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 687] <... close resumed>) = 0 [pid 691] <... mmap resumed>) = 0x7f11e81cd000 executing program executing program [pid 688] memfd_create("syzkaller", 0 [pid 687] mkdir("./file0", 0777) = 0 [pid 688] <... memfd_create resumed>) = 3 [pid 687] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 688] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 691] 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"..., 524288) = 524288 [pid 691] munmap(0x7f11e81cd000, 138412032) = 0 [pid 688] 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"..., 524288 [pid 691] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 691] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 691] close(3) = 0 [pid 691] close(4) = 0 [pid 691] mkdir("./file0", 0777) = 0 [pid 691] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 688] <... write resumed>) = 524288 [pid 688] munmap(0x7f11e81cd000, 138412032 [pid 689] <... mount resumed>) = 0 [pid 689] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 689] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 689] ioctl(4, LOOP_CLR_FD) = 0 [pid 689] close(4) = 0 [pid 689] exit_group(0) = ? [ 31.071046][ T686] EXT4-fs (loop2): orphan cleanup on readonly fs [ 31.097082][ T689] EXT4-fs (loop3): orphan cleanup on readonly fs [ 31.106745][ T689] EXT4-fs (loop3): 1 truncate cleaned up [ 31.108008][ T687] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 689] +++ exited with 0 +++ [pid 688] <... munmap resumed>) = 0 [pid 688] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 688] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 688] close(3) = 0 [pid 688] close(4) = 0 [pid 688] mkdir("./file0", 0777) = 0 [pid 688] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 686] <... mount resumed>) = 0 [pid 686] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=689, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 691] <... mount resumed>) = 0 [pid 686] <... openat resumed>) = 3 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 686] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] <... restart_syscall resumed>) = 0 [pid 686] <... openat resumed>) = 4 [pid 691] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 686] ioctl(4, LOOP_CLR_FD) = 0 [pid 686] close(4 [pid 309] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW [pid 691] <... openat resumed>) = 3 [pid 686] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 686] exit_group(0 [pid 309] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 687] <... mount resumed>) = 0 [pid 687] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 686] <... exit_group resumed>) = ? [pid 687] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 687] ioctl(4, LOOP_CLR_FD [pid 309] <... openat resumed>) = 3 [pid 687] <... ioctl resumed>) = 0 [pid 687] close(4) = 0 [pid 687] exit_group(0) = ? [pid 686] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=686, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] fstat(3 [pid 691] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] <... restart_syscall resumed>) = 0 [pid 691] <... openat resumed>) = 4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] fstat(3 [pid 691] ioctl(4, LOOP_CLR_FD [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 687] +++ exited with 0 +++ [pid 308] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 691] <... ioctl resumed>) = 0 [pid 309] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=687, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 691] close(4 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 691] <... close resumed>) = 0 [pid 691] exit_group(0) = ? [pid 691] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=691, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 307] umount2("./36", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./36", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... umount2 resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] <... restart_syscall resumed>) = 0 [pid 309] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./37/file0" [pid 308] <... umount2 resumed>) = 0 [pid 307] fstat(3 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./37/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... openat resumed>) = 3 [pid 309] fstat(4 [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 309] getdents64(4 [pid 307] getdents64(3 [pid 306] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] getdents64(4 [pid 306] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 307] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./37/file0" [pid 308] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... rmdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./37/file0" [pid 306] newfstatat(AT_FDCWD, "./37/file0" [pid 309] newfstatat(AT_FDCWD, "./37/binderfs" [pid 308] <... 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 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./37/binderfs" [pid 308] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... unlink resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./37/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "./37/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] getdents64(3 [pid 308] <... openat resumed>) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... openat resumed>) = 4 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] fstat(4 [ 31.120514][ T686] EXT4-fs (loop2): 1 truncate cleaned up [ 31.122777][ T691] EXT4-fs (loop1): orphan cleanup on readonly fs [ 31.140133][ T691] EXT4-fs (loop1): 1 truncate cleaned up [ 31.148286][ T687] EXT4-fs (loop0): 1 truncate cleaned up [ 31.160404][ T688] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 307] newfstatat(AT_FDCWD, "./36/file0" [pid 306] fstat(4 [pid 309] close(3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... close resumed>) = 0 [pid 308] getdents64(4 [pid 307] umount2("./36/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(4 [pid 688] <... mount resumed>) = 0 [pid 309] rmdir("./37" [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 688] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... rmdir resumed>) = 0 [pid 308] getdents64(4 [pid 307] openat(AT_FDCWD, "./36/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] getdents64(4 [pid 309] mkdir("./38", 0777 [pid 688] <... openat resumed>) = 3 [pid 309] <... mkdir resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... openat resumed>) = 4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] fstat(4 [pid 688] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... openat resumed>) = 3 [pid 308] close(4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] close(4 [pid 309] ioctl(3, LOOP_CLR_FD [pid 307] getdents64(4 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] close(3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 688] <... openat resumed>) = 4 [pid 309] <... close resumed>) = 0 [pid 308] rmdir("./37/file0" [pid 307] getdents64(4 [pid 306] rmdir("./37/file0" [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 688] ioctl(4, LOOP_CLR_FD [pid 308] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 688] <... ioctl resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 696 [pid 308] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] close(4 [pid 306] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... close resumed>) = 0 [pid 688] close(4 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] newfstatat(AT_FDCWD, "./37/binderfs" [pid 307] rmdir("./36/file0" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./37/binderfs" [pid 688] <... close resumed>) = 0 [pid 308] unlink("./37/binderfs" [pid 307] umount2("./36/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... unlink resumed>) = 0 [pid 306] unlink("./37/binderfs" [pid 308] getdents64(3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 688] exit_group(0 [pid 306] <... unlink resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./36/binderfs" [pid 688] <... exit_group resumed>) = ? [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] getdents64(3 [pid 308] close(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] unlink("./36/binderfs" [pid 688] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=688, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] close(3 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 308] rmdir("./37" [pid 306] <... close resumed>) = 0 [pid 307] getdents64(3 [pid 310] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] <... rmdir resumed>) = 0 [pid 306] rmdir("./37" [pid 310] fstat(3 [pid 308] mkdir("./38", 0777 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] close(3 [pid 306] <... rmdir resumed>) = 0 [pid 310] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... mkdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] mkdir("./38", 0777 [pid 310] <... umount2 resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] rmdir("./36" [pid 310] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./37/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... mkdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./37/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... openat resumed>) = 3 [pid 307] <... rmdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] getdents64(4 [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] mkdir("./37", 0777 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... openat resumed>) = 3 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./37/file0") = 0 [pid 308] close(3 [pid 307] <... mkdir resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 310] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... close resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] newfstatat(AT_FDCWD, "./37/binderfs" [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] close(3 [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 307] ioctl(3, LOOP_CLR_FD [pid 310] unlink("./37/binderfs" [pid 306] <... close resumed>) = 0 [pid 310] <... unlink resumed>) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] rmdir("./37" [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 697 [pid 307] close(3 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 697 attached ci2-android-6-1/strace-static-x86_64: Process 696 attached [pid 310] <... rmdir resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... close resumed>) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 697] set_robust_list(0x5555866cd6a0, 24 [pid 696] set_robust_list(0x5555866cd6a0, 24 [pid 310] mkdir("./38", 0777 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 697] <... set_robust_list resumed>) = 0 [pid 696] <... set_robust_list resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 698 [pid 697] rt_sigprocmask(SIG_SETMASK, [] [pid 696] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... mkdir resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 697] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 696] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 697] chdir("./38" [pid 696] chdir("./38" [pid 310] <... openat resumed>) = 3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 699 [pid 697] <... chdir resumed>) = 0 [pid 696] <... chdir resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 697] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 696] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] ioctl(3, LOOP_CLR_FD [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 697] <... prctl resumed>) = 0 [pid 696] <... prctl resumed>) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 697] setpgid(0, 0 [pid 696] setpgid(0, 0 [pid 310] close(3 [pid 697] <... setpgid resumed>) = 0 [pid 696] <... setpgid resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 697] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 696] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 697] <... openat resumed>) = 3 [pid 696] <... openat resumed>) = 3 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 697] write(3, "1000", 4 [pid 696] write(3, "1000", 4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 697] <... write resumed>) = 4 [pid 696] <... write resumed>) = 4 [pid 697] close(3 [pid 696] close(3 [pid 697] <... close resumed>) = 0 [pid 696] <... close resumed>) = 0 [pid 697] symlink("/dev/binderfs", "./binderfs" [pid 696] symlink("/dev/binderfs", "./binderfs"ci2-android-6-1/strace-static-x86_64: Process 700 attached ci2-android-6-1/strace-static-x86_64: Process 699 attached ci2-android-6-1/strace-static-x86_64: Process 698 attached [pid 697] <... symlink resumed>) = 0 [pid 700] set_robust_list(0x5555866cd6a0, 24 [pid 699] set_robust_list(0x5555866cd6a0, 24 [pid 698] set_robust_list(0x5555866cd6a0, 24 [pid 696] <... symlink resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 700 [pid 700] <... set_robust_list resumed>) = 0 [pid 699] <... set_robust_list resumed>) = 0 [pid 698] <... set_robust_list resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 700] rt_sigprocmask(SIG_SETMASK, [] [pid 699] rt_sigprocmask(SIG_SETMASK, [] [pid 698] rt_sigprocmask(SIG_SETMASK, [] [pid 697] write(1, "executing program\n", 18 [pid 696] write(1, "executing program\n", 18 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 700] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 699] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 698] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 700] chdir("./38" [pid 699] chdir("./37" [pid 698] chdir("./38" [pid 697] <... write resumed>) = 18 executing program executing program [pid 696] <... write resumed>) = 18 [pid 699] <... chdir resumed>) = 0 [pid 698] <... chdir resumed>) = 0 [pid 697] memfd_create("syzkaller", 0 [pid 696] memfd_create("syzkaller", 0 [pid 700] <... chdir resumed>) = 0 [pid 699] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 698] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 697] <... memfd_create resumed>) = 3 [pid 696] <... memfd_create resumed>) = 3 [pid 700] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 699] <... prctl resumed>) = 0 [pid 698] <... prctl resumed>) = 0 [pid 697] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 696] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 700] <... prctl resumed>) = 0 [pid 699] setpgid(0, 0 [pid 698] setpgid(0, 0 [pid 697] <... mmap resumed>) = 0x7f11e81cd000 [pid 696] <... mmap resumed>) = 0x7f11e81cd000 [pid 700] setpgid(0, 0 [pid 699] <... setpgid resumed>) = 0 [pid 698] <... setpgid resumed>) = 0 [pid 700] <... setpgid resumed>) = 0 [pid 699] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 698] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 700] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 699] <... openat resumed>) = 3 [pid 698] <... openat resumed>) = 3 [pid 700] <... openat resumed>) = 3 [pid 699] write(3, "1000", 4 [pid 698] write(3, "1000", 4 [pid 700] write(3, "1000", 4 [pid 699] <... write resumed>) = 4 [pid 698] <... write resumed>) = 4 [pid 700] <... write resumed>) = 4 [pid 699] close(3 [pid 698] close(3 [pid 700] close(3 [pid 699] <... close resumed>) = 0 [pid 698] <... close resumed>) = 0 [pid 700] <... close resumed>) = 0 [pid 699] symlink("/dev/binderfs", "./binderfs" [pid 698] symlink("/dev/binderfs", "./binderfs" [pid 700] symlink("/dev/binderfs", "./binderfs" [pid 699] <... symlink resumed>) = 0 [pid 698] <... symlink resumed>) = 0 [pid 697] 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"..., 524288 [pid 700] <... symlink resumed>) = 0 [pid 699] write(1, "executing program\n", 18 executing program [pid 696] 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"..., 524288 [pid 700] write(1, "executing program\n", 18 [pid 699] <... write resumed>) = 18 executing program executing program [pid 698] write(1, "executing program\n", 18 [pid 700] <... write resumed>) = 18 [pid 699] memfd_create("syzkaller", 0 [pid 698] <... write resumed>) = 18 [pid 700] memfd_create("syzkaller", 0 [pid 699] <... memfd_create resumed>) = 3 [pid 698] memfd_create("syzkaller", 0 [pid 700] <... memfd_create resumed>) = 3 [pid 699] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 698] <... memfd_create resumed>) = 3 [pid 700] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 699] <... mmap resumed>) = 0x7f11e81cd000 [pid 698] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 697] <... write resumed>) = 524288 [pid 696] <... write resumed>) = 524288 [pid 697] munmap(0x7f11e81cd000, 138412032 [pid 696] munmap(0x7f11e81cd000, 138412032 [pid 700] <... mmap resumed>) = 0x7f11e81cd000 [ 31.189284][ T688] EXT4-fs (loop4): 1 truncate cleaned up [pid 699] 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"..., 524288 [pid 698] <... mmap resumed>) = 0x7f11e81cd000 [pid 696] <... munmap resumed>) = 0 [pid 700] 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"..., 524288 [pid 699] <... write resumed>) = 524288 [pid 697] <... munmap resumed>) = 0 [pid 697] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 696] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 697] <... openat resumed>) = 4 [pid 696] <... openat resumed>) = 4 [pid 697] ioctl(4, LOOP_SET_FD, 3 [pid 696] ioctl(4, LOOP_SET_FD, 3 [pid 699] munmap(0x7f11e81cd000, 138412032 [pid 698] 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"..., 524288 [pid 697] <... ioctl resumed>) = 0 [pid 696] <... ioctl resumed>) = 0 [pid 697] close(3 [pid 696] close(3 [pid 700] <... write resumed>) = 524288 [pid 699] <... munmap resumed>) = 0 [pid 698] <... write resumed>) = 524288 [pid 699] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 698] munmap(0x7f11e81cd000, 138412032 [pid 699] <... openat resumed>) = 4 [pid 698] <... munmap resumed>) = 0 [pid 699] ioctl(4, LOOP_SET_FD, 3 [pid 698] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 699] <... ioctl resumed>) = 0 [pid 698] <... openat resumed>) = 4 [pid 699] close(3) = 0 [pid 698] ioctl(4, LOOP_SET_FD, 3 [pid 699] close(4) = 0 [pid 698] <... ioctl resumed>) = 0 [pid 699] mkdir("./file0", 0777) = 0 [pid 698] close(3 [pid 699] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 698] <... close resumed>) = 0 [pid 698] close(4) = 0 [pid 698] mkdir("./file0", 0777 [pid 700] munmap(0x7f11e81cd000, 138412032) = 0 [pid 698] <... mkdir resumed>) = 0 [pid 700] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 698] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 700] <... openat resumed>) = 4 [pid 700] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 700] close(3) = 0 [pid 700] close(4) = 0 [pid 700] mkdir("./file0", 0777) = 0 [pid 700] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 697] <... close resumed>) = 0 [pid 697] close(4) = 0 [pid 697] mkdir("./file0", 0777) = 0 [pid 697] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 696] <... close resumed>) = 0 [pid 696] close(4) = 0 [pid 696] mkdir("./file0", 0777) = 0 [pid 696] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 700] <... mount resumed>) = 0 [pid 700] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 700] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 700] ioctl(4, LOOP_CLR_FD) = 0 [pid 700] close(4) = 0 [pid 700] exit_group(0) = ? [pid 700] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=700, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 310] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./38", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 31.265733][ T700] EXT4-fs (loop4): orphan cleanup on readonly fs [ 31.279558][ T698] EXT4-fs (loop0): orphan cleanup on readonly fs [ 31.285679][ T697] EXT4-fs (loop2): orphan cleanup on readonly fs [ 31.287377][ T700] EXT4-fs (loop4): 1 truncate cleaned up [ 31.304888][ T699] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 310] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 697] <... mount resumed>) = 0 [pid 697] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 697] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 697] ioctl(4, LOOP_CLR_FD) = 0 [pid 697] close(4) = 0 [pid 697] exit_group(0) = ? [pid 699] <... mount resumed>) = 0 [pid 697] +++ exited with 0 +++ [pid 698] <... mount resumed>) = 0 [pid 696] <... mount resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=697, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 699] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] <... restart_syscall resumed>) = 0 [pid 698] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 696] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 699] <... openat resumed>) = 3 [pid 698] <... openat resumed>) = 3 [pid 308] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./38", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 699] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 698] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 696] <... openat resumed>) = 3 [pid 699] <... openat resumed>) = 4 [pid 698] <... openat resumed>) = 4 [pid 696] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./38/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 699] ioctl(4, LOOP_CLR_FD [pid 698] ioctl(4, LOOP_CLR_FD [pid 310] openat(AT_FDCWD, "./38/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 699] <... ioctl resumed>) = 0 [pid 698] <... ioctl resumed>) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 699] close(4 [pid 698] close(4 [pid 310] rmdir("./38/file0" [pid 699] <... close resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 698] <... close resumed>) = 0 [pid 310] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./38/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./38/binderfs") = 0 [pid 699] exit_group(0 [pid 310] getdents64(3 [pid 698] exit_group(0 [pid 699] <... exit_group resumed>) = ? [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 698] <... exit_group resumed>) = ? [pid 310] close(3) = 0 [pid 310] rmdir("./38") = 0 [pid 310] mkdir("./39", 0777 [pid 308] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... mkdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 699] +++ exited with 0 +++ [pid 308] newfstatat(AT_FDCWD, "./38/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=699, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 308] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] openat(AT_FDCWD, "./38/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 698] +++ exited with 0 +++ [pid 310] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 4 [pid 310] ioctl(3, LOOP_CLR_FD [pid 308] fstat(4 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=698, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] close(3 [pid 308] getdents64(4 [pid 310] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 696] <... openat resumed>) = 4 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] getdents64(4 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] close(4 [pid 696] ioctl(4, LOOP_CLR_FD [pid 308] <... close resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 706 [pid 308] rmdir("./38/file0" [pid 696] <... ioctl resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... rmdir resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./38/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./38/binderfs" [pid 696] close(4 [pid 308] <... unlink resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 308] getdents64(3 [pid 696] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3 [pid 307] umount2("./37", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW [pid 696] exit_group(0 [pid 308] <... close resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] rmdir("./38" [pid 307] openat(AT_FDCWD, "./37", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./38", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 696] <... exit_group resumed>) = ? [pid 308] <... rmdir resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 308] mkdir("./39", 0777 [pid 307] fstat(3 [pid 306] fstat(3 [pid 308] <... mkdir resumed>) = 0 [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 696] +++ exited with 0 +++ [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] getdents64(3 [pid 306] getdents64(3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=696, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] <... openat resumed>) = 3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 706 attached [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 706] set_robust_list(0x5555866cd6a0, 24 [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=0x5555866cd690) = 707 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 707 attached [pid 707] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 707] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 707] chdir("./39") = 0 [pid 707] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 707] setpgid(0, 0 [pid 306] <... umount2 resumed>) = 0 [pid 707] <... setpgid resumed>) = 0 [pid 707] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 707] write(3, "1000", 4) = 4 [pid 707] close(3) = 0 [pid 707] symlink("/dev/binderfs", "./binderfs") = 0 [pid 707] write(1, "executing program\n", 18) = 18 [pid 707] memfd_create("syzkaller", 0) = 3 [pid 707] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] <... umount2 resumed>) = 0 [pid 707] 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"..., 524288 [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./38", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 executing program [pid 309] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 307] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./38/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./38/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./38/file0") = 0 [pid 309] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./38/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./38/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./38") = 0 [pid 309] mkdir("./39", 0777 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... mkdir resumed>) = 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=0x5555866cd690) = 708 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 707] <... write resumed>) = 524288 [pid 707] munmap(0x7f11e81cd000, 138412032 [pid 307] newfstatat(AT_FDCWD, "./37/file0" [pid 707] <... munmap resumed>) = 0 [pid 707] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./37/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./37/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 707] <... openat resumed>) = 4 [pid 707] ioctl(4, LOOP_SET_FD, 3 [pid 307] getdents64(4 [pid 707] <... ioctl resumed>) = 0 [pid 707] close(3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 707] <... close resumed>) = 0 [pid 707] close(4 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4 [pid 707] <... close resumed>) = 0 [pid 707] mkdir("./file0", 0777 [pid 307] <... close resumed>) = 0 [pid 307] rmdir("./37/file0" [pid 707] <... mkdir resumed>) = 0 [pid 707] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... rmdir resumed>) = 0 [pid 307] umount2("./37/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 706] <... set_robust_list resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 706] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 706] chdir("./39" [pid 307] newfstatat(AT_FDCWD, "./37/binderfs" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 706] <... chdir resumed>) = 0 [pid 706] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 706] setpgid(0, 0) = 0 [pid 706] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./38/file0" [pid 307] unlink("./37/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 706] <... openat resumed>) = 3 [pid 706] write(3, "1000", 4) = 4 [pid 706] close(3) = 0 [ 31.312407][ T697] EXT4-fs (loop2): 1 truncate cleaned up [ 31.318609][ T696] EXT4-fs (loop3): orphan cleanup on readonly fs [ 31.326218][ T698] EXT4-fs (loop0): 1 truncate cleaned up [ 31.332324][ T699] EXT4-fs (loop1): 1 truncate cleaned up [ 31.340279][ T696] EXT4-fs (loop3): 1 truncate cleaned up [pid 706] symlink("/dev/binderfs", "./binderfs") = 0 [pid 706] write(1, "executing program\n", 18 [pid 307] <... unlink resumed>) = 0 [pid 306] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 706] <... write resumed>) = 18 [pid 706] memfd_create("syzkaller", 0) = 3 [pid 706] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 706] 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"..., 524288) = 524288 [pid 706] munmap(0x7f11e81cd000, 138412032) = 0 [pid 706] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 706] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 706] close(3) = 0 [pid 706] close(4) = 0 [pid 706] mkdir("./file0", 0777) = 0 [pid 706] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" executing program [pid 307] close(3 [pid 306] openat(AT_FDCWD, "./38/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 307] rmdir("./37" [pid 306] fstat(4ci2-android-6-1/strace-static-x86_64: Process 708 attached [pid 307] <... rmdir resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 708] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 708] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 708] chdir("./39" [pid 306] getdents64(4 [pid 307] mkdir("./38", 0777 [pid 708] <... chdir resumed>) = 0 [pid 708] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 708] setpgid(0, 0) = 0 [pid 708] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 708] <... openat resumed>) = 3 [pid 708] write(3, "1000", 4) = 4 [pid 708] close(3) = 0 [pid 708] symlink("/dev/binderfs", "./binderfs" [pid 307] <... mkdir resumed>) = 0 [pid 306] getdents64(4 [pid 708] <... symlink resumed>) = 0 [pid 708] write(1, "executing program\n", 18) = 18 executing program [pid 708] memfd_create("syzkaller", 0) = 3 [pid 708] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] close(4 [pid 307] <... openat resumed>) = 3 [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./38/file0") = 0 [pid 306] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./38/binderfs" [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] close(3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... close resumed>) = 0 [pid 306] unlink("./38/binderfs") = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] getdents64(3 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3 [pid 708] 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"..., 524288ci2-android-6-1/strace-static-x86_64: Process 711 attached [pid 711] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 711] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 711] chdir("./38") = 0 [pid 711] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 711] setpgid(0, 0) = 0 [pid 711] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 711] write(3, "1000", 4) = 4 [pid 711] close(3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 711 [pid 306] <... close resumed>) = 0 [pid 711] <... close resumed>) = 0 [pid 711] symlink("/dev/binderfs", "./binderfs") = 0 [pid 711] write(1, "executing program\n", 18 [pid 306] rmdir("./38" [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 711] <... write resumed>) = 18 [pid 711] memfd_create("syzkaller", 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... rmdir resumed>) = 0 executing program [pid 711] <... memfd_create resumed>) = 3 [pid 306] mkdir("./39", 0777 [pid 711] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 306] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 708] <... write resumed>) = 524288 [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] close(3 [pid 711] 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"..., 524288 [pid 708] munmap(0x7f11e81cd000, 138412032) = 0 [pid 708] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 708] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 708] close(3) = 0 [pid 708] close(4) = 0 [pid 708] mkdir("./file0", 0777) = 0 [pid 708] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 711] <... write resumed>) = 524288 [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 711] munmap(0x7f11e81cd000, 138412032) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 713 [pid 711] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 711] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 711] close(3) = 0 [pid 711] close(4) = 0 [pid 711] mkdir("./file0", 0777 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 711] <... mkdir resumed>) = 0 [pid 711] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 713 attached [pid 713] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 713] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 713] chdir("./39") = 0 [pid 713] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 713] setpgid(0, 0) = 0 [pid 713] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 713] write(3, "1000", 4) = 4 [pid 713] close(3) = 0 [pid 713] symlink("/dev/binderfs", "./binderfs") = 0 [pid 713] write(1, "executing program\n", 18) = 18 [pid 713] memfd_create("syzkaller", 0) = 3 [pid 713] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 713] 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"..., 524288) = 524288 [pid 713] munmap(0x7f11e81cd000, 138412032) = 0 [pid 713] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 713] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 713] close(3) = 0 [pid 713] close(4) = 0 [pid 713] mkdir("./file0", 0777) = 0 [ 31.390128][ T707] EXT4-fs (loop2): orphan cleanup on readonly fs [ 31.404828][ T707] EXT4-fs (loop2): 1 truncate cleaned up [pid 713] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 707] <... mount resumed>) = 0 [pid 707] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 707] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 707] ioctl(4, LOOP_CLR_FD) = 0 [pid 707] close(4) = 0 [pid 707] exit_group(0) = ? [pid 707] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=707, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 308] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./39", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 711] <... mount resumed>) = 0 [pid 711] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 711] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 711] ioctl(4, LOOP_CLR_FD) = 0 [pid 711] close(4) = 0 [pid 711] exit_group(0) = ? [pid 711] +++ exited with 0 +++ [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./39/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=711, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 307] umount2("./38", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./38", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 31.430798][ T706] EXT4-fs (loop4): orphan cleanup on readonly fs [ 31.439702][ T711] EXT4-fs (loop1): orphan cleanup on readonly fs [ 31.442537][ T708] EXT4-fs (loop3): orphan cleanup on readonly fs [ 31.453864][ T711] EXT4-fs (loop1): 1 truncate cleaned up [ 31.460361][ T706] EXT4-fs (loop4): 1 truncate cleaned up [ 31.467927][ T713] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 307] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 708] <... mount resumed>) = 0 [pid 308] openat(AT_FDCWD, "./39/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 708] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] <... openat resumed>) = 4 [pid 708] <... openat resumed>) = 3 [pid 308] fstat(4 [pid 708] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 708] <... openat resumed>) = 4 [pid 308] getdents64(4 [pid 708] ioctl(4, LOOP_CLR_FD) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 708] close(4 [pid 308] getdents64(4 [pid 708] <... close resumed>) = 0 [pid 713] <... mount resumed>) = 0 [pid 706] <... mount resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 708] exit_group(0 [pid 308] close(4 [pid 708] <... exit_group resumed>) = ? [pid 308] <... close resumed>) = 0 [pid 706] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 708] +++ exited with 0 +++ [pid 706] <... openat resumed>) = 3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=708, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] rmdir("./39/file0" [pid 706] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 308] <... rmdir resumed>) = 0 [pid 706] ioctl(4, LOOP_CLR_FD [pid 308] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 706] <... ioctl resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 706] close(4 [pid 308] newfstatat(AT_FDCWD, "./39/binderfs" [pid 706] <... close resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 706] exit_group(0 [pid 308] unlink("./39/binderfs" [pid 706] <... exit_group resumed>) = ? [pid 706] +++ exited with 0 +++ [pid 308] <... unlink resumed>) = 0 [pid 308] getdents64(3 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=706, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] close(3) = 0 [pid 308] rmdir("./39" [pid 307] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rmdir resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] mkdir("./40", 0777 [pid 307] newfstatat(AT_FDCWD, "./38/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] umount2("./38/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 307] openat(AT_FDCWD, "./38/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] close(3 [pid 307] <... openat resumed>) = 4 [pid 308] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] fstat(4 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] 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 307] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 716 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./38/file0") = 0 [pid 307] umount2("./38/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./38/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./38/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./38" [pid 310] <... restart_syscall resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 307] mkdir("./39", 0777 [pid 310] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... mkdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] openat(AT_FDCWD, "./39", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... openat resumed>) = 3 [pid 310] <... openat resumed>) = 3 [pid 309] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] fstat(3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] openat(AT_FDCWD, "./39", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] <... openat resumed>) = 3 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] close(3) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 717 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 713] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 310] <... umount2 resumed>) = 0 [pid 309] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 713] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 713] ioctl(4, LOOP_CLR_FD) = 0 [pid 713] close(4) = 0 [pid 713] exit_group(0) = ? [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./39/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./39/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./39/file0") = 0 [pid 309] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] newfstatat(AT_FDCWD, "./39/file0" [pid 309] <... 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, "./39/binderfs" [pid 713] +++ exited with 0 +++ [pid 310] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... 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("./39/binderfs" [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=713, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] openat(AT_FDCWD, "./39/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... unlink resumed>) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... openat resumed>) = 4 [pid 309] getdents64(3 [pid 310] fstat(4 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] close(3 [pid 310] getdents64(4 [pid 309] <... close resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] rmdir("./39" [pid 310] getdents64(4 [pid 309] <... rmdir resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] mkdir("./40", 0777 [pid 310] close(4 [pid 309] <... mkdir resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] rmdir("./39/file0" [pid 309] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 310] <... rmdir resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] close(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... close resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./39/binderfs" [pid 309] rt_sigprocmask(SIG_BLOCK, ~[]ci2-android-6-1/strace-static-x86_64: Process 717 attached , [], 8) = 0 [pid 717] set_robust_list(0x5555866cd6a0, 24 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 717] <... set_robust_list resumed>) = 0 [pid 717] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 718 [pid 717] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 717] chdir("./39" [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 717] <... chdir resumed>) = 0 [pid 717] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 ci2-android-6-1/strace-static-x86_64: Process 716 attached [pid 717] setpgid(0, 0) = 0 [pid 716] set_robust_list(0x5555866cd6a0, 24 [pid 717] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 716] <... set_robust_list resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 717] <... openat resumed>) = 3 [pid 716] rt_sigprocmask(SIG_SETMASK, [] [pid 310] unlink("./39/binderfs" [pid 717] write(3, "1000", 4 [pid 716] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 717] <... write resumed>) = 4 [pid 716] chdir("./40" [pid 717] close(3 [pid 716] <... chdir resumed>) = 0 [pid 717] <... close resumed>) = 0 [pid 716] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 717] symlink("/dev/binderfs", "./binderfs" [pid 716] <... prctl resumed>) = 0 [pid 717] <... symlink resumed>) = 0 [pid 716] setpgid(0, 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 717] write(1, "executing program\n", 18 [pid 716] <... setpgid resumed>) = 0 executing program [pid 717] <... write resumed>) = 18 [pid 716] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... unlink resumed>) = 0 [pid 717] memfd_create("syzkaller", 0 [pid 716] <... openat resumed>) = 3 [pid 310] getdents64(3 [pid 306] umount2("./39", MNT_FORCE|UMOUNT_NOFOLLOW [pid 717] <... memfd_create resumed>) = 3 [pid 716] write(3, "1000", 4 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 717] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 716] <... write resumed>) = 4 [pid 310] close(3 [pid 306] openat(AT_FDCWD, "./39", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 717] <... mmap resumed>) = 0x7f11e81cd000 [pid 716] close(3 [pid 310] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 717] 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"..., 524288 [pid 716] <... close resumed>) = 0 [pid 310] rmdir("./39" [pid 306] fstat(3 [pid 716] symlink("/dev/binderfs", "./binderfs" [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 716] <... symlink resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 306] getdents64(3 [pid 716] write(1, "executing program\n", 18 [pid 310] mkdir("./40", 0777 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 executing program [pid 716] <... write resumed>) = 18 [pid 310] <... mkdir resumed>) = 0 [pid 306] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 716] memfd_create("syzkaller", 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLYci2-android-6-1/strace-static-x86_64: Process 718 attached [pid 716] <... memfd_create resumed>) = 3 [pid 310] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = 0 [pid 718] set_robust_list(0x5555866cd6a0, 24 [pid 716] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 31.477815][ T708] EXT4-fs (loop3): 1 truncate cleaned up [ 31.485540][ T713] EXT4-fs (loop0): 1 truncate cleaned up [pid 310] ioctl(3, LOOP_CLR_FD [pid 306] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 718] <... set_robust_list resumed>) = 0 [pid 716] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 718] rt_sigprocmask(SIG_SETMASK, [] [pid 717] <... write resumed>) = 524288 [pid 716] 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"..., 524288 [pid 310] close(3 [pid 306] newfstatat(AT_FDCWD, "./39/file0" [pid 718] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... close resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./39/file0", 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 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 718] chdir("./40" [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] getdents64(4 [pid 718] <... chdir resumed>) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./39/file0" [pid 718] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 306] <... rmdir resumed>) = 0 [pid 718] <... prctl resumed>) = 0 [pid 717] munmap(0x7f11e81cd000, 138412032 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 719 [pid 306] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 718] setpgid(0, 0 [pid 717] <... munmap resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 718] <... setpgid resumed>) = 0 [pid 717] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] newfstatat(AT_FDCWD, "./39/binderfs" [pid 718] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 717] <... openat resumed>) = 4 [pid 716] <... write resumed>) = 524288 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 718] <... openat resumed>) = 3 [pid 717] ioctl(4, LOOP_SET_FD, 3 [pid 716] munmap(0x7f11e81cd000, 138412032 [pid 306] unlink("./39/binderfs" [pid 718] write(3, "1000", 4 [pid 717] <... ioctl resumed>) = 0 [pid 716] <... munmap resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 718] <... write resumed>) = 4 [pid 717] close(3 [pid 716] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 306] getdents64(3 [pid 718] close(3 [pid 717] <... close resumed>) = 0 [pid 716] <... openat resumed>) = 4 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 718] <... close resumed>) = 0 [pid 717] close(4 [pid 716] ioctl(4, LOOP_SET_FD, 3 [pid 306] close(3 [pid 718] symlink("/dev/binderfs", "./binderfs" [pid 717] <... close resumed>) = 0 [pid 716] <... ioctl resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 717] mkdir("./file0", 0777 [pid 716] close(3 [pid 306] rmdir("./39" [pid 718] <... symlink resumed>) = 0 [pid 717] <... mkdir resumed>) = 0 [pid 716] <... close resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 718] write(1, "executing program\n", 18 [pid 717] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 716] close(4 executing program [pid 306] mkdir("./40", 0777 [pid 718] <... write resumed>) = 18 [pid 716] <... close resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 718] memfd_create("syzkaller", 0 [pid 716] mkdir("./file0", 0777 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 718] <... memfd_create resumed>) = 3 [pid 716] <... mkdir resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 718] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 716] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] ioctl(3, LOOP_CLR_FD [pid 718] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] <... ioctl resumed>) = -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, child_tidptr=0x5555866cd690) = 722 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 722 attached [pid 718] 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"..., 524288 [pid 722] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 722] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 722] chdir("./40"ci2-android-6-1/strace-static-x86_64: Process 719 attached [pid 718] <... write resumed>) = 524288 [pid 718] munmap(0x7f11e81cd000, 138412032) = 0 [pid 718] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 718] ioctl(4, LOOP_SET_FD, 3 [pid 722] <... chdir resumed>) = 0 [pid 722] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 718] <... ioctl resumed>) = 0 [pid 718] close(3) = 0 [pid 722] <... prctl resumed>) = 0 [pid 722] setpgid(0, 0) = 0 [pid 718] close(4) = 0 [pid 718] mkdir("./file0", 0777 [pid 722] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 718] <... mkdir resumed>) = 0 [pid 718] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 722] <... openat resumed>) = 3 [pid 722] write(3, "1000", 4) = 4 [pid 722] close(3) = 0 [pid 722] symlink("/dev/binderfs", "./binderfs") = 0 [pid 719] set_robust_list(0x5555866cd6a0, 24 [pid 722] write(1, "executing program\n", 18) = 18 [pid 719] <... set_robust_list resumed>) = 0 [pid 719] rt_sigprocmask(SIG_SETMASK, [] [pid 722] memfd_create("syzkaller", 0 [pid 719] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 719] chdir("./40" [pid 722] <... memfd_create resumed>) = 3 executing program [pid 719] <... chdir resumed>) = 0 [pid 722] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 719] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 719] setpgid(0, 0) = 0 [pid 722] 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"..., 524288 [pid 719] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 717] <... mount resumed>) = 0 [pid 719] <... openat resumed>) = 3 [pid 719] write(3, "1000", 4) = 4 [pid 719] close(3) = 0 [pid 719] symlink("/dev/binderfs", "./binderfs") = 0 [pid 717] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 719] write(1, "executing program\n", 18 [pid 717] <... openat resumed>) = 3 executing program [pid 719] <... write resumed>) = 18 [pid 719] memfd_create("syzkaller", 0 [pid 717] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 722] <... write resumed>) = 524288 [pid 719] <... memfd_create resumed>) = 3 [pid 717] <... openat resumed>) = 4 [pid 722] munmap(0x7f11e81cd000, 138412032 [pid 719] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 717] ioctl(4, LOOP_CLR_FD [pid 719] <... mmap resumed>) = 0x7f11e81cd000 [pid 717] <... ioctl resumed>) = 0 [ 31.568420][ T717] EXT4-fs (loop1): orphan cleanup on readonly fs [ 31.583868][ T716] EXT4-fs (loop2): orphan cleanup on readonly fs [ 31.586520][ T717] EXT4-fs (loop1): 1 truncate cleaned up [ 31.592458][ T718] EXT4-fs (loop3): orphan cleanup on readonly fs [ 31.604425][ T716] EXT4-fs (loop2): 1 truncate cleaned up [pid 717] close(4 [pid 722] <... munmap resumed>) = 0 [pid 719] 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"..., 524288 [pid 717] <... close resumed>) = 0 [pid 716] <... mount resumed>) = 0 [pid 718] <... mount resumed>) = 0 [pid 718] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 718] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 718] ioctl(4, LOOP_CLR_FD) = 0 [pid 718] close(4) = 0 [pid 718] exit_group(0) = ? [pid 718] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=718, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 719] <... write resumed>) = 524288 [pid 717] exit_group(0) = ? [pid 717] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=717, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 719] munmap(0x7f11e81cd000, 138412032 [pid 722] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 716] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 719] <... munmap resumed>) = 0 [pid 722] <... openat resumed>) = 4 [pid 719] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 722] ioctl(4, LOOP_SET_FD, 3 [pid 716] <... openat resumed>) = 3 [pid 309] <... restart_syscall resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 719] <... openat resumed>) = 4 [pid 309] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./39", 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, "./40", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./39", 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>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 719] ioctl(4, LOOP_SET_FD, 3 [pid 722] <... ioctl resumed>) = 0 [pid 719] <... ioctl resumed>) = 0 [pid 716] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./40/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./40/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./40/file0") = 0 [pid 309] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./40/binderfs" [pid 307] <... umount2 resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./40/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./40") = 0 [pid 309] mkdir("./41", 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=0x5555866cd690) = 724 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 724 attached [pid 724] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 724] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 724] chdir("./41") = 0 [pid 724] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 724] setpgid(0, 0) = 0 [pid 724] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 724] write(3, "1000", 4) = 4 [pid 724] close(3) = 0 [pid 724] symlink("/dev/binderfs", "./binderfs") = 0 [pid 724] write(1, "executing program\n", 18) = 18 executing program [pid 724] memfd_create("syzkaller", 0) = 3 [pid 724] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 719] close(3) = 0 [pid 724] 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"..., 524288 [pid 719] close(4) = 0 [pid 307] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 724] <... write resumed>) = 524288 [pid 724] munmap(0x7f11e81cd000, 138412032) = 0 [pid 724] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 724] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 724] ioctl(4, LOOP_CLR_FD) = 0 [pid 724] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 724] close(4) = 0 [pid 724] close(3 [pid 719] mkdir("./file0", 0777 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 719] <... mkdir resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./39/file0" [pid 724] <... close resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 722] close(3 [pid 719] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 724] exit_group(0) = ? [pid 724] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=724, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] umount2("./39/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 722] <... close resumed>) = 0 [pid 722] close(4 [pid 307] openat(AT_FDCWD, "./39/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 722] <... close resumed>) = 0 [pid 722] mkdir("./file0", 0777 [pid 307] fstat(4 [pid 716] <... openat resumed>) = 4 [pid 716] ioctl(4, LOOP_CLR_FD) = 0 [pid 716] close(4) = 0 [pid 716] exit_group(0) = ? [pid 722] <... mkdir resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4 [pid 722] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 716] +++ exited with 0 +++ [pid 309] <... restart_syscall resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=716, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] getdents64(4 [pid 309] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... openat resumed>) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] close(4 [pid 309] getdents64(3, 0x5555866ce750 /* 3 entries */, 32768) = 80 [pid 307] <... close resumed>) = 0 [pid 309] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] rmdir("./39/file0" [pid 309] newfstatat(AT_FDCWD, "./41/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./41/binderfs") = 0 [pid 307] <... rmdir resumed>) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./41") = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] umount2("./39/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] mkdir("./42", 0777 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... mkdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./39/binderfs" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] openat(AT_FDCWD, "./40", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] fstat(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 31.613979][ T718] EXT4-fs (loop3): 1 truncate cleaned up [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] close(3 [pid 308] getdents64(3 [pid 307] unlink("./39/binderfs" [pid 309] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... unlink resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 727 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] getdents64(3 [pid 308] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] close(3 [pid 308] newfstatat(AT_FDCWD, "./40/file0" [pid 307] <... close resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] rmdir("./39"ci2-android-6-1/strace-static-x86_64: Process 727 attached [pid 727] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 727] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 727] chdir("./42") = 0 [pid 727] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 727] setpgid(0, 0 [pid 308] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 727] <... setpgid resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] mkdir("./40", 0777 [pid 308] openat(AT_FDCWD, "./40/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 727] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... mkdir resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 727] <... openat resumed>) = 3 [pid 727] write(3, "1000", 4 [pid 308] fstat(4 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 307] <... openat resumed>) = 3 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] ioctl(3, LOOP_CLR_FD [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] close(4) = 0 [pid 307] close(3 [pid 308] rmdir("./40/file0" [pid 727] <... write resumed>) = 4 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 308] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] newfstatat(AT_FDCWD, "./40/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] unlink("./40/binderfs") = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 727] close(3) = 0 [pid 308] close(3) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 728 [pid 308] rmdir("./40" [pid 727] symlink("/dev/binderfs", "./binderfs" [pid 308] <... rmdir resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 727] <... symlink resumed>) = 0 [pid 727] write(1, "executing program\n", 18) = 18 executing program [pid 727] memfd_create("syzkaller", 0) = 3 [pid 727] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 308] mkdir("./41", 0777 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 727] 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"..., 524288) = 524288 [pid 727] munmap(0x7f11e81cd000, 138412032) = 0 [pid 727] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 308] <... mkdir resumed>) = 0 [pid 727] <... openat resumed>) = 4 [pid 727] ioctl(4, LOOP_SET_FD, 3 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 3 [pid 308] ioctl(3, LOOP_CLR_FDci2-android-6-1/strace-static-x86_64: Process 728 attached ) = -1 ENXIO (No such device or address) [pid 728] set_robust_list(0x5555866cd6a0, 24 [pid 308] close(3 [pid 728] <... set_robust_list resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 728] rt_sigprocmask(SIG_SETMASK, [] [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 728] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 728] chdir("./40" [pid 727] <... ioctl resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 727] close(3) = 0 [pid 727] close(4) = 0 [pid 727] mkdir("./file0", 0777ci2-android-6-1/strace-static-x86_64: Process 729 attached [pid 729] set_robust_list(0x5555866cd6a0, 24 [pid 728] <... chdir resumed>) = 0 [pid 727] <... mkdir resumed>) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 729 [pid 727] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 729] <... set_robust_list resumed>) = 0 [pid 728] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 728] setpgid(0, 0) = 0 [pid 728] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 728] write(3, "1000", 4) = 4 [pid 728] close(3) = 0 [pid 728] symlink("/dev/binderfs", "./binderfs") = 0 [pid 728] write(1, "executing program\n", 18) = 18 [pid 728] memfd_create("syzkaller", 0) = 3 [pid 728] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 728] 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"..., 524288 [pid 729] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 729] chdir("./41") = 0 [pid 729] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 729] setpgid(0, 0) = 0 [pid 729] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 729] write(3, "1000", 4) = 4 [pid 729] close(3) = 0 [pid 729] symlink("/dev/binderfs", "./binderfs") = 0 [pid 729] write(1, "executing program\n", 18) = 18 [pid 729] memfd_create("syzkaller", 0) = 3 [pid 729] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program executing program [pid 729] 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"..., 524288 [pid 728] <... write resumed>) = 524288 [ 31.661617][ T722] EXT4-fs (loop0): orphan cleanup on readonly fs [ 31.677528][ T719] EXT4-fs (loop4): orphan cleanup on readonly fs [ 31.693642][ T727] EXT4-fs (loop3): orphan cleanup on readonly fs [ 31.703367][ T722] EXT4-fs (loop0): 1 truncate cleaned up [pid 728] munmap(0x7f11e81cd000, 138412032) = 0 [pid 728] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 728] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 728] close(3) = 0 [pid 728] close(4) = 0 [pid 728] mkdir("./file0", 0777 [pid 729] <... write resumed>) = 524288 [pid 728] <... mkdir resumed>) = 0 [pid 722] <... mount resumed>) = 0 [pid 719] <... mount resumed>) = 0 [pid 729] munmap(0x7f11e81cd000, 138412032 [pid 728] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 722] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 719] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 729] <... munmap resumed>) = 0 [pid 722] <... openat resumed>) = 3 [pid 719] <... openat resumed>) = 3 [pid 729] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 722] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 719] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 729] <... openat resumed>) = 4 [pid 722] <... openat resumed>) = 4 [pid 719] <... openat resumed>) = 4 [pid 729] ioctl(4, LOOP_SET_FD, 3 [pid 722] ioctl(4, LOOP_CLR_FD [pid 719] ioctl(4, LOOP_CLR_FD [pid 729] <... ioctl resumed>) = 0 [pid 722] <... ioctl resumed>) = 0 [pid 719] <... ioctl resumed>) = 0 [pid 729] close(3 [pid 722] close(4 [pid 719] close(4 [pid 729] <... close resumed>) = 0 [pid 722] <... close resumed>) = 0 [pid 719] <... close resumed>) = 0 [pid 729] close(4 [pid 722] exit_group(0 [pid 719] exit_group(0 [pid 729] <... close resumed>) = 0 [pid 722] <... exit_group resumed>) = ? [pid 719] <... exit_group resumed>) = ? [pid 729] mkdir("./file0", 0777 [pid 722] +++ exited with 0 +++ [pid 719] +++ exited with 0 +++ [pid 729] <... mkdir resumed>) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=722, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 729] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=719, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./40", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 306] <... restart_syscall resumed>) = 0 [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 306] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "./40", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 310] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./40/file0" [pid 306] newfstatat(AT_FDCWD, "./40/file0" [pid 310] <... 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 310] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./40/file0", 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, "./40/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./40/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 4 [pid 306] <... openat resumed>) = 4 [pid 310] fstat(4 [pid 306] fstat(4 [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(4 [pid 306] getdents64(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4 [pid 306] getdents64(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4 [pid 306] close(4 [pid 727] <... mount resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 727] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] rmdir("./40/file0" [pid 306] rmdir("./40/file0" [pid 727] <... openat resumed>) = 3 [pid 310] <... rmdir resumed>) = 0 [ 31.709796][ T719] EXT4-fs (loop4): 1 truncate cleaned up [ 31.725549][ T727] EXT4-fs (loop3): 1 truncate cleaned up [ 31.732543][ T728] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 306] <... rmdir resumed>) = 0 [pid 727] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 727] <... openat resumed>) = 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 727] ioctl(4, LOOP_CLR_FD [pid 310] newfstatat(AT_FDCWD, "./40/binderfs" [pid 306] newfstatat(AT_FDCWD, "./40/binderfs" [pid 727] <... ioctl resumed>) = 0 [pid 310] <... 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 727] close(4 [pid 310] unlink("./40/binderfs" [pid 306] unlink("./40/binderfs" [pid 727] <... close resumed>) = 0 [pid 310] <... unlink resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 727] exit_group(0 [pid 310] getdents64(3 [pid 306] getdents64(3 [pid 727] <... exit_group resumed>) = ? [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 727] +++ exited with 0 +++ [pid 310] close(3 [pid 306] close(3 [pid 310] <... close resumed>) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=727, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] <... close resumed>) = 0 [pid 310] rmdir("./40" [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] rmdir("./40" [pid 310] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] mkdir("./41", 0777 [pid 306] mkdir("./41", 0777 [pid 310] <... mkdir resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 306] ioctl(3, LOOP_CLR_FD [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... restart_syscall resumed>) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] close(3 [pid 306] close(3 [pid 310] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... openat resumed>) = 3 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 733 [pid 309] fstat(3 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 734 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] getdents64(3 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 733 attached ci2-android-6-1/strace-static-x86_64: Process 734 attached [pid 734] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 734] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 734] chdir("./41") = 0 [pid 734] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 734] setpgid(0, 0) = 0 [pid 734] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 734] write(3, "1000", 4) = 4 [pid 734] close(3) = 0 [pid 734] symlink("/dev/binderfs", "./binderfs") = 0 [pid 734] write(1, "executing program\n", 18) = 18 executing program [pid 734] memfd_create("syzkaller", 0 [pid 733] set_robust_list(0x5555866cd6a0, 24 [pid 309] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 733] <... set_robust_list resumed>) = 0 [pid 729] <... mount resumed>) = 0 [pid 728] <... mount resumed>) = 0 [pid 734] <... memfd_create resumed>) = 3 [pid 734] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./42/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 734] 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"..., 524288 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 728] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./42/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 728] <... openat resumed>) = 3 [pid 309] fstat(4 [pid 728] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 733] rt_sigprocmask(SIG_SETMASK, [] [pid 309] getdents64(4 [pid 733] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 729] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 728] <... openat resumed>) = 4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 733] chdir("./41" [pid 734] <... write resumed>) = 524288 [pid 729] <... openat resumed>) = 3 [pid 728] ioctl(4, LOOP_CLR_FD [pid 309] getdents64(4 [pid 733] <... chdir resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 734] munmap(0x7f11e81cd000, 138412032 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./42/file0" [pid 733] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 729] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 728] <... ioctl resumed>) = 0 [pid 734] <... munmap resumed>) = 0 [pid 734] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 309] <... rmdir resumed>) = 0 [pid 734] ioctl(4, LOOP_SET_FD, 3 [pid 309] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 728] close(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 728] <... close resumed>) = 0 [pid 734] <... ioctl resumed>) = 0 [pid 734] close(3) = 0 [pid 734] close(4) = 0 [pid 734] mkdir("./file0", 0777) = 0 [pid 734] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 733] <... prctl resumed>) = 0 [pid 733] setpgid(0, 0) = 0 [pid 733] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 733] write(3, "1000", 4) = 4 [pid 733] close(3) = 0 [pid 733] symlink("/dev/binderfs", "./binderfs") = 0 [pid 733] write(1, "executing program\n", 18) = 18 [pid 733] memfd_create("syzkaller", 0) = 3 [pid 733] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] newfstatat(AT_FDCWD, "./42/binderfs" [pid 728] exit_group(0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 309] unlink("./42/binderfs" [pid 728] <... exit_group resumed>) = ? [pid 309] <... unlink resumed>) = 0 [pid 728] +++ exited with 0 +++ [pid 309] getdents64(3 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=728, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] close(3) = 0 [pid 309] rmdir("./42" [pid 733] 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"..., 524288 [pid 729] <... openat resumed>) = 4 [pid 309] <... rmdir resumed>) = 0 [pid 729] ioctl(4, LOOP_CLR_FD) = 0 [pid 729] close(4) = 0 [pid 309] mkdir("./43", 0777 [pid 729] exit_group(0) = ? [pid 309] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 729] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=729, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [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 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 736 [pid 308] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... openat resumed>) = 3 [ 31.758592][ T728] EXT4-fs (loop1): 1 truncate cleaned up [ 31.764910][ T729] EXT4-fs (loop2): orphan cleanup on readonly fs [ 31.775948][ T729] EXT4-fs (loop2): 1 truncate cleaned up [pid 307] umount2("./40", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] openat(AT_FDCWD, "./40", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... openat resumed>) = 3 [pid 733] <... write resumed>) = 524288 [pid 733] munmap(0x7f11e81cd000, 138412032) = 0 [pid 733] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 307] fstat(3ci2-android-6-1/strace-static-x86_64: Process 736 attached [pid 308] <... umount2 resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./41/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./41/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./41/file0") = 0 [pid 308] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./41/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./41/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./41" [pid 307] getdents64(3 [pid 308] <... rmdir resumed>) = 0 [pid 308] mkdir("./42", 0777 [pid 736] set_robust_list(0x5555866cd6a0, 24 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [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 [pid 736] <... set_robust_list resumed>) = 0 [pid 307] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 737 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 733] ioctl(4, LOOP_SET_FD, 3 [pid 736] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./40/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./40/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./40/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./40/file0") = 0 [pid 307] umount2("./40/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./40/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./40/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3ci2-android-6-1/strace-static-x86_64: Process 737 attached [pid 736] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 733] <... ioctl resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 736] chdir("./43") = 0 [pid 736] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 736] setpgid(0, 0) = 0 [pid 736] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 736] write(3, "1000", 4) = 4 [pid 736] close(3) = 0 [pid 736] symlink("/dev/binderfs", "./binderfs") = 0 [pid 736] write(1, "executing program\n", 18) = 18 executing program [pid 736] memfd_create("syzkaller", 0) = 3 [pid 736] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 736] 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"..., 524288) = 524288 [pid 736] munmap(0x7f11e81cd000, 138412032) = 0 [pid 736] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 736] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 736] close(3 [pid 307] rmdir("./40" [pid 736] <... close resumed>) = 0 [pid 736] close(4) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 736] mkdir("./file0", 0777) = 0 [pid 736] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 737] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 737] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 737] chdir("./42" [pid 733] close(3) = 0 [pid 733] close(4) = 0 [pid 737] <... chdir resumed>) = 0 [pid 737] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 737] setpgid(0, 0) = 0 [pid 737] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 733] mkdir("./file0", 0777 [pid 737] write(3, "1000", 4 [pid 307] mkdir("./41", 0777 [pid 737] <... write resumed>) = 4 [pid 737] close(3) = 0 [pid 733] <... mkdir resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 737] symlink("/dev/binderfs", "./binderfs" [pid 733] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [pid 737] <... symlink resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 737] write(1, "executing program\n", 18 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 737] <... write resumed>) = 18 [pid 307] close(3 [pid 737] memfd_create("syzkaller", 0 [pid 307] <... close resumed>) = 0 executing program [pid 737] <... memfd_create resumed>) = 3 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 737] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 737] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 737] 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"..., 524288) = 524288 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 740 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 737] munmap(0x7f11e81cd000, 138412032) = 0 [pid 737] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 737] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 737] close(3) = 0 [pid 737] close(4) = 0 [pid 737] mkdir("./file0", 0777) = 0 [ 31.821365][ T734] EXT4-fs (loop0): orphan cleanup on readonly fs [ 31.857752][ T734] EXT4-fs (loop0): 1 truncate cleaned up [pid 737] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 740 attached [pid 740] set_robust_list(0x5555866cd6a0, 24 [pid 734] <... mount resumed>) = 0 [pid 740] <... set_robust_list resumed>) = 0 [pid 740] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 740] chdir("./41") = 0 [pid 740] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 740] setpgid(0, 0) = 0 [pid 734] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 740] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 734] <... openat resumed>) = 3 [pid 740] <... openat resumed>) = 3 [pid 740] write(3, "1000", 4) = 4 [pid 740] close(3) = 0 [pid 740] symlink("/dev/binderfs", "./binderfs") = 0 [pid 740] write(1, "executing program\n", 18) = 18 executing program [pid 734] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 733] <... mount resumed>) = 0 [pid 734] <... openat resumed>) = 4 [pid 733] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 740] memfd_create("syzkaller", 0 [pid 733] <... openat resumed>) = 3 [pid 734] ioctl(4, LOOP_CLR_FD [pid 733] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 734] <... ioctl resumed>) = 0 [pid 733] ioctl(4, LOOP_CLR_FD) = 0 [pid 734] close(4 [pid 733] close(4) = 0 [pid 734] <... close resumed>) = 0 [pid 740] <... memfd_create resumed>) = 3 [pid 733] exit_group(0 [pid 740] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 734] exit_group(0 [pid 733] <... exit_group resumed>) = ? [pid 740] <... mmap resumed>) = 0x7f11e81cd000 [pid 734] <... exit_group resumed>) = ? [pid 733] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=733, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 734] +++ exited with 0 +++ [pid 310] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=734, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 736] <... mount resumed>) = 0 [pid 736] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./41", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 736] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./41/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 737] <... mount resumed>) = 0 [pid 736] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 737] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 736] <... openat resumed>) = 4 [pid 736] ioctl(4, LOOP_CLR_FD) = 0 [pid 736] close(4) = 0 [pid 736] exit_group(0) = ? [pid 736] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=736, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 737] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 737] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] openat(AT_FDCWD, "./41/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 737] <... openat resumed>) = 4 [pid 737] ioctl(4, LOOP_CLR_FD [pid 306] <... openat resumed>) = 4 [pid 737] <... ioctl resumed>) = 0 [pid 306] fstat(4 [pid 737] close(4 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 737] <... close resumed>) = 0 [pid 306] getdents64(4 [pid 737] exit_group(0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 737] <... exit_group resumed>) = ? [pid 306] getdents64(4 [pid 737] +++ exited with 0 +++ [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=737, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] close(4) = 0 [pid 306] rmdir("./41/file0") = 0 [pid 306] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./41/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./41/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./41") = 0 [pid 306] mkdir("./42", 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, child_tidptr=0x5555866cd690) = 742 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./43", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 740] 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"..., 524288 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 742 attached [pid 309] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 742] set_robust_list(0x5555866cd6a0, 24 [pid 310] <... umount2 resumed>) = 0 [pid 309] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 3 [pid 742] <... set_robust_list resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./43/file0" [pid 308] fstat(3 [pid 742] rt_sigprocmask(SIG_SETMASK, [] [pid 740] <... write resumed>) = 524288 [pid 310] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 742] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 740] munmap(0x7f11e81cd000, 138412032 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 742] chdir("./42" [pid 740] <... munmap resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./41/file0" [pid 308] getdents64(3 [pid 742] <... chdir resumed>) = 0 [pid 740] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 742] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 740] <... openat resumed>) = 4 [pid 310] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] openat(AT_FDCWD, "./43/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 742] <... prctl resumed>) = 0 [pid 740] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 4 [pid 742] setpgid(0, 0 [pid 740] <... ioctl resumed>) = 0 [pid 310] openat(AT_FDCWD, "./41/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [ 31.875414][ T736] EXT4-fs (loop3): orphan cleanup on readonly fs [ 31.885351][ T736] EXT4-fs (loop3): 1 truncate cleaned up [ 31.890374][ T733] EXT4-fs (loop4): orphan cleanup on readonly fs [ 31.899908][ T733] EXT4-fs (loop4): 1 truncate cleaned up [ 31.910215][ T737] EXT4-fs (loop2): orphan cleanup on readonly fs [ 31.918489][ T737] EXT4-fs (loop2): 1 truncate cleaned up [pid 308] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 742] <... setpgid resumed>) = 0 [pid 740] close(3 [pid 310] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 742] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 740] <... close resumed>) = 0 [pid 310] fstat(4 [pid 742] <... openat resumed>) = 3 [pid 740] close(4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 742] write(3, "1000", 4 [pid 740] <... close resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 742] <... write resumed>) = 4 [pid 740] mkdir("./file0", 0777 [pid 742] close(3 [pid 310] getdents64(4 [pid 742] <... close resumed>) = 0 [pid 740] <... mkdir resumed>) = 0 [pid 309] getdents64(4 [pid 308] <... umount2 resumed>) = 0 [pid 742] symlink("/dev/binderfs", "./binderfs" [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 742] <... symlink resumed>) = 0 [pid 740] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW executing program [pid 742] write(1, "executing program\n", 18 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] getdents64(4 [pid 742] <... write resumed>) = 18 [pid 310] close(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 742] memfd_create("syzkaller", 0 [pid 310] <... close resumed>) = 0 [pid 309] close(4 [pid 308] newfstatat(AT_FDCWD, "./42/file0" [pid 742] <... memfd_create resumed>) = 3 [pid 310] rmdir("./41/file0" [pid 742] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... rmdir resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 742] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 742] 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"..., 524288 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] rmdir("./43/file0" [pid 308] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 742] <... write resumed>) = 524288 [pid 310] newfstatat(AT_FDCWD, "./41/binderfs" [pid 742] munmap(0x7f11e81cd000, 138412032 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 742] <... munmap resumed>) = 0 [pid 310] unlink("./41/binderfs" [pid 309] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./42/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 742] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] <... unlink resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 742] <... openat resumed>) = 4 [pid 310] getdents64(3 [pid 308] <... openat resumed>) = 4 [pid 309] newfstatat(AT_FDCWD, "./43/binderfs" [pid 742] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] fstat(4 [pid 742] <... ioctl resumed>) = 0 [pid 310] close(3 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 742] close(3 [pid 310] <... close resumed>) = 0 [pid 309] unlink("./43/binderfs" [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 742] <... close resumed>) = 0 [pid 310] rmdir("./41" [pid 742] close(4 [pid 310] <... rmdir resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 308] getdents64(4 [pid 742] <... close resumed>) = 0 [pid 310] mkdir("./42", 0777 [pid 309] getdents64(3 [pid 742] mkdir("./file0", 0777 [pid 310] <... mkdir resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 742] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] close(3 [pid 308] getdents64(4 [pid 742] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... openat resumed>) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] rmdir("./43" [pid 308] close(4 [pid 310] close(3) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] mkdir("./44", 0777 [pid 308] rmdir("./42/file0" [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... mkdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 745 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] newfstatat(AT_FDCWD, "./42/binderfs" [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] close(3 [pid 308] unlink("./42/binderfs" [pid 309] <... close resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] getdents64(3 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3ci2-android-6-1/strace-static-x86_64: Process 746 attached ci2-android-6-1/strace-static-x86_64: Process 745 attached [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 746 [pid 308] <... close resumed>) = 0 [pid 746] set_robust_list(0x5555866cd6a0, 24 [pid 745] set_robust_list(0x5555866cd6a0, 24 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] rmdir("./42" [pid 746] <... set_robust_list resumed>) = 0 [pid 745] <... set_robust_list resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 745] rt_sigprocmask(SIG_SETMASK, [] [pid 308] mkdir("./43", 0777 [pid 746] rt_sigprocmask(SIG_SETMASK, [] [pid 745] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 746] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 745] chdir("./42" [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 746] chdir("./44") = 0 [pid 745] <... chdir resumed>) = 0 [pid 742] <... mount resumed>) = 0 [pid 740] <... mount resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 746] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 745] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] ioctl(3, LOOP_CLR_FD [pid 746] <... prctl resumed>) = 0 [pid 745] <... prctl resumed>) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 746] setpgid(0, 0 [pid 745] setpgid(0, 0 [pid 308] close(3 [pid 746] <... setpgid resumed>) = 0 [pid 745] <... setpgid resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 746] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 745] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 746] <... openat resumed>) = 3 [pid 745] <... openat resumed>) = 3 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 746] write(3, "1000", 4 [pid 745] write(3, "1000", 4 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 746] <... write resumed>) = 4 [pid 745] <... write resumed>) = 4 [pid 746] close(3 [pid 745] close(3 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 747 [pid 746] <... close resumed>) = 0 [pid 745] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 746] symlink("/dev/binderfs", "./binderfs" [pid 745] symlink("/dev/binderfs", "./binderfs" [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 746] <... symlink resumed>) = 0 [pid 745] <... symlink resumed>) = 0 [pid 740] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 746] write(1, "executing program\n", 18 [pid 745] write(1, "executing program\n", 18 [pid 740] <... openat resumed>) = 3 executing program executing program [pid 746] <... write resumed>) = 18 [pid 745] <... write resumed>) = 18 [pid 746] memfd_create("syzkaller", 0 [pid 745] memfd_create("syzkaller", 0 [pid 740] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 746] <... memfd_create resumed>) = 3 [pid 745] <... memfd_create resumed>) = 3 [pid 746] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 745] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 742] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 740] <... openat resumed>) = 4 [pid 746] <... mmap resumed>) = 0x7f11e81cd000 [pid 745] <... mmap resumed>) = 0x7f11e81cd000 ci2-android-6-1/strace-static-x86_64: Process 747 attached [pid 747] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 747] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 747] chdir("./43") = 0 [pid 747] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 747] setpgid(0, 0) = 0 [pid 747] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 746] 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"..., 524288 [pid 747] <... openat resumed>) = 3 [pid 747] write(3, "1000", 4) = 4 [pid 747] close(3) = 0 [pid 747] symlink("/dev/binderfs", "./binderfs") = 0 [pid 747] write(1, "executing program\n", 18) = 18 executing program [pid 745] 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"..., 524288 [pid 747] memfd_create("syzkaller", 0) = 3 [pid 747] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 747] 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"..., 524288 [pid 746] <... write resumed>) = 524288 [pid 745] <... write resumed>) = 524288 [pid 742] <... openat resumed>) = 3 [pid 740] ioctl(4, LOOP_CLR_FD [pid 746] munmap(0x7f11e81cd000, 138412032 [pid 745] munmap(0x7f11e81cd000, 138412032 [pid 746] <... munmap resumed>) = 0 [pid 745] <... munmap resumed>) = 0 [pid 746] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 745] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 746] <... openat resumed>) = 4 [pid 745] <... openat resumed>) = 4 [pid 746] ioctl(4, LOOP_SET_FD, 3 [pid 745] ioctl(4, LOOP_SET_FD, 3 [pid 747] <... write resumed>) = 524288 [pid 742] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 740] <... ioctl resumed>) = 0 [pid 740] close(4) = 0 [pid 740] exit_group(0) = ? [pid 740] +++ exited with 0 +++ [pid 742] <... openat resumed>) = 4 [pid 742] ioctl(4, LOOP_CLR_FD [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=740, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 742] <... ioctl resumed>) = 0 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 742] close(4) = 0 [pid 742] exit_group(0 [pid 747] munmap(0x7f11e81cd000, 138412032) = 0 [pid 742] <... exit_group resumed>) = ? [pid 742] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=742, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 747] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 747] <... openat resumed>) = 4 [pid 745] <... ioctl resumed>) = 0 [pid 747] ioctl(4, LOOP_SET_FD, 3 [pid 745] close(3 [pid 307] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 746] <... ioctl resumed>) = 0 [pid 746] close(3 [pid 307] umount2("./41", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOW [pid 746] <... close resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 746] close(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 746] <... close resumed>) = 0 [pid 307] openat(AT_FDCWD, "./41", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 746] mkdir("./file0", 0777 [pid 306] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 746] <... mkdir resumed>) = 0 [pid 745] <... close resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 307] fstat(3 [pid 745] close(4 [pid 306] fstat(3 [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 746] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 747] <... ioctl resumed>) = 0 [pid 747] close(3 [pid 745] <... close resumed>) = 0 [pid 307] getdents64(3 [pid 306] getdents64(3 [pid 745] mkdir("./file0", 0777 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 745] <... mkdir resumed>) = 0 [pid 307] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 745] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 747] <... close resumed>) = 0 [pid 747] close(4) = 0 [pid 747] mkdir("./file0", 0777) = 0 [pid 747] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... umount2 resumed>) = 0 [ 31.982852][ T740] EXT4-fs (loop1): orphan cleanup on readonly fs [ 31.993887][ T742] EXT4-fs (loop0): orphan cleanup on readonly fs [ 32.003069][ T740] EXT4-fs (loop1): 1 truncate cleaned up [ 32.009767][ T742] EXT4-fs (loop0): 1 truncate cleaned up [pid 307] <... umount2 resumed>) = 0 [pid 306] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./42/file0" [pid 307] newfstatat(AT_FDCWD, "./41/file0" [pid 306] <... 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("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./41/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./42/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./41/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 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 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4 [pid 306] getdents64(4 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4 [pid 306] close(4 [pid 307] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 307] rmdir("./41/file0" [pid 306] rmdir("./42/file0" [pid 307] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 307] umount2("./41/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./42/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./42/binderfs" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./42" [pid 307] newfstatat(AT_FDCWD, "./41/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./43", 0777 [pid 307] unlink("./41/binderfs") = 0 [pid 307] getdents64(3 [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 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./41" [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 751 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 307] mkdir("./42", 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=0x5555866cd690) = 752 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 751 attached [pid 751] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 751] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 751] chdir("./43") = 0 [pid 751] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 751] setpgid(0, 0) = 0 [ 32.055512][ T745] EXT4-fs (loop4): orphan cleanup on readonly fs [ 32.063583][ T747] EXT4-fs (loop2): orphan cleanup on readonly fs [ 32.079099][ T746] EXT4-fs (loop3): orphan cleanup on readonly fs [ 32.094067][ T745] EXT4-fs (loop4): 1 truncate cleaned up [pid 751] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 751] write(3, "1000", 4) = 4 [pid 751] close(3) = 0 [pid 745] <... mount resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 752 attached [pid 745] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 752] set_robust_list(0x5555866cd6a0, 24 [pid 747] <... mount resumed>) = 0 [pid 745] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 752] <... set_robust_list resumed>) = 0 [pid 747] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 745] <... openat resumed>) = 4 [pid 745] ioctl(4, LOOP_CLR_FD [pid 752] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 747] <... openat resumed>) = 3 [pid 745] <... ioctl resumed>) = 0 [pid 752] chdir("./42" [pid 747] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 745] close(4 [pid 752] <... chdir resumed>) = 0 [pid 747] <... openat resumed>) = 4 [pid 752] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 747] ioctl(4, LOOP_CLR_FD [pid 745] <... close resumed>) = 0 [pid 752] <... prctl resumed>) = 0 [pid 747] <... ioctl resumed>) = 0 [pid 752] setpgid(0, 0 [pid 745] exit_group(0 [pid 747] close(4 [pid 752] <... setpgid resumed>) = 0 [pid 745] <... exit_group resumed>) = ? [pid 747] <... close resumed>) = 0 [pid 752] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 751] symlink("/dev/binderfs", "./binderfs" [pid 745] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=745, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 747] exit_group(0 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 752] <... openat resumed>) = 3 [pid 747] <... exit_group resumed>) = ? [pid 752] write(3, "1000", 4 [pid 751] <... symlink resumed>) = 0 executing program [pid 751] write(1, "executing program\n", 18 [pid 752] <... write resumed>) = 4 [pid 751] <... write resumed>) = 18 [pid 751] memfd_create("syzkaller", 0 [pid 747] +++ exited with 0 +++ [pid 752] close(3) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=747, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 752] symlink("/dev/binderfs", "./binderfs" [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 752] <... symlink resumed>) = 0 [pid 751] <... memfd_create resumed>) = 3 [pid 752] write(1, "executing program\n", 18 [pid 746] <... mount resumed>) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 752] <... write resumed>) = 18 executing program [pid 746] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./42", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 751] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 752] memfd_create("syzkaller", 0 [pid 746] <... openat resumed>) = 3 [pid 308] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./43", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 752] <... memfd_create resumed>) = 3 [pid 752] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 310] <... umount2 resumed>) = 0 [pid 752] 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"..., 524288 [pid 308] <... umount2 resumed>) = 0 [pid 310] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 751] <... mmap resumed>) = 0x7f11e81cd000 [pid 308] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 752] <... write resumed>) = 524288 [pid 751] 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"..., 524288 [pid 310] newfstatat(AT_FDCWD, "./42/file0" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] newfstatat(AT_FDCWD, "./43/file0" [pid 310] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./42/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 4 [pid 308] openat(AT_FDCWD, "./43/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] fstat(4, {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>, 0x5555866d6790 /* 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>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... close resumed>) = 0 [pid 308] getdents64(4 [pid 310] rmdir("./42/file0" [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 308] close(4 [pid 310] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] rmdir("./43/file0" [pid 310] newfstatat(AT_FDCWD, "./42/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 310] unlink("./42/binderfs" [pid 308] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... unlink resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] getdents64(3 [pid 308] newfstatat(AT_FDCWD, "./43/binderfs" [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] close(3 [pid 308] unlink("./43/binderfs" [pid 310] <... close resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 310] rmdir("./42" [pid 308] getdents64(3 [pid 751] <... write resumed>) = 524288 [pid 310] <... rmdir resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 751] munmap(0x7f11e81cd000, 138412032 [pid 310] mkdir("./43", 0777 [pid 308] close(3 [pid 746] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 310] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 308] rmdir("./43" [pid 751] <... munmap resumed>) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 752] munmap(0x7f11e81cd000, 138412032 [pid 751] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... rmdir resumed>) = 0 [pid 746] ioctl(4, LOOP_CLR_FD) = 0 [pid 310] close(3 [pid 308] mkdir("./44", 0777 [pid 310] <... close resumed>) = 0 [pid 746] close(4 [pid 751] <... openat resumed>) = 4 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... mkdir resumed>) = 0 [pid 751] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... openat resumed>) = 3 [pid 746] <... close resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 753 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] close(3ci2-android-6-1/strace-static-x86_64: Process 753 attached [pid 752] <... munmap resumed>) = 0 [pid 751] <... ioctl resumed>) = 0 [pid 746] exit_group(0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... close resumed>) = 0 [pid 753] set_robust_list(0x5555866cd6a0, 24 [pid 751] close(3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 753] <... set_robust_list resumed>) = 0 [pid 751] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 753] rt_sigprocmask(SIG_SETMASK, [] [pid 752] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 751] close(4 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 753] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 752] <... openat resumed>) = 4 [pid 751] <... close resumed>) = 0 [pid 746] <... exit_group resumed>) = ? [pid 753] chdir("./43" [pid 752] ioctl(4, LOOP_SET_FD, 3 [pid 751] mkdir("./file0", 0777 [pid 746] +++ exited with 0 +++ [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 754 ci2-android-6-1/strace-static-x86_64: Process 754 attached [pid 753] <... chdir resumed>) = 0 [pid 752] <... ioctl resumed>) = 0 [pid 751] <... mkdir resumed>) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=746, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 753] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 752] close(3 [pid 751] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 754] set_robust_list(0x5555866cd6a0, 24 [pid 753] <... prctl resumed>) = 0 [pid 752] <... close resumed>) = 0 [pid 754] <... set_robust_list resumed>) = 0 [pid 754] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 32.101962][ T747] EXT4-fs (loop2): 1 truncate cleaned up [ 32.108926][ T746] EXT4-fs (loop3): 1 truncate cleaned up [pid 754] chdir("./44") = 0 [pid 754] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 754] setpgid(0, 0) = 0 [pid 754] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 309] <... restart_syscall resumed>) = 0 [pid 754] write(3, "1000", 4) = 4 [pid 754] close(3 [pid 309] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW [pid 754] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 754] symlink("/dev/binderfs", "./binderfs" [pid 309] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 754] <... symlink resumed>) = 0 [pid 753] setpgid(0, 0 [pid 309] <... openat resumed>) = 3 executing program [pid 754] write(1, "executing program\n", 18 [pid 309] fstat(3 [pid 754] <... write resumed>) = 18 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 754] memfd_create("syzkaller", 0 [pid 309] getdents64(3 [pid 754] <... memfd_create resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 754] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 754] <... mmap resumed>) = 0x7f11e81cd000 [pid 753] <... setpgid resumed>) = 0 [pid 752] close(4 [pid 753] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 752] <... close resumed>) = 0 [pid 753] <... openat resumed>) = 3 [pid 752] mkdir("./file0", 0777 [pid 753] write(3, "1000", 4 [pid 752] <... mkdir resumed>) = 0 [pid 753] <... write resumed>) = 4 [pid 752] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 753] close(3) = 0 [pid 753] symlink("/dev/binderfs", "./binderfs") = 0 [pid 753] write(1, "executing program\n", 18) = 18 [pid 309] <... umount2 resumed>) = 0 [pid 754] 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"..., 524288 executing program [pid 753] memfd_create("syzkaller", 0 [pid 309] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 753] <... memfd_create resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 753] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] newfstatat(AT_FDCWD, "./44/file0" [pid 753] 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"..., 524288 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 753] <... write resumed>) = 524288 [pid 309] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 753] munmap(0x7f11e81cd000, 138412032) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 753] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 309] openat(AT_FDCWD, "./44/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 753] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 309] <... openat resumed>) = 4 [pid 753] close(3) = 0 [pid 309] fstat(4 [pid 753] close(4) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 753] mkdir("./file0", 0777) = 0 [pid 753] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./44/file0") = 0 [pid 309] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./44/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./44/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [ 32.161278][ T751] EXT4-fs (loop0): orphan cleanup on readonly fs [ 32.179505][ T751] EXT4-fs (loop0): 1 truncate cleaned up [ 32.198036][ T752] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 309] rmdir("./44" [pid 751] <... mount resumed>) = 0 [pid 754] <... write resumed>) = 524288 [pid 752] <... mount resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 751] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 754] munmap(0x7f11e81cd000, 138412032 [pid 752] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] mkdir("./45", 0777 [pid 754] <... munmap resumed>) = 0 [pid 751] <... openat resumed>) = 3 [pid 751] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 751] ioctl(4, LOOP_CLR_FD) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 751] close(4 [pid 754] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 751] <... close resumed>) = 0 [pid 751] exit_group(0) = ? [pid 754] <... openat resumed>) = 4 [pid 752] <... openat resumed>) = 3 [pid 751] +++ exited with 0 +++ [pid 309] <... openat resumed>) = 3 [pid 754] ioctl(4, LOOP_SET_FD, 3 [pid 752] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=751, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 754] <... ioctl resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 754] close(3 [pid 309] close(3 [pid 754] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 754] close(4 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 754] <... close resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 754] mkdir("./file0", 0777 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 754] <... mkdir resumed>) = 0 [pid 754] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 758 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 752] <... openat resumed>) = 4 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./43", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYci2-android-6-1/strace-static-x86_64: Process 758 attached ) = 3 [pid 758] set_robust_list(0x5555866cd6a0, 24 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 758] <... set_robust_list resumed>) = 0 [pid 753] <... mount resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 758] rt_sigprocmask(SIG_SETMASK, [] [pid 752] ioctl(4, LOOP_CLR_FD) = 0 [pid 306] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 752] close(4) = 0 [pid 758] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 753] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 752] exit_group(0 [pid 758] chdir("./45" [pid 752] <... exit_group resumed>) = ? [pid 758] <... chdir resumed>) = 0 [pid 752] +++ exited with 0 +++ [pid 758] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=752, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 758] <... prctl resumed>) = 0 [pid 758] setpgid(0, 0) = 0 [pid 758] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 753] <... openat resumed>) = 3 [pid 758] write(3, "1000", 4 [pid 753] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 758] <... write resumed>) = 4 [pid 753] <... openat resumed>) = 4 [pid 758] close(3 [pid 753] ioctl(4, LOOP_CLR_FD [pid 758] <... close resumed>) = 0 [pid 753] <... ioctl resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 758] symlink("/dev/binderfs", "./binderfs" [pid 753] close(4 [pid 758] <... symlink resumed>) = 0 [pid 753] <... close resumed>) = 0 [pid 758] write(1, "executing program\n", 18 executing program [pid 753] exit_group(0 [pid 758] <... write resumed>) = 18 [pid 753] <... exit_group resumed>) = ? [pid 758] memfd_create("syzkaller", 0 [pid 753] +++ exited with 0 +++ [pid 758] <... memfd_create resumed>) = 3 [pid 758] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 758] 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"..., 524288 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=753, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./43/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./43/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 758] <... write resumed>) = 524288 [pid 306] <... openat resumed>) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4 [pid 307] umount2("./42", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./42", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... openat resumed>) = 3 [pid 306] getdents64(4 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 758] munmap(0x7f11e81cd000, 138412032 [pid 306] close(4 [pid 758] <... munmap resumed>) = 0 [pid 758] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 758] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 758] close(3) = 0 [pid 758] close(4) = 0 [pid 758] mkdir("./file0", 0777 [pid 307] <... umount2 resumed>) = 0 [pid 758] <... mkdir resumed>) = 0 [pid 758] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 754] <... mount resumed>) = 0 [pid 754] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 754] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 754] ioctl(4, LOOP_CLR_FD) = 0 [pid 754] close(4) = 0 [pid 307] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... close resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] rmdir("./43/file0" [pid 754] exit_group(0) = ? [pid 310] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./43", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 754] +++ exited with 0 +++ [pid 306] <... rmdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=754, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] fstat(3 [pid 306] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] getdents64(3 [pid 306] newfstatat(AT_FDCWD, "./43/binderfs" [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] newfstatat(AT_FDCWD, "./42/file0" [pid 306] unlink("./43/binderfs" [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./42/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./42/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] <... unlink resumed>) = 0 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./42/file0") = 0 [pid 307] umount2("./42/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./42/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./42/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./42") = 0 [pid 307] mkdir("./43", 0777) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] close(3 [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 306] <... close resumed>) = 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=0x5555866cd690) = 761 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 761 attached [pid 761] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 306] rmdir("./43" [pid 310] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] mkdir("./44", 0777 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./43/file0" [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 310] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] close(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 310] openat(AT_FDCWD, "./43/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... openat resumed>) = 4 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] fstat(4 [pid 308] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... openat resumed>) = 3 [pid 308] fstat(3 [pid 310] getdents64(4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 762 [pid 310] getdents64(4 [pid 308] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 762 attached [pid 761] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./43/file0") = 0 [pid 310] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./43/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./43/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./43") = 0 [pid 310] mkdir("./44", 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=0x5555866cd690) = 763 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 761] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 761] chdir("./43") = 0 ci2-android-6-1/strace-static-x86_64: Process 763 attached [pid 762] set_robust_list(0x5555866cd6a0, 24 [pid 761] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] <... umount2 resumed>) = 0 [ 32.206404][ T752] EXT4-fs (loop1): 1 truncate cleaned up [ 32.212760][ T753] EXT4-fs (loop4): orphan cleanup on readonly fs [ 32.222695][ T753] EXT4-fs (loop4): 1 truncate cleaned up [ 32.234829][ T754] EXT4-fs (loop2): orphan cleanup on readonly fs [ 32.242272][ T754] EXT4-fs (loop2): 1 truncate cleaned up [pid 308] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 763] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 763] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 763] chdir("./44") = 0 [pid 763] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 763] setpgid(0, 0) = 0 [pid 763] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 763] write(3, "1000", 4) = 4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 763] close(3) = 0 [pid 763] symlink("/dev/binderfs", "./binderfs") = 0 [pid 308] newfstatat(AT_FDCWD, "./44/file0" [pid 763] write(1, "executing program\n", 18) = 18 [pid 763] memfd_create("syzkaller", 0) = 3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 763] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 763] 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"..., 524288 [pid 761] <... prctl resumed>) = 0 [pid 308] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 761] setpgid(0, 0 [pid 308] openat(AT_FDCWD, "./44/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 761] <... setpgid 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 761] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 761] <... openat resumed>) = 3 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./44/file0" [pid 761] write(3, "1000", 4 [pid 763] <... write resumed>) = 524288 [pid 763] munmap(0x7f11e81cd000, 138412032 [pid 308] <... rmdir resumed>) = 0 [pid 308] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 761] <... write resumed>) = 4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 763] <... munmap resumed>) = 0 [pid 763] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 763] ioctl(4, LOOP_SET_FD, 3 [pid 308] newfstatat(AT_FDCWD, "./44/binderfs" [pid 761] close(3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./44/binderfs" [pid 763] <... ioctl resumed>) = 0 [pid 763] close(3) = 0 [pid 308] <... unlink resumed>) = 0 [pid 763] close(4 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 763] <... close resumed>) = 0 [pid 308] close(3 [pid 763] mkdir("./file0", 0777 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./44") = 0 [pid 763] <... mkdir resumed>) = 0 [pid 763] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] mkdir("./45", 0777 [pid 762] <... set_robust_list resumed>) = 0 [pid 762] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 762] chdir("./44") = 0 [pid 762] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 762] setpgid(0, 0) = 0 [pid 762] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 762] write(3, "1000", 4) = 4 [pid 762] close(3) = 0 [pid 762] symlink("/dev/binderfs", "./binderfs") = 0 [pid 762] write(1, "executing program\n", 18) = 18 [pid 762] memfd_create("syzkaller", 0) = 3 [pid 762] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 308] <... mkdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 762] 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"..., 524288) = 524288 [pid 762] munmap(0x7f11e81cd000, 138412032) = 0 [pid 762] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 762] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 762] close(3) = 0 [pid 762] close(4) = 0 [pid 762] mkdir("./file0", 0777) = 0 [pid 762] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... ioctl resumed>) = 0 [pid 308] close(3) = 0 executing program [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 761] <... close resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 765 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 765 attached [pid 765] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 765] rt_sigprocmask(SIG_SETMASK, [] [pid 761] symlink("/dev/binderfs", "./binderfs" [pid 765] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 765] chdir("./45") = 0 [pid 765] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 765] setpgid(0, 0) = 0 [pid 765] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 765] write(3, "1000", 4) = 4 [pid 765] close(3 [pid 761] <... symlink resumed>) = 0 [pid 765] <... close resumed>) = 0 [pid 765] symlink("/dev/binderfs", "./binderfs") = 0 [pid 765] write(1, "executing program\n", 18) = 18 [pid 765] memfd_create("syzkaller", 0) = 3 [pid 765] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 765] 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"..., 524288 [pid 761] write(1, "executing program\n", 18 [pid 765] <... write resumed>) = 524288 [pid 765] munmap(0x7f11e81cd000, 138412032) = 0 [pid 765] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 765] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 765] ioctl(4, LOOP_CLR_FD) = 0 executing program executing program [pid 761] <... write resumed>) = 18 [pid 765] ioctl(4, LOOP_SET_FD, 3 [pid 761] memfd_create("syzkaller", 0 [pid 765] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 765] close(4) = 0 [pid 761] <... memfd_create resumed>) = 3 [pid 765] close(3 [pid 761] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 765] <... close resumed>) = 0 [pid 765] exit_group(0) = ? [pid 765] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=765, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [ 32.289242][ T758] EXT4-fs (loop3): orphan cleanup on readonly fs [ 32.322765][ T758] EXT4-fs (loop3): 1 truncate cleaned up [ 32.331772][ T763] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 761] 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"..., 524288 [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./45", 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, 0x5555866ce750 /* 3 entries */, 32768) = 80 [pid 308] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./45/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./45/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./45") = 0 [pid 308] mkdir("./46", 0777) = 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=0x5555866cd690) = 767 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 761] <... write resumed>) = 524288 ci2-android-6-1/strace-static-x86_64: Process 767 attached [pid 767] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 763] <... mount resumed>) = 0 [pid 761] munmap(0x7f11e81cd000, 138412032 [pid 758] <... mount resumed>) = 0 [pid 767] rt_sigprocmask(SIG_SETMASK, [] [pid 763] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 758] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 761] <... munmap resumed>) = 0 [pid 758] <... openat resumed>) = 3 [pid 763] <... openat resumed>) = 3 [pid 767] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 763] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 761] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 758] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 767] chdir("./46" [pid 763] <... openat resumed>) = 4 [pid 761] <... openat resumed>) = 4 [pid 758] <... openat resumed>) = 4 [pid 767] <... chdir resumed>) = 0 [pid 763] ioctl(4, LOOP_CLR_FD [pid 767] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 761] ioctl(4, LOOP_SET_FD, 3 [pid 758] ioctl(4, LOOP_CLR_FD [pid 763] <... ioctl resumed>) = 0 [pid 767] <... prctl resumed>) = 0 [pid 761] <... ioctl resumed>) = 0 [pid 758] <... ioctl resumed>) = 0 [pid 767] setpgid(0, 0 [pid 763] close(4 [pid 761] close(3 [pid 758] close(4 [pid 767] <... setpgid resumed>) = 0 [pid 763] <... close resumed>) = 0 [pid 761] <... close resumed>) = 0 [pid 758] <... close resumed>) = 0 [pid 767] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 763] exit_group(0 [pid 761] close(4 [pid 758] exit_group(0 [pid 767] <... openat resumed>) = 3 [pid 763] <... exit_group resumed>) = ? [pid 758] <... exit_group resumed>) = ? [pid 767] write(3, "1000", 4 [pid 761] <... close resumed>) = 0 [pid 762] <... mount resumed>) = 0 [pid 763] +++ exited with 0 +++ [pid 762] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 762] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 758] +++ exited with 0 +++ [pid 767] <... write resumed>) = 4 [pid 761] mkdir("./file0", 0777 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=763, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 767] close(3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=758, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 761] <... mkdir resumed>) = 0 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 767] <... close resumed>) = 0 [pid 767] symlink("/dev/binderfs", "./binderfs" [pid 761] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... restart_syscall resumed>) = 0 [pid 767] <... symlink resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 767] write(1, "executing program\n", 18) = 18 executing program [pid 310] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW [pid 767] memfd_create("syzkaller", 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW [pid 767] <... memfd_create resumed>) = 3 [pid 310] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 767] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 310] <... openat resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] fstat(3 [pid 309] openat(AT_FDCWD, "./45", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... openat resumed>) = 3 [pid 310] getdents64(3 [pid 309] fstat(3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 767] 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"..., 524288 [pid 310] <... umount2 resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./44/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./44/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4 [pid 309] <... umount2 resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./44/file0") = 0 [pid 310] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./44/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./44/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./44") = 0 [pid 310] mkdir("./45", 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 [pid 309] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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, child_tidptr=0x5555866cd690) = 769 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 767] <... write resumed>) = 524288 [pid 762] <... openat resumed>) = 4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 762] ioctl(4, LOOP_CLR_FD) = 0 [pid 762] close(4) = 0 [pid 762] exit_group(0) = ? [pid 309] newfstatat(AT_FDCWD, "./45/file0" [pid 762] +++ exited with 0 +++ [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=762, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [ 32.343176][ T763] EXT4-fs (loop4): 1 truncate cleaned up [ 32.357314][ T762] EXT4-fs (loop0): orphan cleanup on readonly fs [ 32.365929][ T762] EXT4-fs (loop0): 1 truncate cleaned up [pid 309] openat(AT_FDCWD, "./45/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYci2-android-6-1/strace-static-x86_64: Process 769 attached [pid 769] set_robust_list(0x5555866cd6a0, 24 [pid 309] <... openat resumed>) = 4 [pid 306] <... restart_syscall resumed>) = 0 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./44", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... openat resumed>) = 3 [pid 309] getdents64(4 [pid 306] fstat(3 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 769] <... set_robust_list resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 769] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 769] chdir("./45") = 0 [pid 769] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] close(4 [pid 769] <... prctl resumed>) = 0 [pid 769] setpgid(0, 0) = 0 [pid 769] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 769] write(3, "1000", 4) = 4 [pid 769] close(3) = 0 [pid 309] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 767] munmap(0x7f11e81cd000, 138412032 [pid 761] <... mount resumed>) = 0 [pid 309] rmdir("./45/file0" [pid 306] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 769] symlink("/dev/binderfs", "./binderfs" [pid 767] <... munmap resumed>) = 0 [pid 761] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... rmdir resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./44/file0" [pid 761] <... openat resumed>) = 3 [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, "./45/binderfs" [pid 761] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] unlink("./45/binderfs" [pid 761] <... openat resumed>) = 4 [pid 306] openat(AT_FDCWD, "./44/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 769] <... symlink resumed>) = 0 [pid 767] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 761] ioctl(4, LOOP_CLR_FD [pid 309] <... unlink resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 761] <... ioctl resumed>) = 0 [pid 309] getdents64(3 [pid 306] fstat(4 [pid 769] write(1, "executing program\n", 18 [pid 767] <... openat resumed>) = 4 [pid 761] close(4 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 761] <... close resumed>) = 0 [pid 309] close(3 [pid 769] <... write resumed>) = 18 executing program [pid 767] ioctl(4, LOOP_SET_FD, 3 [pid 769] memfd_create("syzkaller", 0 [pid 761] exit_group(0 [pid 309] <... close resumed>) = 0 [pid 306] getdents64(4 [pid 767] <... ioctl resumed>) = 0 [pid 309] rmdir("./45" [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 769] <... memfd_create resumed>) = 3 [pid 767] close(3 [pid 761] <... exit_group resumed>) = ? [pid 769] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 767] <... close resumed>) = 0 [pid 769] <... mmap resumed>) = 0x7f11e81cd000 [pid 767] close(4 [pid 309] <... rmdir resumed>) = 0 [pid 306] getdents64(4 [pid 309] mkdir("./46", 0777 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 306] close(4 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] <... close resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 306] rmdir("./44/file0" [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] <... rmdir resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] close(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./44/binderfs" [pid 769] 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"..., 524288 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 767] <... close resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 767] mkdir("./file0", 0777 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] unlink("./44/binderfs" [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 770 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 306] close(3 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./44" [pid 769] <... write resumed>) = 524288 [pid 306] <... rmdir resumed>) = 0 [pid 767] <... mkdir resumed>) = 0 [pid 306] mkdir("./45", 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, child_tidptr=0x5555866cd690) = 771 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 771 attached [pid 771] set_robust_list(0x5555866cd6a0, 24 [pid 769] munmap(0x7f11e81cd000, 138412032 [pid 767] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 771] <... set_robust_list resumed>) = 0 [pid 771] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 771] chdir("./45"ci2-android-6-1/strace-static-x86_64: Process 770 attached [pid 769] <... munmap resumed>) = 0 [pid 761] +++ exited with 0 +++ [pid 769] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=761, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 771] <... chdir resumed>) = 0 [pid 770] set_robust_list(0x5555866cd6a0, 24 [pid 769] <... openat resumed>) = 4 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 769] ioctl(4, LOOP_SET_FD, 3 [pid 771] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 770] <... set_robust_list resumed>) = 0 [pid 769] <... ioctl resumed>) = 0 [pid 771] <... prctl resumed>) = 0 [pid 770] rt_sigprocmask(SIG_SETMASK, [] [pid 771] setpgid(0, 0 [pid 770] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 771] <... setpgid resumed>) = 0 [pid 770] chdir("./46" [pid 771] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 770] <... chdir resumed>) = 0 [pid 771] <... openat resumed>) = 3 [pid 770] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 769] close(3 [pid 771] write(3, "1000", 4 [pid 770] <... prctl resumed>) = 0 [pid 769] <... close resumed>) = 0 [pid 771] <... write resumed>) = 4 [pid 770] setpgid(0, 0 [pid 769] close(4 [pid 771] close(3 [pid 770] <... setpgid resumed>) = 0 [pid 769] <... close resumed>) = 0 [pid 771] <... close resumed>) = 0 [pid 770] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 771] symlink("/dev/binderfs", "./binderfs" [pid 770] <... openat resumed>) = 3 [pid 769] mkdir("./file0", 0777 [pid 771] <... symlink resumed>) = 0 [pid 770] write(3, "1000", 4 [pid 769] <... mkdir resumed>) = 0 [pid 771] write(1, "executing program\n", 18 [pid 770] <... write resumed>) = 4 executing program [pid 771] <... write resumed>) = 18 [pid 770] close(3 [pid 769] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 771] memfd_create("syzkaller", 0 [pid 770] <... close resumed>) = 0 [pid 771] <... memfd_create resumed>) = 3 [pid 770] symlink("/dev/binderfs", "./binderfs" [pid 771] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 770] <... symlink resumed>) = 0 [pid 771] <... mmap resumed>) = 0x7f11e81cd000 executing program [pid 770] write(1, "executing program\n", 18 [pid 771] 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"..., 524288 [pid 770] <... write resumed>) = 18 [pid 770] memfd_create("syzkaller", 0) = 3 [pid 770] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 770] 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"..., 524288 [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./43", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 771] <... write resumed>) = 524288 [pid 307] openat(AT_FDCWD, "./43", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 770] <... write resumed>) = 524288 [pid 307] <... openat resumed>) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3 [pid 771] munmap(0x7f11e81cd000, 138412032) = 0 [pid 770] munmap(0x7f11e81cd000, 138412032 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 770] <... munmap resumed>) = 0 [ 32.395615][ T761] EXT4-fs (loop1): orphan cleanup on readonly fs [ 32.410216][ T761] EXT4-fs (loop1): 1 truncate cleaned up [ 32.431469][ T767] EXT4-fs (loop2): orphan cleanup on readonly fs [ 32.439723][ T767] EXT4-fs (loop2): 1 truncate cleaned up [pid 771] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 770] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 771] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 770] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 770] close(3 [pid 771] close(3 [pid 770] <... close resumed>) = 0 [pid 771] <... close resumed>) = 0 [pid 770] close(4) = 0 [pid 771] close(4) = 0 [pid 770] mkdir("./file0", 0777 [pid 771] mkdir("./file0", 0777 [pid 770] <... mkdir resumed>) = 0 [pid 770] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 771] <... mkdir resumed>) = 0 [pid 771] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 767] <... mount resumed>) = 0 [pid 767] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 767] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./43/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./43/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./43/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./43/file0") = 0 [pid 307] umount2("./43/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./43/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 767] <... openat resumed>) = 4 [pid 769] <... mount resumed>) = 0 [pid 767] ioctl(4, LOOP_CLR_FD [pid 307] unlink("./43/binderfs" [pid 769] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 767] <... ioctl resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 767] close(4 [pid 307] getdents64(3 [pid 769] <... openat resumed>) = 3 [pid 767] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 769] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 767] exit_group(0 [pid 307] close(3) = 0 [pid 769] <... openat resumed>) = 4 [pid 307] rmdir("./43") = 0 [pid 769] ioctl(4, LOOP_CLR_FD [pid 767] <... exit_group resumed>) = ? [pid 769] <... ioctl resumed>) = 0 [pid 767] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=767, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 769] close(4 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 769] <... close resumed>) = 0 [pid 307] mkdir("./44", 0777 [pid 769] exit_group(0 [pid 307] <... mkdir resumed>) = 0 [pid 769] <... exit_group resumed>) = ? [pid 769] +++ exited with 0 +++ [ 32.462872][ T769] EXT4-fs (loop4): orphan cleanup on readonly fs [ 32.476351][ T769] EXT4-fs (loop4): 1 truncate cleaned up [ 32.491592][ T770] EXT4-fs (loop3): orphan cleanup on readonly fs [ 32.500217][ T771] EXT4-fs (loop0): orphan cleanup on readonly fs [ 32.502751][ T770] EXT4-fs (loop3): 1 truncate cleaned up [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] <... restart_syscall resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=769, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] <... openat resumed>) = 3 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] <... restart_syscall resumed>) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] close(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./46", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... close resumed>) = 0 [pid 310] openat(AT_FDCWD, "./45", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 3 [pid 310] <... openat resumed>) = 3 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] fstat(3 [pid 308] fstat(3 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [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 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] getdents64(3 [pid 771] <... mount resumed>) = 0 [pid 310] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 771] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 771] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 771] ioctl(4, LOOP_CLR_FD) = 0 [pid 771] close(4) = 0 [pid 771] exit_group(0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 776 [pid 771] <... exit_group resumed>) = ? ci2-android-6-1/strace-static-x86_64: Process 776 attached [pid 310] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 776] set_robust_list(0x5555866cd6a0, 24 [pid 770] <... mount resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 771] +++ exited with 0 +++ [pid 776] <... set_robust_list resumed>) = 0 [pid 770] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] <... umount2 resumed>) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=771, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 776] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 770] <... openat resumed>) = 3 [pid 776] chdir("./44" [pid 770] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 776] <... chdir resumed>) = 0 [pid 776] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./45", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 770] ioctl(4, LOOP_CLR_FD [pid 776] <... prctl resumed>) = 0 [pid 770] <... ioctl resumed>) = 0 [pid 776] setpgid(0, 0 [pid 770] close(4 [pid 776] <... setpgid resumed>) = 0 [pid 770] <... close resumed>) = 0 [pid 770] exit_group(0 [pid 308] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 770] <... exit_group resumed>) = ? [pid 770] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=770, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 776] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 310] <... umount2 resumed>) = 0 [pid 776] write(3, "1000", 4) = 4 [pid 776] close(3) = 0 [pid 776] symlink("/dev/binderfs", "./binderfs") = 0 [pid 776] write(1, "executing program\n", 18) = 18 executing program [pid 776] memfd_create("syzkaller", 0) = 3 [pid 776] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./46", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 776] 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"..., 524288) = 524288 [pid 776] munmap(0x7f11e81cd000, 138412032) = 0 [pid 776] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 309] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 309] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./46/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./46/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./46/file0") = 0 [pid 309] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./45/file0", 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, "./46/binderfs" [pid 306] newfstatat(AT_FDCWD, "./45/file0" [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./46/binderfs") = 0 [pid 306] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 306] openat(AT_FDCWD, "./45/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./46" [pid 306] <... openat resumed>) = 4 [pid 309] <... rmdir resumed>) = 0 [pid 309] mkdir("./47", 0777 [pid 306] fstat(4 [pid 309] <... mkdir resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] getdents64(4 [pid 310] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] getdents64(4 [pid 309] <... ioctl resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 306] close(4 [pid 309] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] newfstatat(AT_FDCWD, "./46/file0" [pid 306] <... close resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] rmdir("./45/file0" [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 777 [pid 306] <... rmdir resumed>) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 306] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./45/binderfs" [pid 310] newfstatat(AT_FDCWD, "./45/file0" [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./45/binderfs" [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./45") = 0 [pid 306] mkdir("./46", 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 310] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./46/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] openat(AT_FDCWD, "./45/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 4 [pid 310] <... openat resumed>) = 4 [pid 308] fstat(4 [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 308] getdents64(4 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 776] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 776] <... ioctl resumed>) = 0 [pid 310] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 776] close(3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 310] close(4 [pid 308] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 308] rmdir("./46/file0" [pid 310] rmdir("./45/file0" [pid 776] <... close resumed>) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 778 [pid 308] <... rmdir resumed>) = 0 [pid 776] close(4 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... rmdir resumed>) = 0 [pid 308] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 776] <... close resumed>) = 0 [pid 310] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 776] mkdir("./file0", 0777) = 0 [pid 776] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 777 attached [pid 777] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 777] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 777] chdir("./47" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./46/binderfs" [pid 310] newfstatat(AT_FDCWD, "./45/binderfs" [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./46/binderfs" [pid 310] unlink("./45/binderfs" [pid 777] <... chdir resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 310] <... unlink resumed>) = 0 [pid 308] getdents64(3 [pid 310] getdents64(3 [pid 777] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 777] setpgid(0, 0) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3 [pid 308] close(3 [pid 310] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 310] rmdir("./45" [pid 308] rmdir("./46" [pid 777] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... rmdir resumed>) = 0 [pid 777] <... openat resumed>) = 3 [pid 310] mkdir("./46", 0777 [pid 308] <... rmdir resumed>) = 0 [pid 777] write(3, "1000", 4) = 4 [pid 310] <... mkdir resumed>) = 0 [pid 308] mkdir("./47", 0777 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 777] close(3) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] <... openat resumed>) = 3 [pid 777] symlink("/dev/binderfs", "./binderfs" [pid 310] close(3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 777] <... symlink resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 777] write(1, "executing program\n", 18 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] close(3 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 executing program [pid 777] <... write resumed>) = 18 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... close resumed>) = 0 [pid 777] memfd_create("syzkaller", 0) = 3 [pid 777] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 780 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 777] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 781 [ 32.517981][ T771] EXT4-fs (loop0): 1 truncate cleaned up [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 778 attached ci2-android-6-1/strace-static-x86_64: Process 780 attached [pid 778] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 780] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 778] rt_sigprocmask(SIG_SETMASK, [] [pid 777] 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"..., 524288 [pid 780] rt_sigprocmask(SIG_SETMASK, [] [pid 778] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 780] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 778] chdir("./46") = 0 [pid 780] chdir("./46" [pid 778] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 777] <... write resumed>) = 524288 ci2-android-6-1/strace-static-x86_64: Process 781 attached [pid 781] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 780] <... chdir resumed>) = 0 [pid 778] <... prctl resumed>) = 0 [pid 780] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 778] setpgid(0, 0 [pid 780] <... prctl resumed>) = 0 [pid 778] <... setpgid resumed>) = 0 [pid 780] setpgid(0, 0 [pid 778] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 780] <... setpgid resumed>) = 0 [pid 778] <... openat resumed>) = 3 [pid 780] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 778] write(3, "1000", 4 [pid 780] <... openat resumed>) = 3 [pid 778] <... write resumed>) = 4 [pid 781] rt_sigprocmask(SIG_SETMASK, [] [pid 780] write(3, "1000", 4 [pid 778] close(3 [pid 781] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 780] <... write resumed>) = 4 [pid 778] <... close resumed>) = 0 [pid 781] chdir("./47" [pid 780] close(3 [pid 778] symlink("/dev/binderfs", "./binderfs" [pid 781] <... chdir resumed>) = 0 [pid 780] <... close resumed>) = 0 [pid 778] <... symlink resumed>) = 0 [pid 781] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 780] symlink("/dev/binderfs", "./binderfs" executing program [pid 778] write(1, "executing program\n", 18 [pid 781] <... prctl resumed>) = 0 [pid 780] <... symlink resumed>) = 0 [pid 778] <... write resumed>) = 18 [pid 777] munmap(0x7f11e81cd000, 138412032 [pid 781] setpgid(0, 0 executing program [pid 780] write(1, "executing program\n", 18 [pid 778] memfd_create("syzkaller", 0 [pid 781] <... setpgid resumed>) = 0 [pid 780] <... write resumed>) = 18 [pid 778] <... memfd_create resumed>) = 3 [pid 777] <... munmap resumed>) = 0 [pid 781] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 780] memfd_create("syzkaller", 0 [pid 778] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 781] <... openat resumed>) = 3 [pid 780] <... memfd_create resumed>) = 3 [pid 778] <... mmap resumed>) = 0x7f11e81cd000 [pid 781] write(3, "1000", 4 [pid 780] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 777] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 776] <... mount resumed>) = 0 [pid 781] <... write resumed>) = 4 [pid 780] <... mmap resumed>) = 0x7f11e81cd000 [pid 778] 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"..., 524288 [pid 777] <... openat resumed>) = 4 [pid 777] ioctl(4, LOOP_SET_FD, 3 [pid 776] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 780] 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"..., 524288 [pid 777] <... ioctl resumed>) = 0 [pid 776] <... openat resumed>) = 3 [pid 777] close(3 [pid 776] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 777] <... close resumed>) = 0 [pid 776] <... openat resumed>) = 4 [pid 777] close(4 [pid 776] ioctl(4, LOOP_CLR_FD [pid 777] <... close resumed>) = 0 [pid 776] <... ioctl resumed>) = 0 [pid 777] mkdir("./file0", 0777 [pid 776] close(4 [pid 777] <... mkdir resumed>) = 0 [pid 776] <... close resumed>) = 0 [pid 777] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 776] exit_group(0) = ? [pid 776] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=776, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 781] close(3) = 0 [pid 781] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 781] write(1, "executing program\n", 18) = 18 [pid 781] memfd_create("syzkaller", 0) = 3 [pid 780] <... write resumed>) = 524288 [pid 781] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 781] 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"..., 524288) = 524288 [pid 781] munmap(0x7f11e81cd000, 138412032 [pid 780] munmap(0x7f11e81cd000, 138412032 [pid 778] <... write resumed>) = 524288 [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./44", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./44", 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 780] <... munmap resumed>) = 0 [pid 778] munmap(0x7f11e81cd000, 138412032 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 781] <... munmap resumed>) = 0 [pid 781] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 781] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 781] close(3) = 0 [pid 781] close(4) = 0 [ 32.575158][ T776] EXT4-fs (loop1): orphan cleanup on readonly fs [ 32.597196][ T776] EXT4-fs (loop1): 1 truncate cleaned up [pid 781] mkdir("./file0", 0777) = 0 [pid 781] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 780] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 780] ioctl(4, LOOP_SET_FD, 3 [pid 778] <... munmap resumed>) = 0 [pid 778] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 778] ioctl(4, LOOP_SET_FD, 3 [pid 780] <... ioctl resumed>) = 0 [pid 778] <... ioctl resumed>) = 0 [pid 780] close(3 [pid 778] close(3 [pid 780] <... close resumed>) = 0 [pid 780] close(4 [pid 778] <... close resumed>) = 0 [pid 780] <... close resumed>) = 0 [pid 778] close(4 [pid 780] mkdir("./file0", 0777 [pid 778] <... close resumed>) = 0 [pid 780] <... mkdir resumed>) = 0 [pid 778] mkdir("./file0", 0777 [pid 780] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 778] <... mkdir resumed>) = 0 [pid 778] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./44/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./44/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./44/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./44/file0") = 0 [pid 307] umount2("./44/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./44/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./44/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./44") = 0 [pid 307] mkdir("./45", 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=0x5555866cd690) = 786 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 786 attached [pid 786] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 786] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 786] chdir("./45") = 0 [pid 786] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 786] setpgid(0, 0) = 0 [pid 786] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 786] write(3, "1000", 4) = 4 [pid 786] close(3) = 0 [pid 786] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 786] write(1, "executing program\n", 18) = 18 [pid 786] memfd_create("syzkaller", 0) = 3 [pid 786] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [ 32.621405][ T777] EXT4-fs (loop3): orphan cleanup on readonly fs [pid 786] 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"..., 524288) = 524288 [pid 786] munmap(0x7f11e81cd000, 138412032) = 0 [pid 786] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 786] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 786] close(3) = 0 [pid 786] close(4) = 0 [pid 786] mkdir("./file0", 0777) = 0 [pid 786] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 777] <... mount resumed>) = 0 [pid 777] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 777] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 777] ioctl(4, LOOP_CLR_FD) = 0 [pid 777] close(4) = 0 [pid 777] exit_group(0) = ? [pid 777] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=777, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 309] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./47", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 781] <... mount resumed>) = 0 [pid 309] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./47/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./47/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./47/file0") = 0 [pid 309] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./47/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./47/binderfs") = 0 [pid 309] getdents64(3 [pid 781] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./47") = 0 [pid 309] mkdir("./48", 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 781] <... openat resumed>) = 3 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 781] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 781] <... openat resumed>) = 4 ci2-android-6-1/strace-static-x86_64: Process 788 attached [pid 781] ioctl(4, LOOP_CLR_FD) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 788 [pid 788] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 781] close(4 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 781] <... close resumed>) = 0 [pid 781] exit_group(0) = ? [ 32.651285][ T781] EXT4-fs (loop2): orphan cleanup on readonly fs [ 32.658554][ T780] EXT4-fs (loop4): orphan cleanup on readonly fs [ 32.665408][ T777] EXT4-fs (loop3): 1 truncate cleaned up [ 32.672892][ T778] EXT4-fs (loop0): orphan cleanup on readonly fs [ 32.681154][ T786] EXT4-fs (loop1): orphan cleanup on readonly fs [ 32.689136][ T781] EXT4-fs (loop2): 1 truncate cleaned up [pid 781] +++ exited with 0 +++ [pid 788] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=781, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 788] chdir("./48" [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 788] <... chdir resumed>) = 0 [pid 788] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 788] setpgid(0, 0) = 0 [pid 788] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 788] write(3, "1000", 4) = 4 [pid 788] close(3) = 0 [pid 788] symlink("/dev/binderfs", "./binderfs") = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 788] write(1, "executing program\n", 18) = 18 [pid 788] memfd_create("syzkaller", 0 executing program [pid 308] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW [pid 788] <... memfd_create resumed>) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 788] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] openat(AT_FDCWD, "./47", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 788] <... mmap resumed>) = 0x7f11e81cd000 [pid 308] <... openat resumed>) = 3 [pid 308] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 788] 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"..., 524288 [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./47/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./47/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./47/file0") = 0 [pid 308] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./47/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./47/binderfs") = 0 [pid 308] getdents64(3 [pid 788] <... write resumed>) = 524288 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 788] munmap(0x7f11e81cd000, 138412032 [pid 308] close(3) = 0 [pid 308] rmdir("./47" [pid 788] <... munmap resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 788] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 308] mkdir("./48", 0777 [pid 788] <... openat resumed>) = 4 [pid 308] <... mkdir resumed>) = 0 [pid 788] ioctl(4, LOOP_SET_FD, 3 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 3 [pid 308] ioctl(3, LOOP_CLR_FD) = 0 [pid 788] <... ioctl resumed>) = 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=0x5555866cd690) = 789 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 788] close(3 [pid 780] <... mount resumed>) = 0 [pid 778] <... mount resumed>) = 0 [pid 788] <... close resumed>) = 0 [pid 780] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 778] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 788] close(4 [pid 780] <... openat resumed>) = 3 [pid 778] <... openat resumed>) = 3 [pid 788] <... close resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 789 attached [pid 789] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 789] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 789] chdir("./48") = 0 [pid 789] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 789] setpgid(0, 0) = 0 [pid 789] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 788] mkdir("./file0", 0777 [pid 780] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 778] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 788] <... mkdir resumed>) = 0 [pid 780] <... openat resumed>) = 4 [pid 778] <... openat resumed>) = 4 [pid 788] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 780] ioctl(4, LOOP_CLR_FD [pid 778] ioctl(4, LOOP_CLR_FD [pid 780] <... ioctl resumed>) = 0 [pid 778] <... ioctl resumed>) = 0 [pid 780] close(4 [pid 778] close(4 [pid 780] <... close resumed>) = 0 [pid 778] <... close resumed>) = 0 [pid 780] exit_group(0 [pid 778] exit_group(0 [pid 780] <... exit_group resumed>) = ? [pid 778] <... exit_group resumed>) = ? [pid 780] +++ exited with 0 +++ [pid 778] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=780, 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=778, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 789] write(3, "1000", 4 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./46", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 32.711059][ T780] EXT4-fs (loop4): 1 truncate cleaned up [ 32.718843][ T778] EXT4-fs (loop0): 1 truncate cleaned up [ 32.748412][ T786] EXT4-fs (loop1): 1 truncate cleaned up [pid 306] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 789] <... write resumed>) = 4 [pid 786] <... mount resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 786] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 786] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 786] ioctl(4, LOOP_CLR_FD) = 0 [pid 786] close(4) = 0 [pid 786] exit_group(0) = ? [pid 786] +++ exited with 0 +++ [pid 310] <... restart_syscall resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=786, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] umount2("./45", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./46", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 3 [pid 307] openat(AT_FDCWD, "./45", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] fstat(3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] newfstatat(AT_FDCWD, "./46/file0" [pid 307] fstat(3 [pid 310] getdents64(3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] getdents64(3 [pid 310] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "./46/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./46/file0" [pid 307] newfstatat(AT_FDCWD, "./45/file0" [pid 306] <... openat resumed>) = 4 [pid 310] <... 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] fstat(4 [pid 310] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./45/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./46/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./45/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] getdents64(4 [pid 310] <... openat resumed>) = 4 [pid 307] <... openat resumed>) = 4 [pid 310] fstat(4 [pid 307] fstat(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [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 306] getdents64(4 [pid 310] getdents64(4 [pid 307] getdents64(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] close(4 [pid 310] getdents64(4 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./46/file0" [pid 789] close(3 [pid 306] <... rmdir resumed>) = 0 [pid 789] <... close resumed>) = 0 [pid 306] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 789] symlink("/dev/binderfs", "./binderfs" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./46/binderfs" [pid 307] getdents64(4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] unlink("./46/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 307] close(4 [pid 310] close(4 [pid 306] rmdir("./46" [pid 310] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 789] <... symlink resumed>) = 0 [pid 789] write(1, "executing program\n", 18 [pid 306] <... rmdir resumed>) = 0 [pid 307] rmdir("./45/file0" [pid 310] rmdir("./46/file0" [pid 306] mkdir("./47", 0777 [pid 789] <... write resumed>) = 18 [pid 789] memfd_create("syzkaller", 0 [pid 307] <... rmdir resumed>) = 0 executing program [pid 789] <... memfd_create resumed>) = 3 [pid 306] <... mkdir resumed>) = 0 [pid 789] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 310] <... rmdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 307] umount2("./45/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... openat resumed>) = 3 [pid 310] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [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] newfstatat(AT_FDCWD, "./45/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 791 [pid 310] newfstatat(AT_FDCWD, "./46/binderfs" [pid 307] unlink("./45/binderfs" [pid 789] 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"..., 524288 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... unlink resumed>) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 791 attached [pid 791] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 310] unlink("./46/binderfs" [pid 307] getdents64(3 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... unlink resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] getdents64(3 [pid 307] close(3) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] rmdir("./45" [pid 791] rt_sigprocmask(SIG_SETMASK, [] [pid 310] close(3 [pid 307] <... rmdir resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./46" [pid 307] mkdir("./46", 0777 [pid 791] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 791] chdir("./47" [pid 310] <... rmdir resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 791] <... chdir resumed>) = 0 [pid 791] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 791] setpgid(0, 0 [pid 310] mkdir("./47", 0777 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... mkdir resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 791] <... setpgid resumed>) = 0 [pid 791] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 791] write(3, "1000", 4) = 4 [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] <... openat resumed>) = 3 [pid 791] close(3) = 0 [pid 791] symlink("/dev/binderfs", "./binderfs" [pid 310] ioctl(3, LOOP_CLR_FD [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] close(3 [pid 310] close(3 [pid 307] <... close resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 791] <... symlink resumed>) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 792 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 793 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 789] <... write resumed>) = 524288 [pid 791] write(1, "executing program\n", 18) = 18 executing program [pid 791] memfd_create("syzkaller", 0 [pid 789] munmap(0x7f11e81cd000, 138412032 [pid 791] <... memfd_create resumed>) = 3 [pid 789] <... munmap resumed>) = 0 [pid 791] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 789] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 789] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 789] close(3) = 0 [pid 789] close(4) = 0 [pid 789] mkdir("./file0", 0777) = 0 [pid 789] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 791] 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"..., 524288) = 524288 [pid 791] munmap(0x7f11e81cd000, 138412032) = 0 [pid 791] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 791] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 791] close(3) = 0 [pid 791] close(4) = 0 [ 32.770795][ T788] EXT4-fs (loop3): orphan cleanup on readonly fs [pid 791] mkdir("./file0", 0777) = 0 [pid 791] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 792 attached [pid 792] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 792] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 792] chdir("./46") = 0 [pid 792] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 792] setpgid(0, 0) = 0 [pid 792] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ci2-android-6-1/strace-static-x86_64: Process 793 attached [pid 792] write(3, "1000", 4 [pid 793] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 793] rt_sigprocmask(SIG_SETMASK, [] [pid 792] <... write resumed>) = 4 [pid 792] close(3) = 0 [pid 792] symlink("/dev/binderfs", "./binderfs" [pid 793] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 793] chdir("./47" [pid 792] <... symlink resumed>) = 0 [pid 793] <... chdir resumed>) = 0 [pid 792] write(1, "executing program\n", 18) = 18 executing program [pid 793] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 792] memfd_create("syzkaller", 0) = 3 [pid 792] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 793] <... prctl resumed>) = 0 [pid 792] <... mmap resumed>) = 0x7f11e81cd000 [pid 792] 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"..., 524288) = 524288 [pid 792] munmap(0x7f11e81cd000, 138412032) = 0 [pid 792] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 792] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 792] close(3) = 0 [pid 792] close(4 [pid 793] setpgid(0, 0) = 0 [pid 792] <... close resumed>) = 0 [pid 792] mkdir("./file0", 0777) = 0 [pid 792] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 788] <... mount resumed>) = 0 [pid 788] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 788] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 788] ioctl(4, LOOP_CLR_FD) = 0 [pid 788] close(4) = 0 [pid 788] exit_group(0) = ? [pid 793] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 788] +++ exited with 0 +++ [pid 793] <... openat resumed>) = 3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=788, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 793] write(3, "1000", 4 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 309] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 793] <... write resumed>) = 4 [pid 793] close(3 [pid 309] getdents64(3 [pid 793] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 793] symlink("/dev/binderfs", "./binderfs" [pid 309] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 793] <... symlink resumed>) = 0 [ 32.818145][ T788] EXT4-fs (loop3): 1 truncate cleaned up [ 32.830575][ T789] EXT4-fs (loop2): orphan cleanup on readonly fs [ 32.838624][ T791] EXT4-fs (loop0): orphan cleanup on readonly fs [ 32.852878][ T792] EXT4-fs (loop1): orphan cleanup on readonly fs [ 32.861914][ T791] EXT4-fs (loop0): 1 truncate cleaned up executing program [pid 793] write(1, "executing program\n", 18) = 18 [pid 793] memfd_create("syzkaller", 0 [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./48/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./48/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 793] <... memfd_create resumed>) = 3 [pid 793] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./48/file0") = 0 [pid 309] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./48/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./48/binderfs") = 0 [pid 309] getdents64(3 [pid 793] 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"..., 524288 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./48") = 0 [pid 309] mkdir("./49", 0777) = 0 [pid 793] <... write resumed>) = 524288 [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=0x5555866cd690) = 797 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 793] munmap(0x7f11e81cd000, 138412032) = 0 [pid 793] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 793] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 793] close(3) = 0 [pid 791] <... mount resumed>) = 0 [pid 793] close(4) = 0 ci2-android-6-1/strace-static-x86_64: Process 797 attached [pid 793] mkdir("./file0", 0777 [pid 791] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 789] <... mount resumed>) = 0 [pid 793] <... mkdir resumed>) = 0 [pid 793] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 791] <... openat resumed>) = 3 [pid 789] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 797] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 791] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 789] <... openat resumed>) = 3 [pid 797] rt_sigprocmask(SIG_SETMASK, [] [pid 791] <... openat resumed>) = 4 [pid 789] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 791] ioctl(4, LOOP_CLR_FD [pid 797] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 789] <... openat resumed>) = 4 [pid 791] <... ioctl resumed>) = 0 [pid 797] chdir("./49" [pid 791] close(4 [pid 789] ioctl(4, LOOP_CLR_FD [pid 797] <... chdir resumed>) = 0 [pid 791] <... close resumed>) = 0 [pid 789] <... ioctl resumed>) = 0 [pid 789] close(4 [pid 797] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 792] <... mount resumed>) = 0 [pid 791] exit_group(0 [pid 789] <... close resumed>) = 0 [pid 797] <... prctl resumed>) = 0 [pid 792] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 791] <... exit_group resumed>) = ? [pid 797] setpgid(0, 0 [pid 789] exit_group(0 [pid 797] <... setpgid resumed>) = 0 [pid 792] <... openat resumed>) = 3 [pid 791] +++ exited with 0 +++ [pid 789] <... exit_group resumed>) = ? [pid 797] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 789] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=791, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 797] <... openat resumed>) = 3 [pid 792] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=789, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 797] write(3, "1000", 4 [pid 793] <... mount resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 797] <... write resumed>) = 4 [pid 792] <... openat resumed>) = 4 [pid 797] close(3 [pid 793] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 797] <... close resumed>) = 0 [pid 792] ioctl(4, LOOP_CLR_FD [pid 797] symlink("/dev/binderfs", "./binderfs" [pid 793] <... openat resumed>) = 3 [pid 792] <... ioctl resumed>) = 0 [pid 797] <... symlink resumed>) = 0 [pid 793] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 792] close(4 [pid 797] write(1, "executing program\n", 18 [pid 793] <... openat resumed>) = 4 [pid 792] <... close resumed>) = 0 executing program [pid 797] <... write resumed>) = 18 [pid 793] ioctl(4, LOOP_CLR_FD [pid 792] exit_group(0 [pid 797] memfd_create("syzkaller", 0 [pid 793] <... ioctl resumed>) = 0 [pid 792] <... exit_group resumed>) = ? [pid 797] <... memfd_create resumed>) = 3 [pid 792] +++ exited with 0 +++ [pid 797] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 793] close(4 [pid 797] <... mmap resumed>) = 0x7f11e81cd000 [pid 793] <... close resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=792, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 797] 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"..., 524288 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 793] exit_group(0 [pid 797] <... write resumed>) = 524288 [pid 793] <... exit_group resumed>) = ? [pid 797] munmap(0x7f11e81cd000, 138412032 [pid 308] <... restart_syscall resumed>) = 0 [pid 793] +++ exited with 0 +++ [pid 308] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=793, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 797] <... munmap resumed>) = 0 [pid 308] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 797] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 308] <... openat resumed>) = 3 [pid 308] fstat(3 [pid 797] <... openat resumed>) = 4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 797] ioctl(4, LOOP_SET_FD, 3 [pid 308] getdents64(3 [pid 307] umount2("./46", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./46", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./47", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 307] fstat(3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 307] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = 0 [pid 797] <... ioctl resumed>) = 0 [pid 797] close(3) = 0 [pid 797] close(4) = 0 [pid 797] mkdir("./file0", 0777) = 0 [pid 797] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... restart_syscall resumed>) = 0 [pid 308] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./46/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./46/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./46/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = 0 [pid 310] openat(AT_FDCWD, "./47", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] fstat(4 [pid 306] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 3 [pid 308] newfstatat(AT_FDCWD, "./48/file0" [pid 310] fstat(3 [pid 307] getdents64(4 [pid 306] newfstatat(AT_FDCWD, "./47/file0" [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] getdents64(3 [pid 308] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./48/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] getdents64(4 [pid 306] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] close(4 [pid 306] openat(AT_FDCWD, "./47/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 307] rmdir("./46/file0" [pid 306] fstat(4 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] umount2("./46/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... umount2 resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./46/binderfs" [pid 306] getdents64(4 [pid 310] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 4 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] unlink("./46/binderfs" [pid 306] close(4 [pid 308] fstat(4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... unlink resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./47/file0" [pid 308] getdents64(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(3 [pid 306] rmdir("./47/file0" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(4 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "./47/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... openat resumed>) = 4 [pid 308] close(4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... close resumed>) = 0 [pid 307] close(3 [pid 306] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(4 [pid 308] rmdir("./48/file0" [pid 307] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] rmdir("./46" [pid 306] newfstatat(AT_FDCWD, "./47/binderfs" [pid 308] <... rmdir resumed>) = 0 [pid 310] getdents64(4 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] mkdir("./47", 0777 [pid 306] unlink("./47/binderfs" [pid 310] close(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... mkdir resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [ 32.869478][ T789] EXT4-fs (loop2): 1 truncate cleaned up [ 32.890097][ T792] EXT4-fs (loop1): 1 truncate cleaned up [ 32.898750][ T793] EXT4-fs (loop4): orphan cleanup on readonly fs [ 32.906168][ T793] EXT4-fs (loop4): 1 truncate cleaned up [pid 310] <... close resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./48/binderfs" [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] getdents64(3 [pid 310] rmdir("./47/file0" [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] close(3 [pid 310] <... rmdir resumed>) = 0 [pid 308] unlink("./48/binderfs" [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... close resumed>) = 0 [pid 310] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... unlink resumed>) = 0 [pid 307] close(3 [pid 306] rmdir("./47" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(3 [pid 307] <... close resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./47/binderfs" [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] mkdir("./48", 0777 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] close(3 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 310] unlink("./47/binderfs" [pid 308] <... close resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... unlink resumed>) = 0 [pid 308] rmdir("./48" [pid 306] <... openat resumed>) = 3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 800 [pid 306] ioctl(3, LOOP_CLR_FD [pid 310] getdents64(3 [pid 308] <... rmdir resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] mkdir("./49", 0777 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] close(3 [pid 310] close(3 [pid 306] <... close resumed>) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... close resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] rmdir("./47" [pid 308] <... openat resumed>) = 3 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] <... rmdir resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 310] mkdir("./48", 0777 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 801 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 308] close(3 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] ioctl(3, LOOP_CLR_FD [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] close(3ci2-android-6-1/strace-static-x86_64: Process 800 attached [pid 800] set_robust_list(0x5555866cd6a0, 24 [pid 310] <... close resumed>) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 802 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 800] <... set_robust_list resumed>) = 0 [pid 800] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 803 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 800] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 800] chdir("./47") = 0 [pid 800] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 800] setpgid(0, 0) = 0 [pid 800] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECci2-android-6-1/strace-static-x86_64: Process 801 attached [pid 801] set_robust_list(0x5555866cd6a0, 24 [pid 800] <... openat resumed>) = 3 [pid 801] <... set_robust_list resumed>) = 0 [pid 801] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 800] write(3, "1000", 4 [pid 801] chdir("./48" [pid 800] <... write resumed>) = 4 [pid 800] close(3) = 0 [pid 800] symlink("/dev/binderfs", "./binderfs" [pid 801] <... chdir resumed>) = 0 [pid 800] <... symlink resumed>) = 0 [pid 801] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 801] setpgid(0, 0) = 0 [pid 801] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 800] write(1, "executing program\n", 18) = 18 executing program [pid 801] write(3, "1000", 4) = 4 [pid 801] close(3) = 0 [pid 800] memfd_create("syzkaller", 0 [pid 801] symlink("/dev/binderfs", "./binderfs") = 0 [pid 800] <... memfd_create resumed>) = 3 [pid 800] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 801] write(1, "executing program\n", 18) = 18 executing program [pid 801] memfd_create("syzkaller", 0ci2-android-6-1/strace-static-x86_64: Process 803 attached ci2-android-6-1/strace-static-x86_64: Process 802 attached [pid 803] set_robust_list(0x5555866cd6a0, 24 [pid 802] set_robust_list(0x5555866cd6a0, 24 [pid 803] <... set_robust_list resumed>) = 0 [pid 802] <... set_robust_list resumed>) = 0 [pid 801] <... memfd_create resumed>) = 3 [pid 803] rt_sigprocmask(SIG_SETMASK, [] [pid 802] rt_sigprocmask(SIG_SETMASK, [] [pid 801] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 800] 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"..., 524288 [pid 803] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 802] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 801] <... mmap resumed>) = 0x7f11e81cd000 [pid 803] chdir("./48") = 0 [pid 802] chdir("./49" [pid 803] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 802] <... chdir resumed>) = 0 [pid 803] <... prctl resumed>) = 0 [pid 802] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 803] setpgid(0, 0 [pid 802] <... prctl resumed>) = 0 [pid 803] <... setpgid resumed>) = 0 [pid 802] setpgid(0, 0 [pid 803] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 802] <... setpgid resumed>) = 0 [pid 801] 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"..., 524288 [pid 800] <... write resumed>) = 524288 [pid 803] <... openat resumed>) = 3 [pid 802] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 803] write(3, "1000", 4 [pid 802] write(3, "1000", 4 [pid 803] <... write resumed>) = 4 [pid 802] <... write resumed>) = 4 [pid 803] close(3 [pid 802] close(3 [pid 803] <... close resumed>) = 0 [pid 802] <... close resumed>) = 0 [pid 803] symlink("/dev/binderfs", "./binderfs" [pid 802] symlink("/dev/binderfs", "./binderfs" [pid 803] <... symlink resumed>) = 0 [pid 802] <... symlink resumed>) = 0 [pid 803] write(1, "executing program\n", 18 [pid 802] write(1, "executing program\n", 18 [pid 803] <... write resumed>) = 18 [pid 802] <... write resumed>) = 18 executing program executing program [pid 803] memfd_create("syzkaller", 0 [pid 802] memfd_create("syzkaller", 0 [pid 803] <... memfd_create resumed>) = 3 [pid 802] <... memfd_create resumed>) = 3 [pid 803] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 802] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 803] <... mmap resumed>) = 0x7f11e81cd000 [pid 802] <... mmap resumed>) = 0x7f11e81cd000 [pid 800] munmap(0x7f11e81cd000, 138412032) = 0 [pid 800] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 800] ioctl(4, LOOP_SET_FD, 3 [pid 803] 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"..., 524288 [pid 802] 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"..., 524288 [pid 800] <... ioctl resumed>) = 0 [pid 800] close(3) = 0 [pid 800] close(4) = 0 [pid 800] mkdir("./file0", 0777) = 0 [pid 803] <... write resumed>) = 524288 [pid 802] <... write resumed>) = 524288 [pid 803] munmap(0x7f11e81cd000, 138412032 [pid 802] munmap(0x7f11e81cd000, 138412032) = 0 [pid 802] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 803] <... munmap resumed>) = 0 [pid 802] ioctl(4, LOOP_SET_FD, 3 [pid 803] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 802] <... ioctl resumed>) = 0 [pid 801] <... write resumed>) = 524288 [pid 800] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 797] <... mount resumed>) = 0 [pid 797] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 797] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 802] close(3 [pid 801] munmap(0x7f11e81cd000, 138412032 [pid 797] <... openat resumed>) = 4 [pid 802] <... close resumed>) = 0 [pid 802] close(4) = 0 [pid 801] <... munmap resumed>) = 0 [pid 797] ioctl(4, LOOP_CLR_FD [pid 803] <... openat resumed>) = 4 [pid 803] ioctl(4, LOOP_SET_FD, 3 [pid 802] mkdir("./file0", 0777 [pid 801] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 797] <... ioctl resumed>) = 0 [pid 803] <... ioctl resumed>) = 0 [pid 803] close(3) = 0 [pid 802] <... mkdir resumed>) = 0 [pid 803] close(4 [pid 801] <... openat resumed>) = 4 [pid 797] close(4) = 0 [pid 801] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 797] exit_group(0 [pid 803] <... close resumed>) = 0 [pid 803] mkdir("./file0", 0777) = 0 [pid 803] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 802] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 801] close(3 [pid 797] <... exit_group resumed>) = ? [pid 797] +++ exited with 0 +++ [pid 801] <... close resumed>) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=797, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 801] close(4) = 0 [pid 801] mkdir("./file0", 0777) = 0 [pid 801] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./49", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 32.972413][ T797] EXT4-fs (loop3): orphan cleanup on readonly fs [ 32.986753][ T797] EXT4-fs (loop3): 1 truncate cleaned up [ 33.010311][ T800] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 309] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 309] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./49/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./49/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./49/file0") = 0 [pid 309] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./49/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./49/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 800] <... mount resumed>) = 0 [pid 800] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 800] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 800] ioctl(4, LOOP_CLR_FD) = 0 [pid 800] close(4) = 0 [pid 800] exit_group(0) = ? [pid 800] +++ exited with 0 +++ [pid 309] rmdir("./49") = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=800, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] mkdir("./50", 0777) = 0 [pid 307] umount2("./47", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./47", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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 [ 33.030291][ T801] EXT4-fs (loop0): orphan cleanup on readonly fs [ 33.041540][ T802] EXT4-fs (loop2): orphan cleanup on readonly fs [ 33.051447][ T800] EXT4-fs (loop1): 1 truncate cleaned up [ 33.058720][ T802] EXT4-fs (loop2): 1 truncate cleaned up [ 33.065018][ T801] EXT4-fs (loop0): 1 truncate cleaned up [ 33.072249][ T803] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 808 attached [pid 808] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 808] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 808] chdir("./50" [pid 802] <... mount resumed>) = 0 [pid 808] <... chdir resumed>) = 0 [pid 808] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 808] setpgid(0, 0) = 0 [pid 808] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 808] write(3, "1000", 4) = 4 [pid 808] close(3) = 0 [pid 808] symlink("/dev/binderfs", "./binderfs") = 0 [pid 808] write(1, "executing program\n", 18) = 18 [pid 808] memfd_create("syzkaller", 0) = 3 [pid 808] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] <... umount2 resumed>) = 0 [pid 808] 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"..., 524288) = 524288 [pid 808] munmap(0x7f11e81cd000, 138412032) = 0 [pid 808] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 808] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 808] close(3) = 0 [pid 808] close(4) = 0 [pid 808] mkdir("./file0", 0777) = 0 [pid 808] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 808 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 802] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 executing program [pid 802] <... openat resumed>) = 3 [pid 307] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 802] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 802] ioctl(4, LOOP_CLR_FD [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 802] <... ioctl resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./47/file0" [pid 802] close(4) = 0 [pid 802] exit_group(0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 802] <... exit_group resumed>) = ? [pid 801] <... mount resumed>) = 0 [pid 801] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 801] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 802] +++ exited with 0 +++ [pid 307] umount2("./47/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=802, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 801] <... openat resumed>) = 4 [pid 801] ioctl(4, LOOP_CLR_FD) = 0 [pid 801] close(4) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./47/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 801] exit_group(0) = ? [pid 801] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=801, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 307] <... openat resumed>) = 4 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] fstat(4 [pid 803] <... mount resumed>) = 0 [pid 803] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 803] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 803] ioctl(4, LOOP_CLR_FD) = 0 [pid 803] close(4) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 803] exit_group(0) = ? [pid 307] getdents64(4 [pid 306] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] fstat(3 [pid 307] getdents64(4 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] close(4 [pid 306] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 803] +++ exited with 0 +++ [pid 308] <... restart_syscall resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=803, 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] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./49", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 307] rmdir("./47/file0" [pid 308] <... umount2 resumed>) = 0 [pid 310] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] fstat(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... rmdir resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] newfstatat(AT_FDCWD, "./49/file0" [pid 307] umount2("./47/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./49/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... umount2 resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 310] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] newfstatat(AT_FDCWD, "./47/binderfs" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] fstat(4 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] newfstatat(AT_FDCWD, "./48/file0" [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] unlink("./47/binderfs" [pid 808] <... mount resumed>) = 0 [pid 808] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 808] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 808] ioctl(4, LOOP_CLR_FD) = 0 [pid 808] close(4) = 0 [pid 808] exit_group(0) = ? [pid 308] getdents64(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 808] +++ exited with 0 +++ [pid 307] <... unlink resumed>) = 0 [pid 310] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=808, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(3 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(4 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./48/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./48/file0", 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 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] openat(AT_FDCWD, "./48/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] close(3 [pid 308] close(4 [pid 310] <... openat resumed>) = 4 [pid 307] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 310] fstat(4 [pid 308] rmdir("./49/file0" [pid 307] rmdir("./47" [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4 [pid 308] <... rmdir resumed>) = 0 [pid 310] getdents64(4 [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./48/file0" [pid 307] <... rmdir resumed>) = 0 [pid 308] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] getdents64(4 [pid 307] mkdir("./48", 0777 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] newfstatat(AT_FDCWD, "./49/binderfs" [pid 306] <... rmdir resumed>) = 0 [pid 310] close(4 [pid 306] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./48/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./48/binderfs" [pid 307] <... mkdir resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... close resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] unlink("./49/binderfs" [pid 310] rmdir("./48/file0" [pid 307] <... openat resumed>) = 3 [pid 308] <... unlink resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3 [pid 310] <... rmdir resumed>) = 0 [pid 308] getdents64(3 [pid 307] ioctl(3, LOOP_CLR_FD [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... close resumed>) = 0 [pid 310] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] close(3 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] rmdir("./48" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... close resumed>) = 0 [pid 307] close(3 [pid 310] newfstatat(AT_FDCWD, "./48/binderfs" [pid 308] rmdir("./49" [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... close resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 310] unlink("./48/binderfs" [pid 308] mkdir("./50", 0777 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... unlink resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./49", 0777 [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 310] getdents64(3 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] ioctl(3, LOOP_CLR_FD [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] close(3 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] openat(AT_FDCWD, "./50", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] close(3 [pid 310] <... close resumed>) = 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, ~[] [pid 310] rmdir("./48" [pid 308] <... close resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 811 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 811 attached [pid 811] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 811] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 811] chdir("./49") = 0 [pid 811] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 811] setpgid(0, 0) = 0 [pid 811] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... umount2 resumed>) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 811] <... openat resumed>) = 3 [pid 811] write(3, "1000", 4 [pid 310] <... rmdir resumed>) = 0 [pid 309] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 810 [pid 310] mkdir("./49", 0777 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] newfstatat(AT_FDCWD, "./50/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... mkdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 812 [pid 309] openat(AT_FDCWD, "./50/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... openat resumed>) = 4 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] fstat(4 [pid 310] <... openat resumed>) = 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] getdents64(4 [pid 310] close(3 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 310] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] rmdir("./50/file0") = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] newfstatat(AT_FDCWD, "./50/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 813 [pid 309] unlink("./50/binderfs") = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./50") = 0 [pid 309] mkdir("./51", 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=0x5555866cd690) = 814 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 810 attached ci2-android-6-1/strace-static-x86_64: Process 813 attached [pid 810] set_robust_list(0x5555866cd6a0, 24 [pid 813] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 810] <... set_robust_list resumed>) = 0 [pid 811] <... write resumed>) = 4 ci2-android-6-1/strace-static-x86_64: Process 812 attached ci2-android-6-1/strace-static-x86_64: Process 814 attached [pid 813] rt_sigprocmask(SIG_SETMASK, [] [pid 811] close(3 [pid 810] rt_sigprocmask(SIG_SETMASK, [] [pid 814] set_robust_list(0x5555866cd6a0, 24 [pid 813] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 812] set_robust_list(0x5555866cd6a0, 24 [pid 811] <... close resumed>) = 0 [pid 810] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 814] <... set_robust_list resumed>) = 0 [pid 813] chdir("./49" [pid 812] <... set_robust_list resumed>) = 0 [pid 811] symlink("/dev/binderfs", "./binderfs" [pid 810] chdir("./48") = 0 [pid 811] <... symlink resumed>) = 0 [pid 810] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 813] <... chdir resumed>) = 0 [pid 810] setpgid(0, 0 [pid 813] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 811] write(1, "executing program\n", 18 [pid 810] <... setpgid resumed>) = 0 [pid 810] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 813] <... prctl resumed>) = 0 executing program [pid 811] <... write resumed>) = 18 [pid 810] <... openat resumed>) = 3 [pid 813] setpgid(0, 0 [pid 811] memfd_create("syzkaller", 0 [pid 810] write(3, "1000", 4 [pid 813] <... setpgid resumed>) = 0 [pid 810] <... write resumed>) = 4 [pid 813] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 810] close(3 [pid 811] <... memfd_create resumed>) = 3 [pid 813] <... openat resumed>) = 3 [pid 811] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 810] <... close resumed>) = 0 [pid 813] write(3, "1000", 4 [pid 810] symlink("/dev/binderfs", "./binderfs" [pid 813] <... write resumed>) = 4 [pid 811] <... mmap resumed>) = 0x7f11e81cd000 [pid 810] <... symlink resumed>) = 0 [pid 813] close(3 [pid 810] write(1, "executing program\n", 18 [pid 813] <... close resumed>) = 0 [pid 810] <... write resumed>) = 18 [pid 813] symlink("/dev/binderfs", "./binderfs" [pid 810] memfd_create("syzkaller", 0 [pid 813] <... symlink resumed>) = 0 [pid 810] <... memfd_create resumed>) = 3 [pid 813] write(1, "executing program\n", 18 [pid 814] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 814] chdir("./51") = 0 [pid 814] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 814] setpgid(0, 0) = 0 [pid 814] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 814] write(3, "1000", 4) = 4 [pid 814] close(3) = 0 [pid 814] symlink("/dev/binderfs", "./binderfs") = 0 [pid 814] write(1, "executing program\n", 18) = 18 [pid 811] 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"..., 524288 [pid 810] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 813] <... write resumed>) = 18 executing program executing program executing program [pid 814] memfd_create("syzkaller", 0) = 3 [pid 814] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 810] <... mmap resumed>) = 0x7f11e81cd000 [pid 810] 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"..., 524288 [pid 813] memfd_create("syzkaller", 0 [pid 814] 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"..., 524288 [pid 813] <... memfd_create resumed>) = 3 [pid 813] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 814] <... write resumed>) = 524288 [pid 814] munmap(0x7f11e81cd000, 138412032 [pid 810] <... write resumed>) = 524288 [pid 814] <... munmap resumed>) = 0 [pid 814] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 814] ioctl(4, LOOP_SET_FD, 3 [pid 813] 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"..., 524288 [pid 812] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 812] chdir("./50") = 0 [pid 812] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 812] setpgid(0, 0) = 0 [pid 812] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 812] write(3, "1000", 4) = 4 [pid 812] close(3) = 0 [pid 812] symlink("/dev/binderfs", "./binderfs") = 0 [pid 812] write(1, "executing program\n", 18) = 18 [pid 812] memfd_create("syzkaller", 0) = 3 [pid 812] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 813] <... write resumed>) = 524288 executing program [pid 810] munmap(0x7f11e81cd000, 138412032 [pid 811] <... write resumed>) = 524288 [pid 810] <... munmap resumed>) = 0 [pid 811] munmap(0x7f11e81cd000, 138412032 [pid 813] munmap(0x7f11e81cd000, 138412032 [pid 812] 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"..., 524288 [pid 810] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 811] <... munmap resumed>) = 0 [pid 810] <... openat resumed>) = 4 [pid 813] <... munmap resumed>) = 0 [pid 814] <... ioctl resumed>) = 0 [pid 813] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 811] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 810] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 810] close(3) = 0 [pid 810] close(4) = 0 [pid 810] mkdir("./file0", 0777) = 0 [pid 811] <... openat resumed>) = 4 [pid 811] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 813] <... openat resumed>) = 4 [pid 811] close(3) = 0 [pid 811] close(4 [pid 813] ioctl(4, LOOP_SET_FD, 3 [pid 811] <... close resumed>) = 0 [pid 811] mkdir("./file0", 0777 [pid 810] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 813] <... ioctl resumed>) = 0 [pid 814] close(3) = 0 [pid 814] close(4 [ 33.088036][ T803] EXT4-fs (loop4): 1 truncate cleaned up [ 33.099771][ T808] EXT4-fs (loop3): orphan cleanup on readonly fs [ 33.116994][ T808] EXT4-fs (loop3): 1 truncate cleaned up [pid 813] close(3 [pid 814] <... close resumed>) = 0 [pid 813] <... close resumed>) = 0 [pid 813] close(4 [pid 811] <... mkdir resumed>) = 0 [pid 814] mkdir("./file0", 0777 [pid 813] <... close resumed>) = 0 [pid 814] <... mkdir resumed>) = 0 [pid 813] mkdir("./file0", 0777) = 0 [pid 811] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 814] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 813] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 812] <... write resumed>) = 524288 [pid 812] munmap(0x7f11e81cd000, 138412032) = 0 [pid 812] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 812] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 812] close(3) = 0 [pid 812] close(4) = 0 [pid 812] mkdir("./file0", 0777) = 0 [ 33.185196][ T811] EXT4-fs (loop0): orphan cleanup on readonly fs [ 33.193273][ T812] EXT4-fs (loop2): orphan cleanup on readonly fs [ 33.208943][ T814] EXT4-fs (loop3): orphan cleanup on readonly fs [ 33.209062][ T810] EXT4-fs (loop1): orphan cleanup on readonly fs [ 33.219482][ T813] EXT4-fs (loop4): orphan cleanup on readonly fs [ 33.228779][ T811] EXT4-fs (loop0): 1 truncate cleaned up [pid 812] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 813] <... mount resumed>) = 0 [pid 813] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 813] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 811] <... mount resumed>) = 0 [pid 813] <... openat resumed>) = 4 [pid 813] ioctl(4, LOOP_CLR_FD) = 0 [pid 813] close(4) = 0 [pid 813] exit_group(0) = ? [pid 813] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=813, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 811] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 812] <... mount resumed>) = 0 [pid 812] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 812] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 812] ioctl(4, LOOP_CLR_FD) = 0 [pid 812] close(4) = 0 [pid 811] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 812] exit_group(0 [pid 811] ioctl(4, LOOP_CLR_FD [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./49", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 812] <... exit_group resumed>) = ? [pid 811] <... ioctl resumed>) = 0 [pid 812] +++ exited with 0 +++ [pid 811] close(4) = 0 [pid 811] exit_group(0) = ? [pid 811] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=811, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=812, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 814] <... mount resumed>) = 0 [pid 814] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 814] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 814] ioctl(4, LOOP_CLR_FD) = 0 [pid 814] close(4) = 0 [pid 814] exit_group(0) = ? [pid 814] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=814, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 810] <... mount resumed>) = 0 [pid 810] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 810] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 810] ioctl(4, LOOP_CLR_FD) = 0 [pid 810] close(4) = 0 [pid 810] exit_group(0) = ? [pid 310] <... umount2 resumed>) = 0 [pid 810] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=810, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./49/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./49/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./49/file0") = 0 [pid 310] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] <... restart_syscall resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./49/binderfs" [pid 308] <... restart_syscall resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./49/binderfs" [pid 309] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... unlink resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./48", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(3 [pid 309] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... restart_syscall resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./48", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] close(3 [pid 309] fstat(3 [pid 308] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 310] <... close resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] fstat(3 [pid 307] fstat(3 [pid 310] rmdir("./49" [pid 309] getdents64(3 [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 310] <... rmdir resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] getdents64(3 [pid 307] getdents64(3 [pid 310] mkdir("./50", 0777 [pid 309] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./49", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... mkdir resumed>) = 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 309] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 309] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./51/file0" [pid 307] newfstatat(AT_FDCWD, "./48/file0" [pid 306] newfstatat(AT_FDCWD, "./49/file0" [pid 309] <... 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] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./48/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./51/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./48/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./49/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 4 [pid 307] <... openat resumed>) = 4 [pid 306] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 307] fstat(4 [pid 306] fstat(4 [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 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 307] getdents64(4 [pid 306] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 307] getdents64(4 [pid 306] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 307] close(4 [pid 306] close(4 [pid 309] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] rmdir("./51/file0" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] rmdir("./48/file0" [pid 306] rmdir("./49/file0" [pid 309] <... rmdir resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./50/file0" [pid 307] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 309] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./48/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./51/binderfs" [pid 307] newfstatat(AT_FDCWD, "./48/binderfs" [pid 306] newfstatat(AT_FDCWD, "./49/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 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./51/binderfs" [pid 308] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] unlink("./48/binderfs" [pid 306] unlink("./49/binderfs" [pid 309] <... unlink resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 309] getdents64(3 [pid 307] getdents64(3 [pid 306] getdents64(3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 307] close(3 [pid 306] close(3 [pid 309] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] rmdir("./51" [pid 307] rmdir("./48" [pid 306] rmdir("./49" [pid 310] close(3 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] mkdir("./52", 0777 [pid 308] openat(AT_FDCWD, "./50/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] mkdir("./49", 0777 [pid 306] mkdir("./50", 0777 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... mkdir resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 307] <... mkdir resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] fstat(4 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... openat resumed>) = 3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] getdents64(4 [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 307] close(3 [pid 306] close(3 [pid 309] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... close resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 820 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] getdents64(4 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] close(4 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./50/file0") = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./50/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./50/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./50"ci2-android-6-1/strace-static-x86_64: Process 823 attached ci2-android-6-1/strace-static-x86_64: Process 822 attached ci2-android-6-1/strace-static-x86_64: Process 820 attached [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 821 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 822 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 823 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] mkdir("./51", 0777ci2-android-6-1/strace-static-x86_64: Process 821 attached [pid 823] set_robust_list(0x5555866cd6a0, 24 [pid 822] set_robust_list(0x5555866cd6a0, 24 [pid 820] set_robust_list(0x5555866cd6a0, 24 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... openat resumed>) = 3 [pid 823] <... set_robust_list resumed>) = 0 [pid 822] <... set_robust_list resumed>) = 0 [pid 821] set_robust_list(0x5555866cd6a0, 24 [pid 820] <... set_robust_list resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] close(3) = 0 [pid 823] rt_sigprocmask(SIG_SETMASK, [] [pid 820] rt_sigprocmask(SIG_SETMASK, [] [pid 822] rt_sigprocmask(SIG_SETMASK, [] [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 821] <... set_robust_list resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 823] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 822] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 821] rt_sigprocmask(SIG_SETMASK, [] [pid 820] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 824 attached [pid 823] chdir("./50" [pid 822] chdir("./49" [pid 824] set_robust_list(0x5555866cd6a0, 24 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 824 [pid 824] <... set_robust_list resumed>) = 0 [pid 820] chdir("./50" [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 824] rt_sigprocmask(SIG_SETMASK, [] [pid 823] <... chdir resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 824] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 820] <... chdir resumed>) = 0 [pid 824] chdir("./51" [pid 823] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 820] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 824] <... chdir resumed>) = 0 [pid 824] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 824] setpgid(0, 0) = 0 [pid 824] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 823] <... prctl resumed>) = 0 [pid 820] <... prctl resumed>) = 0 [pid 822] <... chdir resumed>) = 0 [pid 824] <... openat resumed>) = 3 [pid 821] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 820] setpgid(0, 0 [pid 823] setpgid(0, 0) = 0 [pid 824] write(3, "1000", 4 [pid 823] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 822] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 820] <... setpgid resumed>) = 0 [pid 821] chdir("./52" [pid 823] <... openat resumed>) = 3 [pid 823] write(3, "1000", 4 [pid 824] <... write resumed>) = 4 [pid 822] <... prctl resumed>) = 0 [pid 821] <... chdir resumed>) = 0 [pid 820] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 823] <... write resumed>) = 4 [pid 823] close(3 [pid 824] close(3 [pid 823] <... close resumed>) = 0 [pid 822] setpgid(0, 0 [pid 821] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 820] <... openat resumed>) = 3 [pid 823] symlink("/dev/binderfs", "./binderfs" [pid 820] write(3, "1000", 4 [pid 824] <... close resumed>) = 0 [pid 822] <... setpgid resumed>) = 0 [pid 821] <... prctl resumed>) = 0 [pid 820] <... write resumed>) = 4 [pid 824] symlink("/dev/binderfs", "./binderfs" [pid 823] <... symlink resumed>) = 0 [pid 822] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 821] setpgid(0, 0 [pid 820] close(3 [pid 823] write(1, "executing program\n", 18 [pid 820] <... close resumed>) = 0 [pid 824] <... symlink resumed>) = 0 [pid 822] <... openat resumed>) = 3 [pid 821] <... setpgid resumed>) = 0 [pid 820] symlink("/dev/binderfs", "./binderfs" [pid 823] <... write resumed>) = 18 [pid 823] memfd_create("syzkaller", 0 executing program [pid 824] write(1, "executing program\n", 18 [pid 822] write(3, "1000", 4 [pid 821] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 820] <... symlink resumed>) = 0 [pid 824] <... write resumed>) = 18 [pid 823] <... memfd_create resumed>) = 3 [pid 822] <... write resumed>) = 4 [pid 820] write(1, "executing program\n", 18 [pid 821] <... openat resumed>) = 3 [pid 824] memfd_create("syzkaller", 0 [pid 822] close(3 [pid 820] <... write resumed>) = 18 [pid 821] write(3, "1000", 4 [pid 823] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 820] memfd_create("syzkaller", 0 [pid 822] <... close resumed>) = 0 [pid 824] <... memfd_create resumed>) = 3 executing program executing program [ 33.229607][ T813] EXT4-fs (loop4): 1 truncate cleaned up [ 33.236405][ T812] EXT4-fs (loop2): 1 truncate cleaned up [ 33.247099][ T814] EXT4-fs (loop3): 1 truncate cleaned up [ 33.255171][ T810] EXT4-fs (loop1): 1 truncate cleaned up [pid 823] <... mmap resumed>) = 0x7f11e81cd000 [pid 822] symlink("/dev/binderfs", "./binderfs" [pid 821] <... write resumed>) = 4 [pid 820] <... memfd_create resumed>) = 3 [pid 824] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 822] <... symlink resumed>) = 0 [pid 821] close(3 [pid 820] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 824] <... mmap resumed>) = 0x7f11e81cd000 [pid 822] write(1, "executing program\n", 18 [pid 821] <... close resumed>) = 0 [pid 820] <... mmap resumed>) = 0x7f11e81cd000 [pid 823] 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"..., 524288) = 524288 [pid 822] <... write resumed>) = 18 [pid 821] symlink("/dev/binderfs", "./binderfs" [pid 823] munmap(0x7f11e81cd000, 138412032 [pid 822] memfd_create("syzkaller", 0 [pid 823] <... munmap resumed>) = 0 [pid 822] <... memfd_create resumed>) = 3 executing program [pid 821] <... symlink resumed>) = 0 [pid 820] 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"..., 524288 [pid 823] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 823] ioctl(4, LOOP_SET_FD, 3 [pid 822] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 821] write(1, "executing program\n", 18 [pid 824] 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"..., 524288 [pid 822] <... mmap resumed>) = 0x7f11e81cd000 [pid 821] <... write resumed>) = 18 [pid 823] <... ioctl resumed>) = 0 [pid 823] close(3 [pid 821] memfd_create("syzkaller", 0) = 3 executing program [pid 821] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 824] <... write resumed>) = 524288 [pid 823] <... close resumed>) = 0 [pid 822] 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"..., 524288 [pid 821] <... mmap resumed>) = 0x7f11e81cd000 [pid 820] <... write resumed>) = 524288 [pid 824] munmap(0x7f11e81cd000, 138412032 [pid 823] close(4 [pid 821] 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"..., 524288 [pid 820] munmap(0x7f11e81cd000, 138412032) = 0 [pid 820] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 820] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 820] close(3) = 0 [pid 820] close(4) = 0 [pid 820] mkdir("./file0", 0777) = 0 [pid 821] <... write resumed>) = 524288 [pid 820] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 821] munmap(0x7f11e81cd000, 138412032) = 0 [pid 821] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 821] ioctl(4, LOOP_SET_FD, 3 [pid 824] <... munmap resumed>) = 0 [pid 823] <... close resumed>) = 0 [pid 822] <... write resumed>) = 524288 [pid 824] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 823] mkdir("./file0", 0777 [pid 824] <... openat resumed>) = 4 [pid 823] <... mkdir resumed>) = 0 [pid 822] munmap(0x7f11e81cd000, 138412032 [pid 824] ioctl(4, LOOP_SET_FD, 3 [pid 823] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 822] <... munmap resumed>) = 0 [pid 824] <... ioctl resumed>) = 0 [pid 822] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 824] close(3 [pid 822] <... openat resumed>) = 4 [pid 821] <... ioctl resumed>) = 0 [pid 824] <... close resumed>) = 0 [pid 822] ioctl(4, LOOP_SET_FD, 3 [pid 821] close(3 [pid 824] close(4 [pid 822] <... ioctl resumed>) = 0 [pid 821] <... close resumed>) = 0 [pid 824] <... close resumed>) = 0 [pid 822] close(3 [pid 821] close(4 [pid 824] mkdir("./file0", 0777 [pid 822] <... close resumed>) = 0 [pid 821] <... close resumed>) = 0 [pid 824] <... mkdir resumed>) = 0 [pid 822] close(4 [pid 821] mkdir("./file0", 0777 [pid 824] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 822] <... close resumed>) = 0 [pid 821] <... mkdir resumed>) = 0 [pid 822] mkdir("./file0", 0777 [pid 821] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 822] <... mkdir resumed>) = 0 [ 33.335752][ T820] EXT4-fs (loop4): orphan cleanup on readonly fs [ 33.354739][ T823] EXT4-fs (loop0): orphan cleanup on readonly fs [ 33.361956][ T820] EXT4-fs (loop4): 1 truncate cleaned up [ 33.368851][ T821] EXT4-fs (loop3): orphan cleanup on readonly fs [ 33.376253][ T822] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 822] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 820] <... mount resumed>) = 0 [pid 820] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 820] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 820] ioctl(4, LOOP_CLR_FD) = 0 [pid 820] close(4) = 0 [pid 820] exit_group(0 [pid 823] <... mount resumed>) = 0 [pid 822] <... mount resumed>) = 0 [pid 820] <... exit_group resumed>) = ? [pid 822] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 823] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 820] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=820, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 822] <... openat resumed>) = 3 [pid 822] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 821] <... mount resumed>) = 0 [pid 310] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW [pid 822] ioctl(4, LOOP_CLR_FD [pid 821] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 822] <... ioctl resumed>) = 0 [pid 310] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 822] close(4 [pid 310] <... openat resumed>) = 3 [pid 822] <... close resumed>) = 0 [pid 821] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 823] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 822] exit_group(0 [pid 821] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 822] <... exit_group resumed>) = ? [pid 823] <... openat resumed>) = 4 [pid 310] getdents64(3 [pid 823] ioctl(4, LOOP_CLR_FD) = 0 [pid 823] close(4 [pid 822] +++ exited with 0 +++ [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 821] <... openat resumed>) = 4 [pid 310] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=822, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 821] ioctl(4, LOOP_CLR_FD [pid 823] <... close resumed>) = 0 [pid 821] <... ioctl resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 821] close(4 [pid 823] exit_group(0 [pid 821] <... close resumed>) = 0 [pid 310] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 823] <... exit_group resumed>) = ? [pid 821] exit_group(0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 821] <... exit_group resumed>) = ? [pid 823] +++ exited with 0 +++ [pid 821] +++ exited with 0 +++ [pid 310] newfstatat(AT_FDCWD, "./50/file0" [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=823, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=821, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 824] <... mount resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./50/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 310] fstat(4 [pid 824] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./50/file0") = 0 [pid 310] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./50/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./50/binderfs") = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 310] getdents64(3 [pid 309] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./49", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./50", 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, "./52", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./49", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] fstat(3 [pid 307] <... openat resumed>) = 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] fstat(3 [pid 306] <... openat resumed>) = 3 [pid 309] getdents64(3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] getdents64(3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] getdents64(3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 307] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] close(3 [pid 309] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rmdir("./50" [pid 309] newfstatat(AT_FDCWD, "./52/file0" [pid 310] <... rmdir resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] mkdir("./51", 0777 [pid 309] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... mkdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] openat(AT_FDCWD, "./52/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 4 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] fstat(4 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] close(3 [pid 309] getdents64(4 [pid 307] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = 0 [pid 310] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 824] <... openat resumed>) = 3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] getdents64(4 [pid 824] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 824] <... openat resumed>) = 4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] close(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 824] ioctl(4, LOOP_CLR_FD [pid 309] <... close resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./49/file0" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 824] <... ioctl resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 830 [pid 309] rmdir("./52/file0" [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./50/file0" [pid 824] close(4 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... rmdir resumed>) = 0 [pid 307] umount2("./49/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ci2-android-6-1/strace-static-x86_64: Process 830 attached [pid 824] <... close resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 830] set_robust_list(0x5555866cd6a0, 24 [pid 309] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] openat(AT_FDCWD, "./49/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 830] <... set_robust_list resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... openat resumed>) = 4 [pid 306] openat(AT_FDCWD, "./50/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 830] rt_sigprocmask(SIG_SETMASK, [] [pid 309] newfstatat(AT_FDCWD, "./52/binderfs" [pid 307] fstat(4 [pid 306] <... openat resumed>) = 4 [pid 830] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(4 [pid 830] chdir("./51" [pid 309] unlink("./52/binderfs" [pid 307] getdents64(4 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 830] <... chdir resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4 [pid 830] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 824] exit_group(0 [pid 309] getdents64(3 [pid 307] getdents64(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 830] <... prctl resumed>) = 0 [pid 824] <... exit_group resumed>) = ? [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] getdents64(4 [pid 830] setpgid(0, 0 [pid 309] close(3 [pid 307] close(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 830] <... setpgid resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] close(4 [pid 830] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] rmdir("./52" [pid 307] rmdir("./49/file0" [pid 306] <... close resumed>) = 0 [pid 830] <... openat resumed>) = 3 [pid 309] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] rmdir("./50/file0" [pid 830] write(3, "1000", 4 [pid 824] +++ exited with 0 +++ [pid 309] mkdir("./53", 0777 [pid 307] umount2("./49/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 830] <... write resumed>) = 4 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=824, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 830] close(3 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] newfstatat(AT_FDCWD, "./49/binderfs" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 830] <... close resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./50/binderfs" [pid 830] symlink("/dev/binderfs", "./binderfs" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] unlink("./49/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 830] <... symlink resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 307] <... unlink resumed>) = 0 [pid 306] unlink("./50/binderfs" [pid 830] write(1, "executing program\n", 18 [pid 309] ioctl(3, LOOP_CLR_FD [pid 307] getdents64(3 [pid 306] <... unlink resumed>) = 0 [pid 830] <... write resumed>) = 18 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) executing program [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] getdents64(3 [pid 830] memfd_create("syzkaller", 0 [pid 309] close(3 [pid 307] close(3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 830] <... memfd_create resumed>) = 3 [pid 309] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] close(3 [pid 830] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] rmdir("./49" [pid 306] <... close resumed>) = 0 [pid 830] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] rmdir("./50" [pid 830] 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"..., 524288 [pid 307] mkdir("./50", 0777 [pid 306] <... rmdir resumed>) = 0 [pid 830] <... write resumed>) = 524288 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... restart_syscall resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 306] mkdir("./51", 0777 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] <... mkdir resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 831 [pid 307] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 830] munmap(0x7f11e81cd000, 138412032 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] <... openat resumed>) = 3 [pid 830] <... munmap resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] ioctl(3, LOOP_CLR_FD [pid 830] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 308] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] close(3 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 830] <... openat resumed>) = 4 [pid 308] <... openat resumed>) = 3 [pid 307] <... close resumed>) = 0 [pid 306] close(3 [pid 830] ioctl(4, LOOP_SET_FD, 3 [pid 308] fstat(3 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... close resumed>) = 0 [pid 830] <... ioctl resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 830] close(3 [pid 308] getdents64(3 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 830] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 830] close(4 [pid 308] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 832 [pid 830] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 833 [pid 830] mkdir("./file0", 0777 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 830] <... mkdir resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 830] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 833 attached ci2-android-6-1/strace-static-x86_64: Process 832 attached ci2-android-6-1/strace-static-x86_64: Process 831 attached [ 33.376529][ T821] EXT4-fs (loop3): 1 truncate cleaned up [ 33.385365][ T822] EXT4-fs (loop1): 1 truncate cleaned up [ 33.390450][ T824] EXT4-fs (loop2): orphan cleanup on readonly fs [ 33.399769][ T823] EXT4-fs (loop0): 1 truncate cleaned up [ 33.407471][ T824] EXT4-fs (loop2): 1 truncate cleaned up [pid 833] set_robust_list(0x5555866cd6a0, 24 [pid 832] set_robust_list(0x5555866cd6a0, 24 [pid 831] set_robust_list(0x5555866cd6a0, 24 [pid 833] <... set_robust_list resumed>) = 0 [pid 832] <... set_robust_list resumed>) = 0 [pid 831] <... set_robust_list resumed>) = 0 [pid 833] rt_sigprocmask(SIG_SETMASK, [] [pid 832] rt_sigprocmask(SIG_SETMASK, [] [pid 831] rt_sigprocmask(SIG_SETMASK, [] [pid 833] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 832] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 831] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 833] chdir("./51" [pid 832] chdir("./50" [pid 831] chdir("./53" [pid 308] <... umount2 resumed>) = 0 [pid 833] <... chdir resumed>) = 0 [pid 831] <... chdir resumed>) = 0 [pid 308] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 831] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 833] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 831] <... prctl resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 831] setpgid(0, 0 [pid 833] <... prctl resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./51/file0" [pid 833] setpgid(0, 0 [pid 832] <... chdir resumed>) = 0 [pid 831] <... setpgid resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 832] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 832] setpgid(0, 0) = 0 [pid 832] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 833] <... setpgid resumed>) = 0 [pid 832] <... openat resumed>) = 3 [pid 831] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 832] write(3, "1000", 4) = 4 [pid 832] close(3) = 0 [pid 831] <... openat resumed>) = 3 [pid 832] symlink("/dev/binderfs", "./binderfs" [pid 833] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 832] <... symlink resumed>) = 0 [pid 831] write(3, "1000", 4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 832] write(1, "executing program\n", 18 [pid 831] <... write resumed>) = 4 [pid 832] <... write resumed>) = 18 [pid 833] <... openat resumed>) = 3 executing program [pid 832] memfd_create("syzkaller", 0 [pid 831] close(3 [pid 308] openat(AT_FDCWD, "./51/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 833] write(3, "1000", 4 [pid 832] <... memfd_create resumed>) = 3 [pid 831] <... close resumed>) = 0 [pid 832] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] <... openat resumed>) = 4 [pid 831] symlink("/dev/binderfs", "./binderfs" [pid 833] <... write resumed>) = 4 [pid 832] <... mmap resumed>) = 0x7f11e81cd000 [pid 833] close(3 [pid 832] 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"..., 524288 [pid 831] <... symlink resumed>) = 0 [pid 830] <... mount resumed>) = 0 [pid 308] fstat(4 [pid 833] <... close resumed>) = 0 [pid 832] <... write resumed>) = 524288 [pid 832] munmap(0x7f11e81cd000, 138412032) = 0 [pid 832] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 832] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 832] close(3) = 0 [pid 832] close(4) = 0 [pid 832] mkdir("./file0", 0777) = 0 [pid 832] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 831] write(1, "executing program\n", 18) = 18 executing program [pid 831] memfd_create("syzkaller", 0) = 3 [pid 831] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 831] 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"..., 524288 [pid 833] symlink("/dev/binderfs", "./binderfs" [pid 831] <... write resumed>) = 524288 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 831] munmap(0x7f11e81cd000, 138412032 [pid 833] <... symlink resumed>) = 0 [pid 831] <... munmap resumed>) = 0 [pid 308] getdents64(4 [pid 833] write(1, "executing program\n", 18 executing program [pid 831] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 830] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 833] <... write resumed>) = 18 [pid 831] <... openat resumed>) = 4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 833] memfd_create("syzkaller", 0 [pid 831] ioctl(4, LOOP_SET_FD, 3 [pid 830] <... openat resumed>) = 3 [pid 833] <... memfd_create resumed>) = 3 [pid 831] <... ioctl resumed>) = 0 [pid 308] getdents64(4 [pid 833] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 831] close(3 [pid 830] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 833] <... mmap resumed>) = 0x7f11e81cd000 [pid 831] <... close resumed>) = 0 [pid 308] close(4 [pid 831] close(4 [pid 830] <... openat resumed>) = 4 [pid 831] <... close resumed>) = 0 [pid 831] mkdir("./file0", 0777) = 0 [pid 831] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 833] 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"..., 524288 [pid 830] ioctl(4, LOOP_CLR_FD [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./51/file0") = 0 [ 33.465738][ T830] EXT4-fs (loop4): orphan cleanup on readonly fs [ 33.487488][ T830] EXT4-fs (loop4): 1 truncate cleaned up [pid 830] <... ioctl resumed>) = 0 [pid 308] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./51/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./51/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 830] close(4 [pid 308] rmdir("./51" [pid 830] <... close resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 833] <... write resumed>) = 524288 [pid 830] exit_group(0 [pid 308] mkdir("./52", 0777 [pid 830] <... exit_group resumed>) = ? [pid 308] <... mkdir resumed>) = 0 [pid 830] +++ exited with 0 +++ [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=830, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [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 [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./51", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 833] munmap(0x7f11e81cd000, 138412032 [pid 310] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 837 [pid 833] <... munmap resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 833] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] newfstatat(AT_FDCWD, "./51/file0" [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 833] <... openat resumed>) = 4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 833] ioctl(4, LOOP_SET_FD, 3 [pid 310] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 833] <... ioctl resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 833] close(3 [pid 310] openat(AT_FDCWD, "./51/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 833] <... close resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 833] close(4 [pid 310] fstat(4 [pid 833] <... close resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 833] mkdir("./file0", 0777 [pid 310] getdents64(4 [pid 833] <... mkdir resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 833] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./51/file0") = 0 [pid 310] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./51/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./51/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./51") = 0 [pid 310] mkdir("./52", 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) ci2-android-6-1/strace-static-x86_64: Process 837 attached [pid 310] close(3 [pid 837] set_robust_list(0x5555866cd6a0, 24 [pid 310] <... close resumed>) = 0 [pid 837] <... set_robust_list resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 837] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 837] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 837] chdir("./52") = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 839 [pid 837] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 837] <... prctl resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 837] setpgid(0, 0) = 0 [pid 837] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 837] write(3, "1000", 4) = 4 [pid 837] close(3) = 0 [pid 837] symlink("/dev/binderfs", "./binderfs") = 0 [pid 837] write(1, "executing program\n", 18) = 18 [pid 837] memfd_create("syzkaller", 0) = 3 executing program [pid 837] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 837] 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"..., 524288) = 524288 [pid 837] munmap(0x7f11e81cd000, 138412032) = 0 [pid 837] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 837] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 837] close(3) = 0 [pid 837] close(4) = 0 [pid 837] mkdir("./file0", 0777) = 0 [ 33.517724][ T831] EXT4-fs (loop3): orphan cleanup on readonly fs [ 33.525162][ T832] EXT4-fs (loop1): orphan cleanup on readonly fs [ 33.542443][ T831] EXT4-fs (loop3): 1 truncate cleaned up [pid 837] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 831] <... mount resumed>) = 0 [pid 831] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 831] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 831] ioctl(4, LOOP_CLR_FD) = 0 [pid 831] close(4) = 0 [pid 831] exit_group(0) = ? [pid 831] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=831, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 839 attached [pid 839] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 839] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 839] chdir("./52") = 0 [pid 839] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 839] setpgid(0, 0) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./53", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 832] <... mount resumed>) = 0 [pid 832] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 832] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 832] ioctl(4, LOOP_CLR_FD [pid 839] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 832] <... ioctl resumed>) = 0 [pid 832] close(4) = 0 [pid 832] exit_group(0 [pid 839] <... openat resumed>) = 3 [pid 832] <... exit_group resumed>) = ? [pid 832] +++ exited with 0 +++ [pid 839] write(3, "1000", 4) = 4 [pid 839] close(3) = 0 [pid 839] symlink("/dev/binderfs", "./binderfs") = 0 [pid 839] write(1, "executing program\n", 18 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=832, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./50", MNT_FORCE|UMOUNT_NOFOLLOW [pid 839] <... write resumed>) = 18 [pid 839] memfd_create("syzkaller", 0) = 3 [pid 839] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./50", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] newfstatat(AT_FDCWD, "./53/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... openat resumed>) = 3 [pid 309] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] fstat(3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 837] <... mount resumed>) = 0 [pid 309] openat(AT_FDCWD, "./53/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] getdents64(3 [pid 837] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... openat resumed>) = 4 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 837] <... openat resumed>) = 3 [pid 309] getdents64(4 [pid 837] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 307] <... umount2 resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] close(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... close resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./50/file0" [pid 309] rmdir("./53/file0" [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 307] umount2("./50/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 837] <... openat resumed>) = 4 [pid 309] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 837] ioctl(4, LOOP_CLR_FD [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./53/binderfs" [pid 307] openat(AT_FDCWD, "./50/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 837] <... ioctl resumed>) = 0 [pid 837] close(4 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... openat resumed>) = 4 [pid 309] unlink("./53/binderfs") = 0 [pid 307] fstat(4 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] close(3 [pid 837] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 307] getdents64(4 [pid 309] rmdir("./53" [pid 837] exit_group(0 [pid 309] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] mkdir("./54", 0777 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 307] close(4) = 0 [pid 837] <... exit_group resumed>) = ? [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] rmdir("./50/file0") = 0 [pid 837] +++ exited with 0 +++ [pid 307] umount2("./50/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=837, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 308] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./52", 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 307] newfstatat(AT_FDCWD, "./50/binderfs" [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./52/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] unlink("./50/binderfs" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./52/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 307] <... unlink resumed>) = 0 [pid 309] close(3 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./52/file0" [pid 309] <... close resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] getdents64(3 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./52/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./52/binderfs" [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... unlink resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./52" [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... rmdir resumed>) = 0 [pid 307] close(3 [pid 839] 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"..., 524288 [pid 308] mkdir("./53", 0777) = 0 [pid 307] <... close resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 841 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... openat resumed>) = 3 [pid 307] rmdir("./50" [pid 839] <... write resumed>) = 524288 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [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 [pid 307] <... rmdir resumed>) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 842 [pid 308] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 841 attached [pid 839] munmap(0x7f11e81cd000, 138412032 [pid 833] <... mount resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] mkdir("./51", 0777ci2-android-6-1/strace-static-x86_64: Process 842 attached [pid 841] set_robust_list(0x5555866cd6a0, 24 [pid 842] set_robust_list(0x5555866cd6a0, 24 [pid 841] <... set_robust_list resumed>) = 0 [pid 839] <... munmap resumed>) = 0 [pid 833] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] <... mkdir resumed>) = 0 [pid 842] <... set_robust_list resumed>) = 0 [pid 841] rt_sigprocmask(SIG_SETMASK, [] [pid 839] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 833] <... openat resumed>) = 3 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 842] rt_sigprocmask(SIG_SETMASK, [] [pid 841] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 839] <... openat resumed>) = 4 [pid 833] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 307] <... openat resumed>) = 3 [pid 842] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 841] chdir("./54" [pid 839] ioctl(4, LOOP_SET_FD, 3 [pid 833] <... openat resumed>) = 4 [pid 307] ioctl(3, LOOP_CLR_FD [pid 842] chdir("./53" [pid 841] <... chdir resumed>) = 0 [pid 839] <... ioctl resumed>) = 0 [pid 841] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 833] ioctl(4, LOOP_CLR_FD [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 841] <... prctl resumed>) = 0 [pid 839] close(3 [pid 833] <... ioctl resumed>) = 0 [pid 307] close(3 [pid 841] setpgid(0, 0 [pid 839] <... close resumed>) = 0 [pid 833] close(4 [pid 841] <... setpgid resumed>) = 0 [pid 839] close(4 [pid 833] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 841] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 833] exit_group(0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 842] <... chdir resumed>) = 0 [pid 841] <... openat resumed>) = 3 [pid 839] <... close resumed>) = 0 [pid 833] <... exit_group resumed>) = ? [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 842] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 841] write(3, "1000", 4 [pid 839] mkdir("./file0", 0777 [pid 833] +++ exited with 0 +++ ci2-android-6-1/strace-static-x86_64: Process 843 attached [ 33.562504][ T833] EXT4-fs (loop0): orphan cleanup on readonly fs [ 33.569312][ T832] EXT4-fs (loop1): 1 truncate cleaned up [ 33.579411][ T837] EXT4-fs (loop2): orphan cleanup on readonly fs [ 33.586804][ T833] EXT4-fs (loop0): 1 truncate cleaned up [ 33.589111][ T837] EXT4-fs (loop2): 1 truncate cleaned up [pid 842] <... prctl resumed>) = 0 [pid 841] <... write resumed>) = 4 [pid 839] <... mkdir resumed>) = 0 [pid 843] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 843] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 843] chdir("./51") = 0 [pid 843] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 843] setpgid(0, 0) = 0 [pid 842] setpgid(0, 0 [pid 841] close(3 [pid 839] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 843 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=833, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 843] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 841] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 843] <... openat resumed>) = 3 [pid 841] symlink("/dev/binderfs", "./binderfs" [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 843] write(3, "1000", 4) = 4 [pid 843] close(3) = 0 [pid 841] <... symlink resumed>) = 0 [pid 843] symlink("/dev/binderfs", "./binderfs") = 0 [pid 841] write(1, "executing program\n", 18 [pid 843] write(1, "executing program\n", 18 [pid 841] <... write resumed>) = 18 [pid 843] <... write resumed>) = 18 [pid 843] memfd_create("syzkaller", 0) = 3 [pid 841] memfd_create("syzkaller", 0 [pid 843] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 841] <... memfd_create resumed>) = 3 executing program executing program [pid 843] 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"..., 524288 [pid 842] <... setpgid resumed>) = 0 [pid 841] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 843] <... write resumed>) = 524288 [pid 843] munmap(0x7f11e81cd000, 138412032) = 0 [pid 843] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 843] ioctl(4, LOOP_SET_FD, 3 [pid 841] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] <... restart_syscall resumed>) = 0 [pid 843] <... ioctl resumed>) = 0 [pid 843] close(3 [pid 841] 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"..., 524288 [pid 843] <... close resumed>) = 0 [pid 306] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW [pid 842] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 843] close(4) = 0 [pid 843] mkdir("./file0", 0777) = 0 [pid 843] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 842] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 [pid 306] fstat(3 [pid 841] <... write resumed>) = 524288 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 841] munmap(0x7f11e81cd000, 138412032 [pid 306] getdents64(3 [pid 841] <... munmap resumed>) = 0 [pid 841] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 841] <... openat resumed>) = 4 [pid 841] ioctl(4, LOOP_SET_FD, 3 [pid 842] write(3, "1000", 4 [pid 306] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 841] <... ioctl resumed>) = 0 [pid 842] <... write resumed>) = 4 [pid 841] close(3 [pid 842] close(3 [pid 841] <... close resumed>) = 0 [pid 841] close(4) = 0 [pid 841] mkdir("./file0", 0777 [pid 842] <... close resumed>) = 0 [pid 842] symlink("/dev/binderfs", "./binderfs" [pid 841] <... mkdir resumed>) = 0 [pid 842] <... symlink resumed>) = 0 [pid 841] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" executing program [pid 842] write(1, "executing program\n", 18) = 18 [pid 306] <... umount2 resumed>) = 0 [pid 842] memfd_create("syzkaller", 0 [pid 306] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 842] <... memfd_create resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 842] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 306] newfstatat(AT_FDCWD, "./51/file0" [pid 842] 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"..., 524288 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 842] <... write resumed>) = 524288 [pid 306] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./51/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 842] munmap(0x7f11e81cd000, 138412032 [pid 306] getdents64(4 [pid 842] <... munmap resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 842] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 306] getdents64(4 [pid 842] <... openat resumed>) = 4 [pid 842] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./51/file0") = 0 [pid 306] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./51/binderfs" [pid 842] <... ioctl resumed>) = 0 [pid 842] close(3) = 0 [pid 842] close(4) = 0 [pid 842] mkdir("./file0", 0777) = 0 [pid 842] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 33.653117][ T839] EXT4-fs (loop4): orphan cleanup on readonly fs [ 33.689123][ T843] EXT4-fs (loop1): orphan cleanup on readonly fs [ 33.694484][ T841] EXT4-fs (loop3): orphan cleanup on readonly fs [pid 306] unlink("./51/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./51") = 0 [pid 839] <... mount resumed>) = 0 [pid 839] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] mkdir("./52", 0777 [pid 839] <... openat resumed>) = 3 [pid 839] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] <... mkdir resumed>) = 0 [pid 839] <... openat resumed>) = 4 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 839] ioctl(4, LOOP_CLR_FD [pid 306] <... openat resumed>) = 3 [pid 839] <... ioctl resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 839] close(4 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 839] <... close resumed>) = 0 [pid 306] close(3 [pid 839] exit_group(0 [pid 306] <... close resumed>) = 0 [pid 839] <... exit_group resumed>) = ? [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 839] +++ exited with 0 +++ [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=839, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 848 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 841] <... mount resumed>) = 0 [pid 841] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 841] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 841] ioctl(4, LOOP_CLR_FD) = 0 [pid 841] close(4) = 0 [pid 841] exit_group(0) = ? [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./52", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 848 attached [pid 843] <... mount resumed>) = 0 [pid 841] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=841, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 848] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 848] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 848] chdir("./52" [pid 843] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 842] <... mount resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 848] <... chdir resumed>) = 0 [pid 843] <... openat resumed>) = 3 [pid 310] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 843] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 848] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 843] <... openat resumed>) = 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 848] <... prctl resumed>) = 0 [pid 843] ioctl(4, LOOP_CLR_FD [pid 310] newfstatat(AT_FDCWD, "./52/file0" [pid 309] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW [pid 848] setpgid(0, 0 [pid 843] <... ioctl resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 848] <... setpgid resumed>) = 0 [pid 843] close(4 [pid 310] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] openat(AT_FDCWD, "./54", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 848] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 843] <... close resumed>) = 0 [pid 842] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 3 [pid 848] <... openat resumed>) = 3 [pid 843] exit_group(0 [pid 310] openat(AT_FDCWD, "./52/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] fstat(3 [pid 848] write(3, "1000", 4 [pid 843] <... exit_group resumed>) = ? [pid 848] <... write resumed>) = 4 [pid 842] <... openat resumed>) = 3 [pid 310] <... openat resumed>) = 4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 848] close(3 [pid 843] +++ exited with 0 +++ [pid 842] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] fstat(4 [pid 848] <... close resumed>) = 0 [pid 309] getdents64(3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 848] symlink("/dev/binderfs", "./binderfs" [pid 842] <... openat resumed>) = 4 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=843, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 842] ioctl(4, LOOP_CLR_FD [pid 848] <... symlink resumed>) = 0 [pid 842] <... ioctl resumed>) = 0 executing program [pid 848] write(1, "executing program\n", 18 [pid 309] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(4 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 848] <... write resumed>) = 18 [pid 842] close(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 842] <... close resumed>) = 0 [pid 842] exit_group(0) = ? [pid 848] memfd_create("syzkaller", 0 [pid 842] +++ exited with 0 +++ [pid 310] getdents64(4 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=842, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 848] <... memfd_create resumed>) = 3 [pid 848] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 848] 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"..., 524288 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 848] <... write resumed>) = 524288 [pid 310] close(4 [pid 309] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] rmdir("./52/file0" [pid 309] newfstatat(AT_FDCWD, "./54/file0" [pid 848] munmap(0x7f11e81cd000, 138412032 [pid 308] <... restart_syscall resumed>) = 0 [pid 848] <... munmap resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 848] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 310] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 848] <... openat resumed>) = 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW [pid 848] ioctl(4, LOOP_SET_FD, 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 848] <... ioctl resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./52/binderfs" [pid 309] openat(AT_FDCWD, "./54/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 848] close(3 [pid 308] <... openat resumed>) = 3 [pid 848] <... close resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... openat resumed>) = 4 [pid 308] fstat(3 [pid 307] umount2("./51", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] unlink("./52/binderfs" [pid 309] fstat(4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... unlink resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 307] openat(AT_FDCWD, "./51", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] getdents64(3 [pid 309] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... openat resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] fstat(3 [pid 310] close(3 [pid 309] getdents64(4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] getdents64(3 [pid 310] rmdir("./52" [pid 309] close(4 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] <... rmdir resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 307] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] mkdir("./53", 0777 [pid 309] rmdir("./54/file0" [pid 848] close(4 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 848] <... close resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 308] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 848] mkdir("./file0", 0777 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 848] <... mkdir resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./53/file0" [pid 848] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... openat resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./53/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] newfstatat(AT_FDCWD, "./54/binderfs" [pid 308] <... openat resumed>) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] fstat(4 [pid 307] newfstatat(AT_FDCWD, "./51/file0" [pid 310] close(3 [pid 309] unlink("./54/binderfs" [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... close resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 308] getdents64(4 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] umount2("./51/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] getdents64(4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] close(3 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] close(4 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 850 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] openat(AT_FDCWD, "./51/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] rmdir("./54" [pid 308] rmdir("./53/file0" [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... openat resumed>) = 4 [pid 309] mkdir("./55", 0777 [pid 308] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] fstat(4 [pid 309] <... mkdir resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./53/binderfs" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... openat resumed>) = 3 [ 33.701794][ T839] EXT4-fs (loop4): 1 truncate cleaned up [ 33.710648][ T841] EXT4-fs (loop3): 1 truncate cleaned up [ 33.716952][ T843] EXT4-fs (loop1): 1 truncate cleaned up [ 33.724807][ T842] EXT4-fs (loop2): orphan cleanup on readonly fs [ 33.733400][ T842] EXT4-fs (loop2): 1 truncate cleaned up [pid 308] unlink("./53/binderfs"ci2-android-6-1/strace-static-x86_64: Process 850 attached [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] <... unlink resumed>) = 0 [pid 307] getdents64(4 [pid 850] set_robust_list(0x5555866cd6a0, 24 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 850] <... set_robust_list resumed>) = 0 [pid 309] close(3 [pid 307] getdents64(4 [pid 850] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 850] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] close(4 [pid 850] chdir("./53" [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... close resumed>) = 0 [pid 850] <... chdir resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] rmdir("./51/file0" [pid 850] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] <... rmdir resumed>) = 0 [pid 850] <... prctl resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 851 [pid 307] umount2("./51/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 850] setpgid(0, 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 850] <... setpgid resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] newfstatat(AT_FDCWD, "./51/binderfs" [pid 850] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] getdents64(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 850] <... openat resumed>) = 3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] unlink("./51/binderfs" [pid 850] write(3, "1000", 4 [pid 308] close(3 [pid 850] <... write resumed>) = 4 [pid 308] <... close resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 850] close(3 [pid 308] rmdir("./53" [pid 307] getdents64(3ci2-android-6-1/strace-static-x86_64: Process 851 attached [pid 850] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 851] set_robust_list(0x5555866cd6a0, 24 [pid 850] symlink("/dev/binderfs", "./binderfs" [pid 307] close(3 [pid 850] <... symlink resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 851] <... set_robust_list resumed>) = 0 executing program [pid 850] write(1, "executing program\n", 18 [pid 308] mkdir("./54", 0777 [pid 307] <... close resumed>) = 0 [pid 851] rt_sigprocmask(SIG_SETMASK, [] [pid 850] <... write resumed>) = 18 [pid 308] <... mkdir resumed>) = 0 [pid 307] rmdir("./51" [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 850] memfd_create("syzkaller", 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 851] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 850] <... memfd_create resumed>) = 3 [pid 307] <... rmdir resumed>) = 0 [pid 851] chdir("./55" [pid 850] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 852 [pid 307] mkdir("./52", 0777 [pid 851] <... chdir resumed>) = 0 [pid 850] <... mmap resumed>) = 0x7f11e81cd000 [pid 848] <... mount resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... mkdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 852 attached [pid 851] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 848] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 852] set_robust_list(0x5555866cd6a0, 24 [pid 851] <... prctl resumed>) = 0 [pid 850] 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"..., 524288 [pid 848] <... openat resumed>) = 3 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 852] <... set_robust_list resumed>) = 0 [pid 851] setpgid(0, 0 [pid 848] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 852] rt_sigprocmask(SIG_SETMASK, [] [pid 851] <... setpgid resumed>) = 0 [pid 848] <... openat resumed>) = 4 [pid 307] <... openat resumed>) = 3 [pid 852] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 848] ioctl(4, LOOP_CLR_FD [pid 852] chdir("./54" [pid 851] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 848] <... ioctl resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 852] <... chdir resumed>) = 0 [pid 851] <... openat resumed>) = 3 [pid 850] <... write resumed>) = 524288 [pid 848] close(4 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 852] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 851] write(3, "1000", 4 [pid 848] <... close resumed>) = 0 [pid 307] close(3 [pid 852] <... prctl resumed>) = 0 [pid 851] <... write resumed>) = 4 [pid 850] munmap(0x7f11e81cd000, 138412032 [pid 848] exit_group(0 [pid 852] setpgid(0, 0 [pid 851] close(3 [pid 848] <... exit_group resumed>) = ? [pid 307] <... close resumed>) = 0 [pid 851] <... close resumed>) = 0 [pid 850] <... munmap resumed>) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 851] symlink("/dev/binderfs", "./binderfs" [pid 850] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 852] <... setpgid resumed>) = 0 [pid 851] <... symlink resumed>) = 0 [pid 850] <... openat resumed>) = 4 [pid 848] +++ exited with 0 +++ [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 852] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 851] write(1, "executing program\n", 18 [pid 850] ioctl(4, LOOP_SET_FD, 3ci2-android-6-1/strace-static-x86_64: Process 853 attached [pid 852] <... openat resumed>) = 3 [pid 851] <... write resumed>) = 18 [pid 850] <... ioctl resumed>) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=848, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 852] write(3, "1000", 4 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 852] <... write resumed>) = 4 [pid 852] close(3) = 0 [pid 852] symlink("/dev/binderfs", "./binderfs") = 0 [pid 852] write(1, "executing program\n", 18) = 18 [pid 852] memfd_create("syzkaller", 0) = 3 [pid 852] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program executing program [pid 853] set_robust_list(0x5555866cd6a0, 24 [pid 852] 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"..., 524288 [pid 851] memfd_create("syzkaller", 0 [pid 850] close(3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 853 [pid 853] <... set_robust_list resumed>) = 0 [pid 852] <... write resumed>) = 524288 [pid 851] <... memfd_create resumed>) = 3 [pid 850] <... close resumed>) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 853] rt_sigprocmask(SIG_SETMASK, [] [pid 851] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 850] close(4 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 853] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 851] <... mmap resumed>) = 0x7f11e81cd000 [pid 850] <... close resumed>) = 0 [pid 853] chdir("./52" [pid 852] munmap(0x7f11e81cd000, 138412032 [pid 853] <... chdir resumed>) = 0 [pid 851] 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"..., 524288 [pid 850] mkdir("./file0", 0777 [pid 306] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW [pid 853] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 852] <... munmap resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 853] <... prctl resumed>) = 0 [pid 852] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 850] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "./52", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 853] setpgid(0, 0 [pid 852] <... openat resumed>) = 4 [pid 850] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... openat resumed>) = 3 [pid 853] <... setpgid resumed>) = 0 [pid 852] ioctl(4, LOOP_SET_FD, 3 [pid 306] fstat(3 [pid 853] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 851] <... write resumed>) = 524288 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 853] <... openat resumed>) = 3 [pid 852] <... ioctl resumed>) = 0 [pid 851] munmap(0x7f11e81cd000, 138412032 [pid 853] write(3, "1000", 4 [pid 852] close(3 [pid 851] <... munmap resumed>) = 0 [pid 306] getdents64(3 [pid 853] <... write resumed>) = 4 [pid 852] <... close resumed>) = 0 [pid 851] openat(AT_FDCWD, "/dev/loop3", O_RDWR [ 33.783455][ T848] EXT4-fs (loop0): orphan cleanup on readonly fs [ 33.793772][ T848] EXT4-fs (loop0): 1 truncate cleaned up [ 33.821870][ T850] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 853] close(3 [pid 852] close(4 [pid 851] <... openat resumed>) = 4 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 851] ioctl(4, LOOP_SET_FD, 3 [pid 853] <... close resumed>) = 0 [pid 852] <... close resumed>) = 0 [pid 851] <... ioctl resumed>) = 0 [pid 306] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 851] close(3) = 0 [pid 851] close(4) = 0 [pid 851] mkdir("./file0", 0777) = 0 [pid 851] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 853] symlink("/dev/binderfs", "./binderfs" [pid 852] mkdir("./file0", 0777 [pid 306] <... umount2 resumed>) = 0 [pid 853] <... symlink resumed>) = 0 [pid 852] <... mkdir resumed>) = 0 [pid 306] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 853] write(1, "executing program\n", 18 executing program [pid 852] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 853] <... write resumed>) = 18 [pid 306] newfstatat(AT_FDCWD, "./52/file0" [pid 853] memfd_create("syzkaller", 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 853] <... memfd_create resumed>) = 3 [pid 306] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 853] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 853] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] openat(AT_FDCWD, "./52/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 853] 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"..., 524288 [pid 306] <... openat resumed>) = 4 [pid 853] <... write resumed>) = 524288 [pid 306] fstat(4 [pid 853] munmap(0x7f11e81cd000, 138412032 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 853] <... munmap resumed>) = 0 [pid 306] getdents64(4 [pid 853] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 853] <... openat resumed>) = 4 [pid 306] getdents64(4 [pid 853] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 853] <... ioctl resumed>) = 0 [pid 306] close(4 [pid 853] close(3 [pid 306] <... close resumed>) = 0 [pid 853] <... close resumed>) = 0 [pid 306] rmdir("./52/file0" [pid 853] close(4 [pid 306] <... rmdir resumed>) = 0 [pid 306] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 850] <... mount resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./52/binderfs" [pid 850] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 850] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 850] <... openat resumed>) = 4 [pid 850] ioctl(4, LOOP_CLR_FD) = 0 [pid 850] close(4) = 0 [pid 850] exit_group(0) = ? [pid 850] +++ exited with 0 +++ [pid 306] unlink("./52/binderfs" [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=850, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./52") = 0 [pid 306] mkdir("./53", 0777 [pid 853] <... close resumed>) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] fstat(3 [pid 306] <... mkdir resumed>) = 0 [pid 853] mkdir("./file0", 0777 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... openat resumed>) = 3 [pid 310] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 306] close(3) = 0 [pid 853] <... mkdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 851] <... mount resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 853] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 851] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 857 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 857 attached [pid 857] set_robust_list(0x5555866cd6a0, 24 [pid 851] <... openat resumed>) = 3 [pid 851] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 857] <... set_robust_list resumed>) = 0 [pid 851] <... openat resumed>) = 4 [ 33.832582][ T850] EXT4-fs (loop4): 1 truncate cleaned up [ 33.843066][ T851] EXT4-fs (loop3): orphan cleanup on readonly fs [ 33.864223][ T852] EXT4-fs (loop2): orphan cleanup on readonly fs [ 33.872581][ T851] EXT4-fs (loop3): 1 truncate cleaned up [pid 851] ioctl(4, LOOP_CLR_FD) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 857] rt_sigprocmask(SIG_SETMASK, [] [pid 852] <... mount resumed>) = 0 [pid 851] close(4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./53/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 857] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 852] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 851] <... close resumed>) = 0 [pid 310] openat(AT_FDCWD, "./53/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 857] chdir("./53" [pid 851] exit_group(0 [pid 857] <... chdir resumed>) = 0 [pid 852] <... openat resumed>) = 3 [pid 857] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 851] <... exit_group resumed>) = ? [pid 310] <... openat resumed>) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./53/file0" [pid 857] <... prctl resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 310] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 851] +++ exited with 0 +++ [pid 310] newfstatat(AT_FDCWD, "./53/binderfs" [pid 857] setpgid(0, 0 [pid 852] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./53/binderfs" [pid 857] <... setpgid resumed>) = 0 [pid 310] <... unlink resumed>) = 0 [pid 852] <... openat resumed>) = 4 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=851, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] getdents64(3 [pid 857] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 852] ioctl(4, LOOP_CLR_FD [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./53" [pid 857] <... openat resumed>) = 3 [pid 853] <... mount resumed>) = 0 [pid 852] <... ioctl resumed>) = 0 [pid 857] write(3, "1000", 4 [pid 852] close(4 [pid 310] <... rmdir resumed>) = 0 [pid 857] <... write resumed>) = 4 [pid 853] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 852] <... close resumed>) = 0 [pid 310] mkdir("./54", 0777 [pid 857] close(3 [pid 852] exit_group(0 [pid 857] <... close resumed>) = 0 [pid 852] <... exit_group resumed>) = ? [pid 853] <... openat resumed>) = 3 [pid 852] +++ exited with 0 +++ [pid 857] symlink("/dev/binderfs", "./binderfs" [pid 310] <... mkdir resumed>) = 0 [pid 857] <... symlink resumed>) = 0 [pid 853] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=852, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 857] write(1, "executing program\n", 18 executing program [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 857] <... write resumed>) = 18 [pid 310] <... openat resumed>) = 3 [pid 857] memfd_create("syzkaller", 0) = 3 [pid 857] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 310] ioctl(3, LOOP_CLR_FD [pid 853] <... openat resumed>) = 4 [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|SIGCHLD [pid 857] 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"..., 524288 [pid 853] ioctl(4, LOOP_CLR_FD [pid 308] <... restart_syscall resumed>) = 0 [pid 853] <... ioctl resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 859 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./54", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 308] fstat(3ci2-android-6-1/strace-static-x86_64: Process 859 attached [pid 857] <... write resumed>) = 524288 [pid 853] close(4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 857] munmap(0x7f11e81cd000, 138412032) = 0 [pid 308] getdents64(3 [pid 859] set_robust_list(0x5555866cd6a0, 24 [pid 857] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 857] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 308] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 857] close(3) = 0 [pid 857] close(4) = 0 [pid 857] mkdir("./file0", 0777) = 0 [pid 857] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 853] <... close resumed>) = 0 [pid 853] exit_group(0) = ? [pid 309] <... restart_syscall resumed>) = 0 [pid 859] <... set_robust_list resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 859] rt_sigprocmask(SIG_SETMASK, [] [pid 853] +++ exited with 0 +++ [ 33.882480][ T852] EXT4-fs (loop2): 1 truncate cleaned up [ 33.892362][ T853] EXT4-fs (loop1): orphan cleanup on readonly fs [ 33.900341][ T853] EXT4-fs (loop1): 1 truncate cleaned up [pid 308] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=853, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] newfstatat(AT_FDCWD, "./54/file0" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 859] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 309] openat(AT_FDCWD, "./55", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] fstat(3 [pid 307] umount2("./52", MNT_FORCE|UMOUNT_NOFOLLOW [pid 859] chdir("./54" [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] openat(AT_FDCWD, "./54/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] getdents64(3 [pid 307] openat(AT_FDCWD, "./52", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 4 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] fstat(4 [pid 307] <... openat resumed>) = 3 [pid 859] <... chdir resumed>) = 0 [pid 309] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] fstat(3 [pid 308] getdents64(4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(3 [pid 308] getdents64(4 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 859] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 859] <... prctl resumed>) = 0 [pid 308] close(4 [pid 859] setpgid(0, 0 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./54/file0" [pid 859] <... setpgid resumed>) = 0 [pid 859] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... umount2 resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 859] <... openat resumed>) = 3 [pid 859] write(3, "1000", 4) = 4 [pid 859] close(3) = 0 [pid 859] symlink("/dev/binderfs", "./binderfs") = 0 [pid 309] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 859] write(1, "executing program\n", 18) = 18 executing program [pid 859] memfd_create("syzkaller", 0) = 3 [pid 859] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 859] 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"..., 524288 [pid 309] newfstatat(AT_FDCWD, "./55/file0" [pid 308] newfstatat(AT_FDCWD, "./54/binderfs" [pid 307] newfstatat(AT_FDCWD, "./52/file0" [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] unlink("./54/binderfs" [pid 307] umount2("./52/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... unlink resumed>) = 0 [pid 309] openat(AT_FDCWD, "./55/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(3 [pid 307] openat(AT_FDCWD, "./52/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... openat resumed>) = 4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] fstat(4 [pid 309] getdents64(4 [pid 308] close(3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 308] <... close resumed>) = 0 [pid 307] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] rmdir("./54" [pid 307] getdents64(4 [pid 859] <... write resumed>) = 524288 [pid 309] close(4 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... close resumed>) = 0 [pid 308] mkdir("./55", 0777 [pid 309] rmdir("./55/file0" [pid 307] close(4 [pid 859] munmap(0x7f11e81cd000, 138412032 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 859] <... munmap resumed>) = 0 [pid 859] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 309] <... rmdir resumed>) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] rmdir("./52/file0" [pid 309] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 859] <... openat resumed>) = 4 [pid 859] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 3 [pid 307] <... rmdir resumed>) = 0 [pid 859] close(3) = 0 [pid 309] newfstatat(AT_FDCWD, "./55/binderfs" [pid 307] umount2("./52/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] ioctl(3, LOOP_CLR_FD [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 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] unlink("./55/binderfs" [pid 308] close(3 [pid 307] newfstatat(AT_FDCWD, "./52/binderfs" [pid 859] close(4) = 0 [pid 309] <... unlink resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 859] mkdir("./file0", 0777) = 0 [pid 859] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 857] <... mount resumed>) = 0 [pid 857] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 857] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 857] ioctl(4, LOOP_CLR_FD) = 0 [pid 857] close(4) = 0 [pid 857] exit_group(0) = ? [pid 857] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=857, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] unlink("./52/binderfs" [pid 309] getdents64(3 [pid 308] <... close resumed>) = 0 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... unlink resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] getdents64(3 [pid 309] close(3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] rmdir("./55" [pid 307] close(3 [pid 309] <... rmdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 309] mkdir("./56", 0777 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] rmdir("./52") = 0 [pid 306] <... restart_syscall resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 861 attached [pid 861] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 861] rt_sigprocmask(SIG_SETMASK, [] [pid 307] mkdir("./53", 0777 [pid 861] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 861] chdir("./55") = 0 [pid 861] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 861] setpgid(0, 0) = 0 [pid 861] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 861] <... openat resumed>) = 3 [pid 861] write(3, "1000", 4) = 4 [pid 307] <... mkdir resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 861] close(3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 861 [pid 306] getdents64(3 [pid 309] <... openat resumed>) = 3 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 861] <... close resumed>) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] close(3 [pid 861] symlink("/dev/binderfs", "./binderfs") = 0 [pid 309] <... close resumed>) = 0 [pid 861] write(1, "executing program\n", 18) = 18 [pid 861] memfd_create("syzkaller", 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... openat resumed>) = 3 [pid 861] <... memfd_create resumed>) = 3 [pid 861] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 306] <... umount2 resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 executing program [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./53/file0" [pid 307] close(3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 862 [pid 307] <... close resumed>) = 0 [pid 306] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] openat(AT_FDCWD, "./53/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... openat resumed>) = 4 [pid 306] fstat(4 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 863 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./53/file0") = 0 [pid 306] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./53/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./53/binderfs") = 0 [pid 861] 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"..., 524288 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./53") = 0 ci2-android-6-1/strace-static-x86_64: Process 862 attached [pid 306] mkdir("./54", 0777 [pid 862] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 862] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... mkdir resumed>) = 0 [pid 862] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 862] chdir("./56") = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 862] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 306] <... openat resumed>) = 3 [pid 862] <... prctl resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD) = 0 [pid 862] setpgid(0, 0 [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 862] <... setpgid resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 862] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 865 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 862] <... openat resumed>) = 3 [pid 861] <... write resumed>) = 524288 ci2-android-6-1/strace-static-x86_64: Process 863 attached [pid 863] set_robust_list(0x5555866cd6a0, 24 [pid 862] write(3, "1000", 4) = 4 [pid 863] <... set_robust_list resumed>) = 0 [pid 862] close(3 [pid 863] rt_sigprocmask(SIG_SETMASK, [] [pid 862] <... close resumed>) = 0 [pid 862] symlink("/dev/binderfs", "./binderfs") = 0 [pid 863] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 863] chdir("./53") = 0 [pid 863] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 863] setpgid(0, 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 863] <... setpgid resumed>) = 0 [pid 863] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 862] write(1, "executing program\n", 18) = 18 executing program [pid 862] memfd_create("syzkaller", 0 [pid 863] <... openat resumed>) = 3 [pid 862] <... memfd_create resumed>) = 3 [pid 863] write(3, "1000", 4 [pid 862] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 863] <... write resumed>) = 4 [pid 862] <... mmap resumed>) = 0x7f11e81cd000 [pid 863] close(3) = 0 [ 33.928545][ T857] EXT4-fs (loop0): orphan cleanup on readonly fs [ 33.943907][ T857] EXT4-fs (loop0): 1 truncate cleaned up [pid 863] symlink("/dev/binderfs", "./binderfs" [pid 862] 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"..., 524288 [pid 863] <... symlink resumed>) = 0 [pid 863] write(1, "executing program\n", 18) = 18 [pid 863] memfd_create("syzkaller", 0) = 3 [pid 863] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 863] 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"..., 524288 [pid 861] munmap(0x7f11e81cd000, 138412032) = 0 [pid 861] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 861] ioctl(4, LOOP_SET_FD, 3ci2-android-6-1/strace-static-x86_64: Process 865 attached [pid 865] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 865] rt_sigprocmask(SIG_SETMASK, [] [pid 862] <... write resumed>) = 524288 [pid 865] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 865] chdir("./54") = 0 executing program [pid 861] <... ioctl resumed>) = 0 [pid 861] close(3) = 0 [pid 861] close(4) = 0 [pid 861] mkdir("./file0", 0777) = 0 [pid 861] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 865] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 865] setpgid(0, 0) = 0 [pid 865] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 865] write(3, "1000", 4) = 4 [pid 865] close(3) = 0 [pid 865] symlink("/dev/binderfs", "./binderfs") = 0 [pid 865] write(1, "executing program\n", 18) = 18 [pid 865] memfd_create("syzkaller", 0) = 3 [pid 865] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 865] 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"..., 524288 [pid 863] <... write resumed>) = 524288 [pid 863] munmap(0x7f11e81cd000, 138412032) = 0 [pid 863] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 863] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 863] close(3) = 0 [pid 863] close(4) = 0 [pid 863] mkdir("./file0", 0777) = 0 [pid 865] <... write resumed>) = 524288 [pid 863] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 865] munmap(0x7f11e81cd000, 138412032) = 0 [pid 862] munmap(0x7f11e81cd000, 138412032) = 0 [pid 865] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 865] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 862] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 865] close(3 [pid 862] ioctl(4, LOOP_SET_FD, 3 [pid 865] <... close resumed>) = 0 [pid 862] <... ioctl resumed>) = 0 [pid 865] close(4) = 0 [pid 865] mkdir("./file0", 0777) = 0 [pid 862] close(3) = 0 [pid 862] close(4) = 0 [pid 862] mkdir("./file0", 0777) = 0 [pid 862] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [ 33.988736][ T859] EXT4-fs (loop4): orphan cleanup on readonly fs [ 34.013741][ T861] EXT4-fs (loop2): orphan cleanup on readonly fs [ 34.025710][ T859] EXT4-fs (loop4): 1 truncate cleaned up [ 34.032277][ T863] EXT4-fs (loop1): orphan cleanup on readonly fs [pid 865] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 863] <... mount resumed>) = 0 [pid 863] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 863] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 863] ioctl(4, LOOP_CLR_FD) = 0 [pid 863] close(4) = 0 [pid 863] exit_group(0) = ? [pid 863] +++ exited with 0 +++ [pid 861] <... mount resumed>) = 0 [pid 861] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 861] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 861] ioctl(4, LOOP_CLR_FD) = 0 [pid 861] close(4) = 0 [pid 861] exit_group(0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=863, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 861] <... exit_group resumed>) = ? [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 861] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=861, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] umount2("./53", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./53", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./55", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 307] fstat(3 [pid 308] fstat(3 [pid 307] <... 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] getdents64(3 [pid 308] getdents64(3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 859] <... mount resumed>) = 0 [pid 859] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 859] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 859] ioctl(4, LOOP_CLR_FD) = 0 [pid 859] close(4) = 0 [pid 859] exit_group(0) = ? [pid 859] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=859, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./54", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./55/file0" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] newfstatat(AT_FDCWD, "./53/file0" [pid 310] <... umount2 resumed>) = 0 [pid 308] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] umount2("./53/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./54/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] openat(AT_FDCWD, "./55/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... openat resumed>) = 4 [pid 307] openat(AT_FDCWD, "./53/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./54/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] fstat(4 [pid 307] <... openat resumed>) = 4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./54/file0" [pid 308] getdents64(4 [pid 307] fstat(4 [pid 310] <... rmdir resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] getdents64(4 [pid 307] getdents64(4 [pid 310] newfstatat(AT_FDCWD, "./54/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] unlink("./54/binderfs" [pid 308] close(4 [pid 307] getdents64(4 [pid 310] <... unlink resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] getdents64(3 [pid 308] rmdir("./55/file0" [pid 307] close(4 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [ 34.039497][ T861] EXT4-fs (loop2): 1 truncate cleaned up [ 34.046631][ T863] EXT4-fs (loop1): 1 truncate cleaned up [ 34.055500][ T865] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 308] <... rmdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./54" [pid 307] rmdir("./53/file0" [pid 308] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... rmdir resumed>) = 0 [pid 310] mkdir("./55", 0777 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... rmdir resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./55/binderfs" [pid 307] umount2("./53/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./55/binderfs" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... mkdir resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 307] newfstatat(AT_FDCWD, "./53/binderfs" [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] getdents64(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [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 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] unlink("./53/binderfs" [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 870 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] close(3 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... unlink resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 870 attached [pid 308] rmdir("./55" [pid 307] getdents64(3 [pid 870] set_robust_list(0x5555866cd6a0, 24 [pid 865] <... mount resumed>) = 0 [pid 862] <... mount resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 870] <... set_robust_list resumed>) = 0 [pid 865] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 862] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] mkdir("./56", 0777 [pid 307] close(3 [pid 870] rt_sigprocmask(SIG_SETMASK, [] [pid 865] <... openat resumed>) = 3 [pid 862] <... openat resumed>) = 3 [pid 870] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 865] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 862] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 307] <... close resumed>) = 0 [pid 870] chdir("./55" [pid 865] <... openat resumed>) = 4 [pid 862] <... openat resumed>) = 4 [pid 308] <... mkdir resumed>) = 0 [pid 307] rmdir("./53" [pid 870] <... chdir resumed>) = 0 [pid 862] ioctl(4, LOOP_CLR_FD [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 862] <... ioctl resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 862] close(4 [pid 308] ioctl(3, LOOP_CLR_FD [pid 862] <... close resumed>) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 862] exit_group(0 [pid 308] close(3 [pid 870] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 865] ioctl(4, LOOP_CLR_FD [pid 862] <... exit_group resumed>) = ? [pid 308] <... close resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 870] <... prctl resumed>) = 0 [pid 865] <... ioctl resumed>) = 0 [pid 307] mkdir("./54", 0777 [pid 870] setpgid(0, 0 [pid 865] close(4 [pid 862] +++ exited with 0 +++ [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 870] <... setpgid resumed>) = 0 [pid 865] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 870] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 865] exit_group(0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=862, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLYci2-android-6-1/strace-static-x86_64: Process 871 attached [pid 870] <... openat resumed>) = 3 [pid 865] <... exit_group resumed>) = ? [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... openat resumed>) = 3 [pid 871] set_robust_list(0x5555866cd6a0, 24 [pid 870] write(3, "1000", 4 [pid 865] +++ exited with 0 +++ [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 871 [pid 307] ioctl(3, LOOP_CLR_FD [pid 870] <... write resumed>) = 4 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=865, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 870] close(3 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] close(3 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 870] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 870] symlink("/dev/binderfs", "./binderfs" [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 871] <... set_robust_list resumed>) = 0 [pid 870] <... symlink resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 870] write(1, "executing program\n", 18 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 870] <... write resumed>) = 18 [pid 871] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 871] chdir("./56") = 0 [pid 870] memfd_create("syzkaller", 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 872 [pid 871] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 870] <... memfd_create resumed>) = 3 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 870] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 871] <... prctl resumed>) = 0 executing program [pid 870] <... mmap resumed>) = 0x7f11e81cd000 [pid 871] setpgid(0, 0) = 0 [pid 871] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 871] write(3, "1000", 4) = 4 [pid 871] close(3) = 0 [pid 871] symlink("/dev/binderfs", "./binderfs") = 0 [pid 871] write(1, "executing program\n", 18) = 18 [pid 871] memfd_create("syzkaller", 0) = 3 [pid 871] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 ci2-android-6-1/strace-static-x86_64: Process 872 attached executing program [pid 870] 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"..., 524288 [pid 872] set_robust_list(0x5555866cd6a0, 24 [pid 871] 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"..., 524288 [pid 870] <... write resumed>) = 524288 [pid 309] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 872] <... set_robust_list resumed>) = 0 [pid 870] munmap(0x7f11e81cd000, 138412032 [pid 872] rt_sigprocmask(SIG_SETMASK, [] [pid 871] <... write resumed>) = 524288 [pid 870] <... munmap resumed>) = 0 [pid 872] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 871] munmap(0x7f11e81cd000, 138412032 [pid 870] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 309] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 34.084544][ T862] EXT4-fs (loop3): orphan cleanup on readonly fs [ 34.099974][ T865] EXT4-fs (loop0): 1 truncate cleaned up [ 34.106693][ T862] EXT4-fs (loop3): 1 truncate cleaned up [pid 872] chdir("./54" [pid 870] <... openat resumed>) = 4 [pid 309] openat(AT_FDCWD, "./56", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 872] <... chdir resumed>) = 0 [pid 871] <... munmap resumed>) = 0 [pid 870] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "./54", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 871] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 871] ioctl(4, LOOP_SET_FD, 3 [pid 872] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 870] <... ioctl resumed>) = 0 [pid 309] fstat(3 [pid 306] <... openat resumed>) = 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(3 [pid 309] getdents64(3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] getdents64(3 [pid 872] <... prctl resumed>) = 0 [pid 309] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 872] setpgid(0, 0 [pid 306] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 872] <... setpgid resumed>) = 0 [pid 872] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 872] write(3, "1000", 4) = 4 [pid 872] close(3) = 0 [pid 872] symlink("/dev/binderfs", "./binderfs") = 0 [pid 872] write(1, "executing program\n", 18) = 18 [pid 872] memfd_create("syzkaller", 0) = 3 [pid 872] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 870] close(3) = 0 [pid 872] 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"..., 524288 [pid 871] <... ioctl resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 309] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] newfstatat(AT_FDCWD, "./56/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] newfstatat(AT_FDCWD, "./54/file0" [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] openat(AT_FDCWD, "./56/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] fstat(4 [pid 306] openat(AT_FDCWD, "./54/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... openat resumed>) = 4 [pid 309] getdents64(4 [pid 306] fstat(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 306] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] close(4 [pid 306] getdents64(4 [pid 309] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] rmdir("./56/file0" [pid 306] close(4 [pid 309] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rmdir("./54/file0" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... rmdir resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./56/binderfs" [pid 306] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] unlink("./56/binderfs" [pid 306] newfstatat(AT_FDCWD, "./54/binderfs" [pid 309] <... unlink resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] getdents64(3 [pid 306] unlink("./54/binderfs" [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... unlink resumed>) = 0 [pid 309] close(3 [pid 306] getdents64(3 [pid 309] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] rmdir("./56" [pid 306] close(3 [pid 309] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] mkdir("./57", 0777 [pid 306] rmdir("./54" [pid 309] <... mkdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] mkdir("./55", 0777 [pid 309] <... openat resumed>) = 3 [pid 306] <... mkdir resumed>) = 0 [pid 870] close(4 [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 870] <... close resumed>) = 0 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... openat resumed>) = 3 [pid 870] mkdir("./file0", 0777 [pid 309] close(3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 870] <... mkdir resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 870] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] close(3 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... close resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 873 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 874 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 874 attached [pid 874] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 874] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 874] chdir("./55") = 0 [pid 874] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 874] setpgid(0, 0) = 0 [pid 874] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 874] write(3, "1000", 4) = 4 [pid 874] close(3) = 0 [pid 874] symlink("/dev/binderfs", "./binderfs") = 0 [pid 874] write(1, "executing program\n", 18) = 18 [pid 874] memfd_create("syzkaller", 0) = 3 [pid 874] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 871] close(3 [pid 872] <... write resumed>) = 524288 [pid 871] <... close resumed>) = 0 [pid 871] close(4) = 0 [pid 871] mkdir("./file0", 0777) = 0 [pid 871] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 874] 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"..., 524288) = 524288 [pid 874] munmap(0x7f11e81cd000, 138412032) = 0 [ 34.137488][ T870] set_capacity_and_notify: 137 callbacks suppressed [ 34.137506][ T870] loop4: detected capacity change from 0 to 1024 [ 34.138571][ T871] loop2: detected capacity change from 0 to 1024 [pid 874] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 874] ioctl(4, LOOP_SET_FD, 3ci2-android-6-1/strace-static-x86_64: Process 873 attached [pid 872] munmap(0x7f11e81cd000, 138412032 [pid 874] <... ioctl resumed>) = 0 [pid 873] set_robust_list(0x5555866cd6a0, 24 [pid 872] <... munmap resumed>) = 0 [pid 872] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 874] close(3 [pid 873] <... set_robust_list resumed>) = 0 [pid 872] <... openat resumed>) = 4 [pid 872] ioctl(4, LOOP_SET_FD, 3 [pid 874] <... close resumed>) = 0 [pid 873] rt_sigprocmask(SIG_SETMASK, [] [pid 874] close(4 [pid 873] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 874] <... close resumed>) = 0 [pid 873] chdir("./57" [pid 874] mkdir("./file0", 0777 [pid 873] <... chdir resumed>) = 0 [pid 874] <... mkdir resumed>) = 0 [pid 873] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 874] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 873] <... prctl resumed>) = 0 [pid 873] setpgid(0, 0) = 0 [pid 873] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 873] write(3, "1000", 4) = 4 [pid 873] close(3) = 0 [pid 873] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 873] write(1, "executing program\n", 18) = 18 [pid 873] memfd_create("syzkaller", 0) = 3 [pid 873] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 873] 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"..., 524288 [pid 872] <... ioctl resumed>) = 0 [pid 873] <... write resumed>) = 524288 [pid 872] close(3) = 0 [pid 872] close(4) = 0 [pid 873] munmap(0x7f11e81cd000, 138412032) = 0 [pid 872] mkdir("./file0", 0777 [pid 873] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 872] <... mkdir resumed>) = 0 [pid 872] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [ 34.185160][ T874] loop0: detected capacity change from 0 to 1024 [ 34.194142][ T870] EXT4-fs (loop4): orphan cleanup on readonly fs [ 34.196178][ T871] EXT4-fs (loop2): orphan cleanup on readonly fs [ 34.208275][ T872] loop1: detected capacity change from 0 to 1024 [ 34.221030][ T870] EXT4-fs (loop4): 1 truncate cleaned up [ 34.226618][ T874] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 873] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 873] close(3 [pid 870] <... mount resumed>) = 0 [pid 873] <... close resumed>) = 0 [pid 873] close(4) = 0 [pid 873] mkdir("./file0", 0777) = 0 [pid 870] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 870] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 870] ioctl(4, LOOP_CLR_FD) = 0 [pid 870] close(4) = 0 [pid 870] exit_group(0 [pid 873] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 870] <... exit_group resumed>) = ? [pid 870] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=870, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./55", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 34.239306][ T873] loop3: detected capacity change from 0 to 1024 [ 34.248045][ T871] EXT4-fs (loop2): 1 truncate cleaned up [ 34.254135][ T870] EXT4-fs mount: 486 callbacks suppressed [ 34.254150][ T870] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [ 34.259766][ T872] EXT4-fs (loop1): orphan cleanup on readonly fs [ 34.268600][ T874] EXT4-fs (loop0): 1 truncate cleaned up [pid 310] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 874] <... mount resumed>) = 0 [pid 874] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 874] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 874] ioctl(4, LOOP_CLR_FD) = 0 [pid 874] close(4) = 0 [pid 874] exit_group(0) = ? [pid 874] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=874, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 871] <... mount resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./55", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 871] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 871] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 871] ioctl(4, LOOP_CLR_FD) = 0 [pid 871] close(4) = 0 [pid 871] exit_group(0) = ? [pid 871] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=871, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... restart_syscall resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./55/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 872] <... mount resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW [pid 872] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] openat(AT_FDCWD, "./55/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 872] <... openat resumed>) = 3 [pid 310] <... openat resumed>) = 4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./56", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 34.281349][ T871] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [ 34.284694][ T874] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 34.299815][ T310] EXT4-fs (loop4): unmounting filesystem. [ 34.306517][ T872] EXT4-fs (loop1): 1 truncate cleaned up [ 34.312870][ T306] EXT4-fs (loop0): unmounting filesystem. [ 34.317637][ T872] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [pid 308] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] fstat(4 [pid 872] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 872] ioctl(4, LOOP_CLR_FD) = 0 [pid 872] close(4) = 0 [pid 872] exit_group(0) = ? [pid 872] +++ exited with 0 +++ [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=872, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 310] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] umount2("./54", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./55/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./55/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./55/file0") = 0 [pid 306] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./55/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./55/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./55" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] openat(AT_FDCWD, "./54", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] close(4 [pid 307] <... openat resumed>) = 3 [pid 310] <... close resumed>) = 0 [pid 307] fstat(3 [pid 310] rmdir("./55/file0" [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 306] mkdir("./56", 0777 [pid 307] getdents64(3 [pid 310] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] newfstatat(AT_FDCWD, "./55/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 310] unlink("./55/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./55") = 0 [pid 310] mkdir("./56", 0777) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 308] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./56/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./56/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./56/file0" [pid 310] <... openat resumed>) = 3 [pid 308] <... rmdir resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 308] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] ioctl(3, LOOP_CLR_FD [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./56/binderfs" [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] ioctl(3, LOOP_CLR_FD [pid 310] close(3 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... close resumed>) = 0 [pid 306] close(3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... close resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./56/binderfs") = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 880 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 881 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] rmdir("./56") = 0 [pid 308] mkdir("./57", 0777) = 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=0x5555866cd690) = 882 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 882 attached [pid 882] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 882] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 882] chdir("./57") = 0 [pid 882] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 882] setpgid(0, 0) = 0 [pid 882] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... umount2 resumed>) = 0 [pid 882] <... openat resumed>) = 3 [pid 882] write(3, "1000", 4) = 4 [pid 882] close(3) = 0 [pid 882] symlink("/dev/binderfs", "./binderfs") = 0 [pid 882] write(1, "executing program\n", 18) = 18 [pid 882] memfd_create("syzkaller", 0) = 3 [pid 882] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 882] 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"..., 524288 [pid 307] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ci2-android-6-1/strace-static-x86_64: Process 881 attached ci2-android-6-1/strace-static-x86_64: Process 880 attached [pid 307] newfstatat(AT_FDCWD, "./54/file0" [pid 881] set_robust_list(0x5555866cd6a0, 24 [pid 880] set_robust_list(0x5555866cd6a0, 24 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 881] <... set_robust_list resumed>) = 0 [pid 880] <... set_robust_list resumed>) = 0 [pid 307] umount2("./54/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 881] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 881] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 880] rt_sigprocmask(SIG_SETMASK, [] [pid 307] openat(AT_FDCWD, "./54/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 881] chdir("./56" [pid 307] getdents64(4 [pid 882] <... write resumed>) = 524288 [pid 882] munmap(0x7f11e81cd000, 138412032 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 881] <... chdir resumed>) = 0 [pid 882] <... munmap resumed>) = 0 [pid 882] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 307] getdents64(4 [pid 881] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 882] <... openat resumed>) = 4 [ 34.335153][ T308] EXT4-fs (loop2): unmounting filesystem. [ 34.341331][ T873] EXT4-fs (loop3): orphan cleanup on readonly fs [ 34.356364][ T307] EXT4-fs (loop1): unmounting filesystem. [ 34.369317][ T873] EXT4-fs (loop3): 1 truncate cleaned up [ 34.375385][ T873] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [pid 882] ioctl(4, LOOP_SET_FD, 3 [pid 881] <... prctl resumed>) = 0 [pid 880] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4 [pid 881] setpgid(0, 0 [pid 880] chdir("./56" [pid 882] <... ioctl resumed>) = 0 [pid 882] close(3) = 0 [pid 307] <... close resumed>) = 0 [pid 881] <... setpgid resumed>) = 0 [pid 880] <... chdir resumed>) = 0 [pid 307] rmdir("./54/file0" [pid 882] close(4 [pid 881] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 882] <... close resumed>) = 0 [pid 882] mkdir("./file0", 0777 [pid 307] <... rmdir resumed>) = 0 [pid 307] umount2("./54/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 882] <... mkdir resumed>) = 0 [pid 881] <... openat resumed>) = 3 [pid 882] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 881] write(3, "1000", 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 880] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] newfstatat(AT_FDCWD, "./54/binderfs" [pid 881] <... write resumed>) = 4 [pid 880] <... prctl resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 881] close(3 [pid 880] setpgid(0, 0 [pid 307] unlink("./54/binderfs" [pid 881] <... close resumed>) = 0 [pid 880] <... setpgid resumed>) = 0 [pid 873] <... mount resumed>) = 0 [pid 873] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 873] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 307] <... unlink resumed>) = 0 [pid 881] symlink("/dev/binderfs", "./binderfs" [pid 873] ioctl(4, LOOP_CLR_FD [pid 880] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] getdents64(3 [pid 873] <... ioctl resumed>) = 0 [pid 873] close(4) = 0 [pid 873] exit_group(0 [pid 881] <... symlink resumed>) = 0 [pid 873] <... exit_group resumed>) = ? [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 880] <... openat resumed>) = 3 executing program [pid 881] write(1, "executing program\n", 18 [pid 307] close(3) = 0 [pid 881] <... write resumed>) = 18 [pid 880] write(3, "1000", 4 [pid 307] rmdir("./54" [pid 881] memfd_create("syzkaller", 0 [pid 873] +++ exited with 0 +++ [pid 307] <... rmdir resumed>) = 0 [pid 880] <... write resumed>) = 4 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=873, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 881] <... memfd_create resumed>) = 3 [pid 880] close(3 [pid 307] mkdir("./55", 0777) = 0 [pid 880] <... close resumed>) = 0 [pid 881] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 881] <... mmap resumed>) = 0x7f11e81cd000 [pid 880] symlink("/dev/binderfs", "./binderfs" [pid 307] <... openat resumed>) = 3 [pid 309] <... restart_syscall resumed>) = 0 [pid 880] <... symlink resumed>) = 0 [pid 309] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 307] ioctl(3, LOOP_CLR_FD [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] close(3 [pid 309] getdents64(3 [pid 307] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 880] write(1, "executing program\n", 18 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 880] <... write resumed>) = 18 [pid 880] memfd_create("syzkaller", 0) = 3 [pid 880] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 881] 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"..., 524288 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 884 [pid 307] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 884 attached , NULL, 8) = 0 [pid 884] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 884] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 884] chdir("./55") = 0 [pid 884] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 881] <... write resumed>) = 524288 [pid 880] 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"..., 524288 [pid 309] <... umount2 resumed>) = 0 [pid 884] setpgid(0, 0 [pid 881] munmap(0x7f11e81cd000, 138412032 [pid 880] <... write resumed>) = 524288 [pid 884] <... setpgid resumed>) = 0 [pid 881] <... munmap resumed>) = 0 [pid 880] munmap(0x7f11e81cd000, 138412032 [pid 309] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 884] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 881] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 880] <... munmap resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 884] <... openat resumed>) = 3 [pid 881] <... openat resumed>) = 4 [pid 880] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 309] newfstatat(AT_FDCWD, "./57/file0" [pid 884] write(3, "1000", 4 [pid 881] ioctl(4, LOOP_SET_FD, 3 [pid 880] <... openat resumed>) = 4 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 884] <... write resumed>) = 4 [ 34.399064][ T882] loop2: detected capacity change from 0 to 1024 [ 34.411574][ T882] EXT4-fs (loop2): orphan cleanup on readonly fs [ 34.421235][ T309] EXT4-fs (loop3): unmounting filesystem. [ 34.431062][ T882] EXT4-fs (loop2): 1 truncate cleaned up [pid 884] close(3 [pid 880] ioctl(4, LOOP_SET_FD, 3 [pid 309] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 881] <... ioctl resumed>) = 0 [pid 884] <... close resumed>) = 0 [pid 884] symlink("/dev/binderfs", "./binderfs" [pid 882] <... mount resumed>) = 0 [pid 881] close(3 [pid 880] <... ioctl resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 884] <... symlink resumed>) = 0 [pid 881] <... close resumed>) = 0 executing program [pid 880] close(3 [pid 309] openat(AT_FDCWD, "./57/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 884] write(1, "executing program\n", 18 [pid 882] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 881] close(4 [pid 880] <... close resumed>) = 0 [pid 884] <... write resumed>) = 18 [pid 882] <... openat resumed>) = 3 [pid 881] <... close resumed>) = 0 [pid 880] close(4 [pid 309] <... openat resumed>) = 4 [pid 884] memfd_create("syzkaller", 0 [pid 881] mkdir("./file0", 0777 [pid 880] <... close resumed>) = 0 [pid 309] fstat(4 [pid 884] <... memfd_create resumed>) = 3 [pid 884] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 882] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 881] <... mkdir resumed>) = 0 [pid 880] mkdir("./file0", 0777 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 884] <... mmap resumed>) = 0x7f11e81cd000 [pid 882] <... openat resumed>) = 4 [pid 881] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 880] <... mkdir resumed>) = 0 [pid 309] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 882] ioctl(4, LOOP_CLR_FD [pid 884] 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"..., 524288 [pid 882] <... ioctl resumed>) = 0 [pid 880] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] getdents64(4 [pid 882] close(4 [pid 884] <... write resumed>) = 524288 [pid 882] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 884] munmap(0x7f11e81cd000, 138412032 [pid 882] exit_group(0 [pid 309] close(4 [pid 884] <... munmap resumed>) = 0 [pid 884] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 884] ioctl(4, LOOP_SET_FD, 3 [pid 882] <... exit_group resumed>) = ? [pid 309] <... close resumed>) = 0 [pid 882] +++ exited with 0 +++ [pid 309] rmdir("./57/file0") = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=882, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 3 [pid 309] newfstatat(AT_FDCWD, "./57/binderfs" [pid 308] fstat(3 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] unlink("./57/binderfs" [pid 308] getdents64(3 [pid 309] <... unlink resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] getdents64(3 [ 34.443676][ T881] loop0: detected capacity change from 0 to 1024 [ 34.451641][ T882] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [ 34.460710][ T880] loop4: detected capacity change from 0 to 1024 [ 34.483034][ T880] EXT4-fs (loop4): orphan cleanup on readonly fs [ 34.487118][ T884] loop1: detected capacity change from 0 to 1024 [pid 308] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./57") = 0 [pid 309] mkdir("./58", 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=0x5555866cd690) = 887 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 884] <... ioctl resumed>) = 0 [pid 884] close(3) = 0 [pid 884] close(4) = 0 [pid 884] mkdir("./file0", 0777) = 0 [pid 884] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 887 attached [pid 887] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 887] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 887] chdir("./58") = 0 [pid 887] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 887] setpgid(0, 0) = 0 [pid 887] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 887] write(3, "1000", 4) = 4 [pid 887] close(3) = 0 [pid 887] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 887] write(1, "executing program\n", 18) = 18 [pid 887] memfd_create("syzkaller", 0) = 3 [pid 887] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 887] 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"..., 524288) = 524288 [pid 887] munmap(0x7f11e81cd000, 138412032) = 0 [pid 887] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 887] ioctl(4, LOOP_SET_FD, 3 [pid 880] <... mount resumed>) = 0 [pid 880] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 880] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [ 34.496910][ T308] EXT4-fs (loop2): unmounting filesystem. [ 34.498198][ T881] EXT4-fs (loop0): orphan cleanup on readonly fs [ 34.518583][ T880] EXT4-fs (loop4): 1 truncate cleaned up [ 34.524480][ T881] EXT4-fs (loop0): 1 truncate cleaned up [ 34.526873][ T887] loop3: detected capacity change from 0 to 1024 [ 34.538096][ T880] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [pid 880] ioctl(4, LOOP_CLR_FD) = 0 [pid 880] close(4) = 0 [pid 880] exit_group(0) = ? [pid 880] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=880, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./56", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 881] <... mount resumed>) = 0 [pid 881] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 881] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 881] ioctl(4, LOOP_CLR_FD) = 0 [pid 881] close(4) = 0 [pid 887] <... ioctl resumed>) = 0 [pid 887] close(3) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 887] close(4 [pid 308] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 887] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... umount2 resumed>) = 0 [pid 887] mkdir("./file0", 0777 [pid 881] exit_group(0) = ? [pid 881] +++ exited with 0 +++ [pid 308] newfstatat(AT_FDCWD, "./57/file0" [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=881, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [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 308] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... restart_syscall resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 887] <... mkdir resumed>) = 0 [pid 310] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./57/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 887] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] fstat(4 [pid 306] openat(AT_FDCWD, "./56", 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(4 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] newfstatat(AT_FDCWD, "./56/file0" [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW [ 34.539551][ T884] EXT4-fs (loop1): orphan cleanup on readonly fs [ 34.555792][ T881] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 34.557485][ T310] EXT4-fs (loop4): unmounting filesystem. [ 34.571965][ T884] EXT4-fs (loop1): 1 truncate cleaned up [pid 308] close(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... close resumed>) = 0 [pid 308] rmdir("./57/file0" [pid 884] <... mount resumed>) = 0 [pid 884] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 884] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 884] ioctl(4, LOOP_CLR_FD) = 0 [pid 884] close(4) = 0 [pid 884] exit_group(0) = ? [pid 884] +++ exited with 0 +++ [pid 308] <... rmdir resumed>) = 0 [pid 310] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=884, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] openat(AT_FDCWD, "./56/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] newfstatat(AT_FDCWD, "./57/binderfs" [pid 310] <... openat resumed>) = 4 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] fstat(4 [pid 308] unlink("./57/binderfs") = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 310] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] close(3) = 0 [pid 310] getdents64(4 [pid 308] rmdir("./57") = 0 [pid 308] mkdir("./58", 0777 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 310] close(4 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./56/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./56/file0" [pid 308] <... openat resumed>) = 3 [pid 306] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] <... rmdir resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 310] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] close(3 [pid 310] newfstatat(AT_FDCWD, "./56/binderfs" [pid 308] <... close resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] unlink("./56/binderfs" [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... unlink resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] openat(AT_FDCWD, "./56/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 306] fstat(4 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 890 [pid 310] close(3 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] rmdir("./56"ci2-android-6-1/strace-static-x86_64: Process 890 attached [pid 890] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 310] mkdir("./57", 0777 [pid 890] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 890] chdir("./58" [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 890] <... chdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 890] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 890] setpgid(0, 0) = 0 [pid 890] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 890] write(3, "1000", 4) = 4 [pid 890] close(3) = 0 [pid 890] symlink("/dev/binderfs", "./binderfs") = 0 [pid 890] write(1, "executing program\n", 18 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... restart_syscall resumed>) = 0 [pid 310] close(3) = 0 [pid 307] umount2("./55", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] openat(AT_FDCWD, "./55", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... openat resumed>) = 3 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 executing program [pid 307] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 890] <... write resumed>) = 18 [pid 890] memfd_create("syzkaller", 0) = 3 [pid 890] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 890] 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"..., 524288 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 891 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 890] <... write resumed>) = 524288 [pid 890] munmap(0x7f11e81cd000, 138412032) = 0 [pid 890] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4 [pid 890] <... openat resumed>) = 4 [pid 890] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4 [pid 890] <... ioctl resumed>) = 0 [pid 890] close(3) = 0 [pid 890] close(4) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4 [pid 890] mkdir("./file0", 0777) = 0 [ 34.596883][ T306] EXT4-fs (loop0): unmounting filesystem. [ 34.599231][ T884] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [ 34.612752][ T887] EXT4-fs (loop3): orphan cleanup on readonly fs [ 34.629990][ T887] EXT4-fs (loop3): 1 truncate cleaned up [ 34.638623][ T307] EXT4-fs (loop1): unmounting filesystem. [pid 890] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./56/file0") = 0 [pid 306] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./56/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./56/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 887] <... mount resumed>) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./56"ci2-android-6-1/strace-static-x86_64: Process 891 attached [pid 887] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 891] set_robust_list(0x5555866cd6a0, 24 [pid 887] <... openat resumed>) = 3 [pid 891] <... set_robust_list resumed>) = 0 [pid 887] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 891] rt_sigprocmask(SIG_SETMASK, [] [pid 887] <... openat resumed>) = 4 [pid 306] <... rmdir resumed>) = 0 [pid 891] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 887] ioctl(4, LOOP_CLR_FD) = 0 [pid 891] chdir("./57" [pid 887] close(4 [pid 306] mkdir("./57", 0777 [pid 887] <... close resumed>) = 0 [pid 887] exit_group(0 [pid 891] <... chdir resumed>) = 0 [pid 887] <... exit_group resumed>) = ? [pid 887] +++ exited with 0 +++ [pid 891] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=887, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 891] setpgid(0, 0) = 0 [pid 891] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... umount2 resumed>) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 891] <... openat resumed>) = 3 [pid 307] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 891] write(3, "1000", 4) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... openat resumed>) = 3 [pid 891] close(3 [pid 307] newfstatat(AT_FDCWD, "./55/file0" [pid 306] ioctl(3, LOOP_CLR_FD [pid 891] <... close resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 891] symlink("/dev/binderfs", "./binderfs" [pid 306] close(3 [pid 307] umount2("./55/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 891] <... symlink resumed>) = 0 [pid 309] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW [pid 891] write(1, "executing program\n", 18 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 executing program [pid 891] <... write resumed>) = 18 [pid 309] openat(AT_FDCWD, "./58", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./55/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 891] memfd_create("syzkaller", 0 [pid 309] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 4 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 891] <... memfd_create resumed>) = 3 [pid 309] fstat(3 [pid 307] fstat(4 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 891] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [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 ci2-android-6-1/strace-static-x86_64: Process 893 attached [pid 891] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] getdents64(3 [pid 307] getdents64(4 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 893 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(4 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 893] set_robust_list(0x5555866cd6a0, 24 [pid 891] 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"..., 524288 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 893] <... set_robust_list resumed>) = 0 [pid 307] close(4 [pid 893] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... close resumed>) = 0 [ 34.650879][ T887] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [ 34.674806][ T890] EXT4-fs (loop2): orphan cleanup on readonly fs [ 34.686375][ T890] EXT4-fs (loop2): 1 truncate cleaned up [ 34.693976][ T309] EXT4-fs (loop3): unmounting filesystem. [pid 891] <... write resumed>) = 524288 [pid 891] munmap(0x7f11e81cd000, 138412032) = 0 [pid 891] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 891] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 891] close(3) = 0 [pid 891] close(4 [pid 307] rmdir("./55/file0") = 0 [pid 891] <... close resumed>) = 0 [pid 307] umount2("./55/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 891] mkdir("./file0", 0777 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./55/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 891] <... mkdir resumed>) = 0 [pid 307] unlink("./55/binderfs" [pid 891] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... unlink resumed>) = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 893] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] close(3 [pid 893] chdir("./57" [pid 307] <... close resumed>) = 0 [pid 893] <... chdir resumed>) = 0 [pid 307] rmdir("./55" [pid 893] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] <... rmdir resumed>) = 0 [pid 893] <... prctl resumed>) = 0 [pid 890] <... mount resumed>) = 0 [pid 307] mkdir("./56", 0777 [pid 893] setpgid(0, 0) = 0 [pid 890] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] <... mkdir resumed>) = 0 [pid 893] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 893] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 893] write(3, "1000", 4 [pid 307] ioctl(3, LOOP_CLR_FD [pid 893] <... write resumed>) = 4 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 893] close(3 [pid 307] close(3 [pid 893] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 893] symlink("/dev/binderfs", "./binderfs" [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 893] <... symlink resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 893] write(1, "executing program\n", 18 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 893] <... write resumed>) = 18 [pid 893] memfd_create("syzkaller", 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 895 [pid 893] <... memfd_create resumed>) = 3 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 893] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 893] <... mmap resumed>) = 0x7f11e81cd000 executing program [pid 893] 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"..., 524288 [pid 890] <... openat resumed>) = 3 [pid 890] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 893] <... write resumed>) = 524288 [pid 893] munmap(0x7f11e81cd000, 138412032) = 0 [pid 893] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 893] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 890] <... openat resumed>) = 4 [pid 893] close(3) = 0 [pid 893] close(4) = 0 [pid 893] mkdir("./file0", 0777ci2-android-6-1/strace-static-x86_64: Process 895 attached [pid 895] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 893] <... mkdir resumed>) = 0 [pid 893] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 895] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 895] chdir("./56") = 0 [pid 895] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 895] setpgid(0, 0) = 0 [pid 895] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 895] write(3, "1000", 4) = 4 [pid 895] close(3) = 0 [pid 895] symlink("/dev/binderfs", "./binderfs") = 0 [pid 895] write(1, "executing program\n", 18) = 18 [pid 895] memfd_create("syzkaller", 0) = 3 [pid 895] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 890] ioctl(4, LOOP_CLR_FD) = 0 [pid 890] close(4 [pid 895] 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"..., 524288 [pid 890] <... close resumed>) = 0 [pid 895] <... write resumed>) = 524288 [pid 895] munmap(0x7f11e81cd000, 138412032) = 0 [pid 895] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 895] ioctl(4, LOOP_SET_FD, 3) = 0 [ 34.700145][ T890] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [ 34.724344][ T891] EXT4-fs (loop4): orphan cleanup on readonly fs [ 34.732310][ T891] EXT4-fs (loop4): 1 truncate cleaned up [pid 895] close(3) = 0 [pid 890] exit_group(0 [pid 895] close(4) = 0 [pid 895] mkdir("./file0", 0777) = 0 [pid 895] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 891] <... mount resumed>) = 0 [pid 891] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 891] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 891] ioctl(4, LOOP_CLR_FD) = 0 [pid 891] close(4) = 0 [pid 891] exit_group(0) = ? [pid 891] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=891, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./58/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./58/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4 [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./57", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 890] <... exit_group resumed>) = ? [pid 309] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./58/file0") = 0 [pid 309] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 890] +++ exited with 0 +++ [pid 309] newfstatat(AT_FDCWD, "./58/binderfs" [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=890, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./58/binderfs") = 0 [pid 309] getdents64(3 [pid 308] <... restart_syscall resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./58", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] close(3) = 0 [ 34.745501][ T891] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [ 34.755174][ T893] EXT4-fs (loop0): orphan cleanup on readonly fs [ 34.766727][ T310] EXT4-fs (loop4): unmounting filesystem. [ 34.778156][ T895] EXT4-fs (loop1): orphan cleanup on readonly fs [ 34.785050][ T308] EXT4-fs (loop2): unmounting filesystem. [ 34.791889][ T895] EXT4-fs (loop1): 1 truncate cleaned up [pid 309] rmdir("./58" [pid 310] <... umount2 resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 310] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] mkdir("./59", 0777 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... mkdir resumed>) = 0 [pid 895] <... mount resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./57/file0" [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 895] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 893] <... mount resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... openat resumed>) = 3 [pid 895] <... openat resumed>) = 3 [pid 893] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./58/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./58/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./58/file0" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] <... rmdir resumed>) = 0 [pid 308] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./58/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./58/binderfs" [pid 310] openat(AT_FDCWD, "./57/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] close(3 [pid 308] <... unlink resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 308] getdents64(3 [pid 310] <... openat resumed>) = 4 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] fstat(4 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] rmdir("./58") = 0 [pid 308] mkdir("./59", 0777 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 310] getdents64(4 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 898 [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 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 310] getdents64(4 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 899 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 895] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 895] <... openat resumed>) = 4 [pid 893] <... openat resumed>) = 3 [pid 893] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 895] ioctl(4, LOOP_CLR_FD [pid 893] <... openat resumed>) = 4 [pid 895] <... ioctl resumed>) = 0 [pid 310] rmdir("./57/file0" [pid 893] ioctl(4, LOOP_CLR_FD) = 0 [pid 893] close(4) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 310] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 893] exit_group(0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./57/binderfs" [pid 893] <... exit_group resumed>) = ? [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./57/binderfs") = 0 [pid 310] getdents64(3 [pid 895] close(4 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 895] <... close resumed>) = 0 [pid 310] rmdir("./57" [pid 895] exit_group(0 [pid 310] <... rmdir resumed>) = 0 [pid 895] <... exit_group resumed>) = ? [pid 310] mkdir("./58", 0777) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 895] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=895, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 893] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=893, 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] <... openat resumed>) = 3 ci2-android-6-1/strace-static-x86_64: Process 898 attached [pid 898] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 898] rt_sigprocmask(SIG_SETMASK, [] [pid 310] ioctl(3, LOOP_CLR_FD [pid 898] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] close(3) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] umount2("./56", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./57", 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, "./56", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... openat resumed>) = 3 [pid 306] <... openat resumed>) = 3 ci2-android-6-1/strace-static-x86_64: Process 900 attached [pid 898] chdir("./59" [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 900 [pid 307] fstat(3 [pid 306] fstat(3 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [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 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] getdents64(3 [pid 306] getdents64(3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 899 attached [pid 900] set_robust_list(0x5555866cd6a0, 24 [pid 898] <... chdir resumed>) = 0 [pid 900] <... set_robust_list resumed>) = 0 [pid 898] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 900] rt_sigprocmask(SIG_SETMASK, [] [pid 898] <... prctl resumed>) = 0 [pid 900] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 898] setpgid(0, 0 [pid 900] chdir("./58" [pid 898] <... setpgid resumed>) = 0 [pid 900] <... chdir resumed>) = 0 [pid 898] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 900] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 898] <... openat resumed>) = 3 [pid 900] <... prctl resumed>) = 0 [pid 898] write(3, "1000", 4 [pid 900] setpgid(0, 0 [pid 898] <... write resumed>) = 4 [pid 900] <... setpgid resumed>) = 0 [pid 898] close(3 [pid 900] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 898] <... close resumed>) = 0 [pid 900] <... openat resumed>) = 3 [pid 898] symlink("/dev/binderfs", "./binderfs" [pid 900] write(3, "1000", 4 [pid 898] <... symlink resumed>) = 0 [pid 900] <... write resumed>) = 4 executing program [pid 898] write(1, "executing program\n", 18 [pid 900] close(3 [pid 899] set_robust_list(0x5555866cd6a0, 24 [pid 898] <... write resumed>) = 18 [pid 900] <... close resumed>) = 0 [pid 899] <... set_robust_list resumed>) = 0 [pid 898] memfd_create("syzkaller", 0 [pid 900] symlink("/dev/binderfs", "./binderfs" [pid 899] rt_sigprocmask(SIG_SETMASK, [] [pid 898] <... memfd_create resumed>) = 3 [pid 900] <... symlink resumed>) = 0 [pid 899] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 898] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 900] write(1, "executing program\n", 18 [pid 899] chdir("./59" [pid 898] <... mmap resumed>) = 0x7f11e81cd000 executing program [pid 900] <... write resumed>) = 18 [pid 899] <... chdir resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 899] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 307] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 899] <... prctl resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 899] setpgid(0, 0 [pid 307] newfstatat(AT_FDCWD, "./56/file0" [pid 306] newfstatat(AT_FDCWD, "./57/file0" [pid 899] <... setpgid resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 899] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 306] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 899] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 899] write(3, "1000", 4 [pid 306] openat(AT_FDCWD, "./57/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 899] <... write resumed>) = 4 [pid 306] <... openat resumed>) = 4 [pid 899] close(3 [pid 306] fstat(4 [pid 899] <... close resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 899] symlink("/dev/binderfs", "./binderfs" [pid 306] getdents64(4 [pid 899] <... symlink resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 899] write(1, "executing program\n", 18 [pid 306] getdents64(4 [pid 899] <... write resumed>) = 18 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 executing program [pid 899] memfd_create("syzkaller", 0 [pid 306] close(4 [pid 899] <... memfd_create resumed>) = 3 [pid 306] <... close resumed>) = 0 [pid 899] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] rmdir("./57/file0" [pid 899] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] <... rmdir resumed>) = 0 [pid 900] memfd_create("syzkaller", 0 [pid 899] 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"..., 524288 [pid 898] 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"..., 524288 [pid 306] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./57/binderfs" [pid 900] <... memfd_create resumed>) = 3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 900] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] umount2("./56/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] unlink("./57/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./57") = 0 [pid 306] mkdir("./58", 0777 [pid 900] 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"..., 524288 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [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 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] openat(AT_FDCWD, "./56/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 901 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 899] <... write resumed>) = 524288 [pid 307] <... openat resumed>) = 4 [pid 307] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 899] munmap(0x7f11e81cd000, 138412032) = 0 [pid 899] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 899] ioctl(4, LOOP_SET_FD, 3 [pid 898] <... write resumed>) = 524288 [pid 307] getdents64(4 [pid 899] <... ioctl resumed>) = 0 [pid 900] <... write resumed>) = 524288 [pid 899] close(3 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 898] munmap(0x7f11e81cd000, 138412032 [pid 900] munmap(0x7f11e81cd000, 138412032 [pid 307] getdents64(4 [pid 899] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 899] close(4 [pid 307] close(4) = 0 [pid 307] rmdir("./56/file0"ci2-android-6-1/strace-static-x86_64: Process 901 attached [pid 900] <... munmap resumed>) = 0 [pid 898] <... munmap resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 901] set_robust_list(0x5555866cd6a0, 24 [pid 900] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 898] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 307] umount2("./56/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 901] <... set_robust_list resumed>) = 0 [pid 900] <... openat resumed>) = 4 [pid 898] <... openat resumed>) = 4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 901] rt_sigprocmask(SIG_SETMASK, [] [pid 900] ioctl(4, LOOP_SET_FD, 3 [pid 898] ioctl(4, LOOP_SET_FD, 3 [pid 307] newfstatat(AT_FDCWD, "./56/binderfs" [pid 901] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 900] <... ioctl resumed>) = 0 [pid 898] <... ioctl resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 901] chdir("./58" [pid 900] close(3 [pid 898] close(3 [pid 307] unlink("./56/binderfs" [pid 901] <... chdir resumed>) = 0 [pid 900] <... close resumed>) = 0 [pid 898] <... close resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 901] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 900] close(4 [pid 898] close(4 [pid 307] getdents64(3 [pid 901] <... prctl resumed>) = 0 [pid 900] <... close resumed>) = 0 [pid 898] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 901] setpgid(0, 0 [pid 900] mkdir("./file0", 0777 [pid 898] mkdir("./file0", 0777 [pid 307] close(3 [pid 901] <... setpgid resumed>) = 0 [pid 900] <... mkdir resumed>) = 0 [ 34.798502][ T893] EXT4-fs (loop0): 1 truncate cleaned up [ 34.804586][ T895] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [ 34.814559][ T893] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 34.839117][ T307] EXT4-fs (loop1): unmounting filesystem. [ 34.845560][ T306] EXT4-fs (loop0): unmounting filesystem. [pid 898] <... mkdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 901] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 900] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 898] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] rmdir("./56" [pid 901] <... openat resumed>) = 3 [pid 307] <... rmdir resumed>) = 0 [pid 901] write(3, "1000", 4 [pid 307] mkdir("./57", 0777 [pid 901] <... write resumed>) = 4 [pid 307] <... mkdir resumed>) = 0 [pid 901] close(3 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 901] <... close resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 901] symlink("/dev/binderfs", "./binderfs" [pid 307] ioctl(3, LOOP_CLR_FD [pid 901] <... symlink resumed>) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) executing program [pid 901] write(1, "executing program\n", 18 [pid 307] close(3 [pid 901] <... write resumed>) = 18 [pid 307] <... close resumed>) = 0 [pid 901] memfd_create("syzkaller", 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 901] <... memfd_create resumed>) = 3 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 901] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 901] <... mmap resumed>) = 0x7f11e81cd000 [pid 901] 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"..., 524288 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 904 [pid 901] <... write resumed>) = 524288 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 901] munmap(0x7f11e81cd000, 138412032) = 0 [pid 901] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 901] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 901] close(3) = 0 [pid 901] close(4) = 0 [pid 901] mkdir("./file0", 0777) = 0 ci2-android-6-1/strace-static-x86_64: Process 904 attached [pid 904] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 904] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 904] chdir("./57") = 0 [pid 901] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 904] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 904] setpgid(0, 0) = 0 [pid 904] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 904] write(3, "1000", 4) = 4 [pid 904] close(3) = 0 [pid 904] symlink("/dev/binderfs", "./binderfs") = 0 [pid 904] write(1, "executing program\n", 18) = 18 [pid 904] memfd_create("syzkaller", 0) = 3 [pid 904] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 904] 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"..., 524288 [pid 899] <... close resumed>) = 0 executing program [pid 904] <... write resumed>) = 524288 [pid 904] munmap(0x7f11e81cd000, 138412032) = 0 [pid 904] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 904] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 904] close(3) = 0 [pid 904] close(4) = 0 [pid 904] mkdir("./file0", 0777) = 0 [pid 904] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 899] mkdir("./file0", 0777) = 0 [ 34.899005][ T900] EXT4-fs (loop4): orphan cleanup on readonly fs [ 34.911972][ T901] EXT4-fs (loop0): orphan cleanup on readonly fs [ 34.913942][ T898] EXT4-fs (loop3): orphan cleanup on readonly fs [ 34.923593][ T904] EXT4-fs (loop1): orphan cleanup on readonly fs [ 34.931908][ T898] EXT4-fs (loop3): 1 truncate cleaned up [pid 899] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 900] <... mount resumed>) = 0 [pid 900] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 900] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 900] ioctl(4, LOOP_CLR_FD) = 0 [pid 900] close(4) = 0 [pid 900] exit_group(0) = ? [pid 900] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=900, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 898] <... mount resumed>) = 0 [pid 898] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 898] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 898] ioctl(4, LOOP_CLR_FD) = 0 [pid 898] close(4) = 0 [pid 898] exit_group(0) = ? [pid 898] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=898, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... restart_syscall resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 310] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./59", 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, "./58", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./59", 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>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW [ 34.942709][ T898] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [ 34.953486][ T900] EXT4-fs (loop4): 1 truncate cleaned up [ 34.959446][ T900] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [ 34.969963][ T899] EXT4-fs (loop2): orphan cleanup on readonly fs [ 34.989330][ T310] EXT4-fs (loop4): unmounting filesystem. [pid 309] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./59/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./59/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./59/file0") = 0 [pid 309] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./59/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./59/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./59") = 0 [pid 309] mkdir("./60", 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=0x5555866cd690) = 908 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 908 attached [pid 908] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 908] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 908] chdir("./60") = 0 [pid 908] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 908] setpgid(0, 0) = 0 [pid 908] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 908] write(3, "1000", 4) = 4 [pid 908] close(3) = 0 [pid 908] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 908] write(1, "executing program\n", 18) = 18 [pid 908] memfd_create("syzkaller", 0) = 3 [pid 908] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 310] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 908] 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"..., 524288) = 524288 [pid 908] munmap(0x7f11e81cd000, 138412032) = 0 [pid 908] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./58/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./58/file0", 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 [pid 908] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./58/file0" [pid 908] <... ioctl resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 310] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./58/binderfs" [pid 908] close(3) = 0 [pid 908] close(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 34.995921][ T309] EXT4-fs (loop3): unmounting filesystem. [ 35.009225][ T904] EXT4-fs (loop1): 1 truncate cleaned up [ 35.027676][ T901] EXT4-fs (loop0): 1 truncate cleaned up [ 35.033876][ T899] EXT4-fs (loop2): 1 truncate cleaned up [pid 908] <... close resumed>) = 0 [pid 310] unlink("./58/binderfs" [pid 904] <... mount resumed>) = 0 [pid 908] mkdir("./file0", 0777) = 0 [pid 908] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 904] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 904] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 904] ioctl(4, LOOP_CLR_FD) = 0 [pid 904] close(4) = 0 [pid 904] exit_group(0 [pid 310] <... unlink resumed>) = 0 [pid 310] getdents64(3 [pid 904] <... exit_group resumed>) = ? [pid 904] +++ exited with 0 +++ [pid 901] <... mount resumed>) = 0 [pid 901] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 901] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 901] ioctl(4, LOOP_CLR_FD [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=904, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 901] <... ioctl resumed>) = 0 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 901] close(4) = 0 [pid 307] umount2("./57", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 901] exit_group(0 [pid 307] openat(AT_FDCWD, "./57", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 901] <... exit_group resumed>) = ? [pid 901] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=901, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 899] <... mount resumed>) = 0 [pid 899] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] <... restart_syscall resumed>) = 0 [pid 310] close(3 [pid 307] fstat(3 [pid 310] <... close resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] rmdir("./58" [pid 307] getdents64(3 [pid 306] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] mkdir("./59", 0777 [pid 307] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "./58", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] <... openat resumed>) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 899] <... openat resumed>) = 3 [pid 899] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 899] ioctl(4, LOOP_CLR_FD [pid 310] <... openat resumed>) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 899] <... ioctl resumed>) = 0 [pid 899] close(4 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 899] <... close resumed>) = 0 [pid 899] exit_group(0) = ? [ 35.048598][ T904] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [ 35.053953][ T901] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 35.067935][ T899] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [ 35.085249][ T307] EXT4-fs (loop1): unmounting filesystem. [ 35.091837][ T306] EXT4-fs (loop0): unmounting filesystem. [pid 899] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=899, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [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 308] <... restart_syscall resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 910 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 308] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./59", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./58/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./58/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./58/file0") = 0 [pid 306] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./58/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./58/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./58") = 0 [pid 306] mkdir("./59", 0777) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 308] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] close(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] newfstatat(AT_FDCWD, "./59/file0" [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 911 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./57/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./57/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./57/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 308] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] fstat(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./59/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... openat resumed>) = 4 [pid 308] fstat(4 [pid 307] getdents64(4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4 [pid 308] close(4 [pid 307] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [ 35.099100][ T908] EXT4-fs (loop3): orphan cleanup on readonly fs [ 35.106950][ T908] EXT4-fs (loop3): 1 truncate cleaned up [ 35.118904][ T308] EXT4-fs (loop2): unmounting filesystem. [pid 307] rmdir("./57/file0") = 0 [pid 307] umount2("./57/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./57/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./57/binderfs") = 0 ci2-android-6-1/strace-static-x86_64: Process 910 attached [pid 910] set_robust_list(0x5555866cd6a0, 24ci2-android-6-1/strace-static-x86_64: Process 911 attached [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 910] <... set_robust_list resumed>) = 0 [pid 911] set_robust_list(0x5555866cd6a0, 24 [pid 308] rmdir("./59/file0" [pid 908] <... mount resumed>) = 0 [pid 307] close(3 [pid 910] rt_sigprocmask(SIG_SETMASK, [] [pid 911] <... set_robust_list resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 908] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 [pid 908] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] rmdir("./57" [pid 908] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] newfstatat(AT_FDCWD, "./59/binderfs" [pid 910] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 908] <... openat resumed>) = 4 [pid 308] unlink("./59/binderfs" [pid 911] rt_sigprocmask(SIG_SETMASK, [] [pid 910] chdir("./59" [pid 908] ioctl(4, LOOP_CLR_FD [pid 308] <... unlink resumed>) = 0 [pid 911] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] getdents64(3 [pid 908] <... ioctl resumed>) = 0 [pid 910] <... chdir resumed>) = 0 [pid 908] close(4 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 308] close(3 [pid 908] <... close resumed>) = 0 [pid 307] mkdir("./58", 0777 [pid 308] <... close resumed>) = 0 [pid 908] exit_group(0 [pid 308] rmdir("./59" [pid 911] chdir("./59" [pid 910] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 911] <... chdir resumed>) = 0 [pid 910] <... prctl resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 908] <... exit_group resumed>) = ? [pid 308] mkdir("./60", 0777 [pid 911] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 910] setpgid(0, 0 [pid 911] <... prctl resumed>) = 0 [pid 910] <... setpgid resumed>) = 0 [pid 911] setpgid(0, 0 [pid 910] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 911] <... setpgid resumed>) = 0 [pid 910] <... openat resumed>) = 3 [pid 308] <... mkdir resumed>) = 0 [pid 911] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 910] write(3, "1000", 4 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 911] <... openat resumed>) = 3 [pid 910] <... write resumed>) = 4 [pid 308] <... openat resumed>) = 3 [pid 911] write(3, "1000", 4 [pid 910] close(3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 911] <... write resumed>) = 4 [pid 910] <... close resumed>) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 911] close(3 [pid 910] symlink("/dev/binderfs", "./binderfs" [pid 308] close(3 [pid 911] <... close resumed>) = 0 [pid 910] <... symlink resumed>) = 0 [pid 908] +++ exited with 0 +++ [pid 308] <... close resumed>) = 0 [pid 911] symlink("/dev/binderfs", "./binderfs" [pid 910] write(1, "executing program\n", 18 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=908, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... mkdir resumed>) = 0 [pid 910] <... write resumed>) = 18 executing program [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 911] <... symlink resumed>) = 0 [pid 910] memfd_create("syzkaller", 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 910] <... memfd_create resumed>) = 3 [pid 910] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 ci2-android-6-1/strace-static-x86_64: Process 912 attached [pid 911] write(1, "executing program\n", 18 [pid 307] <... openat resumed>) = 3 executing program [pid 912] set_robust_list(0x5555866cd6a0, 24 [pid 911] <... write resumed>) = 18 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 912 [pid 307] ioctl(3, LOOP_CLR_FD [pid 912] <... set_robust_list resumed>) = 0 [pid 911] memfd_create("syzkaller", 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 911] <... memfd_create resumed>) = 3 [pid 910] 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"..., 524288 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 911] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] close(3 [pid 912] rt_sigprocmask(SIG_SETMASK, [] [pid 911] <... mmap resumed>) = 0x7f11e81cd000 [pid 307] <... close resumed>) = 0 [pid 912] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 912] chdir("./60" [pid 910] <... write resumed>) = 524288 [pid 911] 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"..., 524288 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 912] <... chdir resumed>) = 0 [pid 910] munmap(0x7f11e81cd000, 138412032 [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... openat resumed>) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 913 [pid 912] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 912] <... prctl resumed>) = 0 [pid 911] <... write resumed>) = 524288 [pid 309] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] rt_sigprocmask(SIG_SETMASK, []ci2-android-6-1/strace-static-x86_64: Process 913 attached [pid 912] setpgid(0, 0 [pid 911] munmap(0x7f11e81cd000, 138412032 [pid 910] <... munmap resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 913] set_robust_list(0x5555866cd6a0, 24 [pid 912] <... setpgid resumed>) = 0 [pid 911] <... munmap resumed>) = 0 [pid 910] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 913] <... set_robust_list resumed>) = 0 [pid 912] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 911] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 910] <... openat resumed>) = 4 [pid 913] rt_sigprocmask(SIG_SETMASK, [] [pid 912] <... openat resumed>) = 3 [pid 911] <... openat resumed>) = 4 [pid 910] ioctl(4, LOOP_SET_FD, 3 [pid 913] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 912] write(3, "1000", 4 [pid 911] ioctl(4, LOOP_SET_FD, 3 [pid 910] <... ioctl resumed>) = 0 [pid 910] close(3) = 0 [pid 910] close(4) = 0 [pid 910] mkdir("./file0", 0777) = 0 [pid 910] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./60/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 913] chdir("./58" [pid 912] <... write resumed>) = 4 [pid 911] <... ioctl resumed>) = 0 [pid 309] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 913] <... chdir resumed>) = 0 [pid 912] close(3 [pid 911] close(3 [pid 913] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 912] <... close resumed>) = 0 [pid 911] <... close resumed>) = 0 [pid 913] <... prctl resumed>) = 0 [pid 912] symlink("/dev/binderfs", "./binderfs" [pid 911] close(4 [pid 913] setpgid(0, 0 [pid 912] <... symlink resumed>) = 0 [pid 911] <... close resumed>) = 0 [pid 913] <... setpgid resumed>) = 0 [pid 912] write(1, "executing program\n", 18 executing program [pid 911] mkdir("./file0", 0777 [pid 913] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 912] <... write resumed>) = 18 [pid 911] <... mkdir resumed>) = 0 [pid 913] <... openat resumed>) = 3 [pid 912] memfd_create("syzkaller", 0 [pid 911] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 913] write(3, "1000", 4 [pid 912] <... memfd_create resumed>) = 3 [pid 913] <... write resumed>) = 4 [pid 912] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 913] close(3 [pid 912] <... mmap resumed>) = 0x7f11e81cd000 [pid 913] <... close resumed>) = 0 [pid 912] 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"..., 524288 [pid 913] symlink("/dev/binderfs", "./binderfs" [pid 912] <... write resumed>) = 524288 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 913] <... symlink resumed>) = 0 [pid 912] munmap(0x7f11e81cd000, 138412032 [pid 309] openat(AT_FDCWD, "./60/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 913] write(1, "executing program\n", 18 [pid 912] <... munmap resumed>) = 0 executing program [pid 309] <... openat resumed>) = 4 [pid 913] <... write resumed>) = 18 [pid 912] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 309] fstat(4 [pid 913] memfd_create("syzkaller", 0 [pid 912] <... openat resumed>) = 4 [pid 913] <... memfd_create resumed>) = 3 [pid 912] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 913] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 912] <... ioctl resumed>) = 0 [ 35.140849][ T908] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [ 35.162877][ T309] EXT4-fs (loop3): unmounting filesystem. [pid 309] getdents64(4 [pid 913] <... mmap resumed>) = 0x7f11e81cd000 [pid 912] close(3 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 913] 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"..., 524288 [pid 912] <... close resumed>) = 0 [pid 309] getdents64(4 [pid 912] close(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 912] <... close resumed>) = 0 [pid 309] close(4 [pid 912] mkdir("./file0", 0777 [pid 309] <... close resumed>) = 0 [pid 912] <... mkdir resumed>) = 0 [pid 309] rmdir("./60/file0" [pid 912] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... rmdir resumed>) = 0 [pid 309] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./60/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./60/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./60") = 0 [pid 309] mkdir("./61", 0777) = 0 [pid 913] <... write resumed>) = 524288 [pid 913] munmap(0x7f11e81cd000, 138412032) = 0 [pid 913] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 913] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 913] close(3) = 0 [pid 913] close(4 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 913] <... close resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 913] mkdir("./file0", 0777 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 913] <... mkdir resumed>) = 0 [pid 910] <... mount resumed>) = 0 [pid 910] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 910] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 910] ioctl(4, LOOP_CLR_FD) = 0 [pid 910] close(4) = 0 [pid 910] exit_group(0) = ? [pid 910] +++ exited with 0 +++ [pid 309] <... close resumed>) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=910, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 913] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [ 35.187706][ T910] EXT4-fs (loop4): orphan cleanup on readonly fs [ 35.195429][ T910] EXT4-fs (loop4): 1 truncate cleaned up [ 35.204905][ T911] EXT4-fs (loop0): orphan cleanup on readonly fs [ 35.213034][ T910] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [ 35.223300][ T912] EXT4-fs (loop2): orphan cleanup on readonly fs [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 917 attached [pid 310] <... restart_syscall resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 917 [pid 310] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] openat(AT_FDCWD, "./59", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 917] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 917] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 917] chdir("./61") = 0 [pid 911] <... mount resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 911] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./59/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./59/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 911] <... openat resumed>) = 3 [pid 310] <... openat resumed>) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./59/file0") = 0 [ 35.236685][ T911] EXT4-fs (loop0): 1 truncate cleaned up [ 35.245291][ T310] EXT4-fs (loop4): unmounting filesystem. [ 35.252933][ T912] EXT4-fs (loop2): 1 truncate cleaned up [ 35.258857][ T911] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 35.260345][ T913] EXT4-fs (loop1): orphan cleanup on readonly fs [ 35.274416][ T912] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. [pid 310] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 917] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 911] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 917] <... prctl resumed>) = 0 [pid 911] <... openat resumed>) = 4 [pid 917] setpgid(0, 0 [pid 911] ioctl(4, LOOP_CLR_FD [pid 917] <... setpgid resumed>) = 0 [pid 911] <... ioctl resumed>) = 0 [pid 917] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 911] close(4 [pid 917] <... openat resumed>) = 3 [pid 911] <... close resumed>) = 0 [pid 917] write(3, "1000", 4 [pid 911] exit_group(0 [pid 917] <... write resumed>) = 4 [pid 911] <... exit_group resumed>) = ? [pid 917] close(3 [pid 911] +++ exited with 0 +++ [pid 917] <... close resumed>) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=911, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 917] symlink("/dev/binderfs", "./binderfs" [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 917] <... symlink resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 917] write(1, "executing program\n", 18) = 18 executing program [pid 917] memfd_create("syzkaller", 0 [pid 306] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW [pid 917] <... memfd_create resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 917] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] openat(AT_FDCWD, "./59", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 917] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] <... openat resumed>) = 3 [pid 917] 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"..., 524288 [pid 913] <... mount resumed>) = 0 [pid 912] <... mount resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./59/binderfs" [pid 306] fstat(3 [pid 913] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 912] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 913] <... openat resumed>) = 3 [pid 912] <... openat resumed>) = 3 [pid 310] unlink("./59/binderfs" [pid 913] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 912] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] <... unlink resumed>) = 0 [pid 306] getdents64(3 [pid 917] <... write resumed>) = 524288 [pid 913] <... openat resumed>) = 4 [pid 912] <... openat resumed>) = 4 [pid 310] getdents64(3 [pid 913] ioctl(4, LOOP_CLR_FD [pid 912] ioctl(4, LOOP_CLR_FD [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 913] <... ioctl resumed>) = 0 [pid 912] <... ioctl resumed>) = 0 [pid 310] close(3 [pid 913] close(4 [pid 912] close(4 [pid 310] <... close resumed>) = 0 [pid 306] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 917] munmap(0x7f11e81cd000, 138412032 [pid 913] <... close resumed>) = 0 [pid 912] <... close resumed>) = 0 [pid 310] rmdir("./59" [pid 913] exit_group(0 [pid 912] exit_group(0 [pid 310] <... rmdir resumed>) = 0 [pid 913] <... exit_group resumed>) = ? [pid 912] <... exit_group resumed>) = ? [pid 310] mkdir("./60", 0777 [pid 913] +++ exited with 0 +++ [pid 912] +++ exited with 0 +++ [pid 310] <... mkdir resumed>) = 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 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=912, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=913, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 919 attached [pid 917] <... munmap resumed>) = 0 [pid 919] set_robust_list(0x5555866cd6a0, 24 [pid 917] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 919 [pid 308] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./58", MNT_FORCE|UMOUNT_NOFOLLOW [pid 919] <... set_robust_list resumed>) = 0 [pid 917] <... openat resumed>) = 4 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 919] rt_sigprocmask(SIG_SETMASK, [] [pid 917] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./58", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 919] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... openat resumed>) = 3 [pid 919] chdir("./60" [pid 307] <... openat resumed>) = 3 [pid 308] fstat(3 [pid 307] fstat(3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 919] <... chdir resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 307] getdents64(3 [pid 919] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 919] setpgid(0, 0) = 0 [pid 919] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 919] write(3, "1000", 4) = 4 [pid 919] close(3) = 0 [pid 919] symlink("/dev/binderfs", "./binderfs") = 0 [pid 919] write(1, "executing program\n", 18) = 18 [pid 919] memfd_create("syzkaller", 0) = 3 [pid 919] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 919] 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"..., 524288) = 524288 [pid 919] munmap(0x7f11e81cd000, 138412032) = 0 [pid 919] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 executing program [ 35.288159][ T913] EXT4-fs (loop1): 1 truncate cleaned up [ 35.293992][ T913] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [ 35.308939][ T306] EXT4-fs (loop0): unmounting filesystem. [ 35.318758][ T308] EXT4-fs (loop2): unmounting filesystem. [ 35.325020][ T307] EXT4-fs (loop1): unmounting filesystem. [pid 919] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 919] close(3) = 0 [pid 919] close(4) = 0 [pid 919] mkdir("./file0", 0777) = 0 [pid 919] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./59/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./59/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./59/file0") = 0 [pid 306] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./59/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./59/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./59") = 0 [pid 306] mkdir("./60", 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, child_tidptr=0x5555866cd690) = 921 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 921 attached [pid 917] <... ioctl resumed>) = 0 [pid 921] set_robust_list(0x5555866cd6a0, 24 [pid 917] close(3 [pid 921] <... set_robust_list resumed>) = 0 [pid 921] rt_sigprocmask(SIG_SETMASK, [] [pid 917] <... close resumed>) = 0 [pid 921] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 917] close(4) = 0 [pid 921] chdir("./60") = 0 [pid 921] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 921] setpgid(0, 0) = 0 [pid 921] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 917] mkdir("./file0", 0777 [pid 921] <... openat resumed>) = 3 [pid 921] write(3, "1000", 4) = 4 [pid 921] close(3) = 0 [pid 917] <... mkdir resumed>) = 0 [pid 921] symlink("/dev/binderfs", "./binderfs") = 0 [pid 921] write(1, "executing program\n", 18) = 18 [pid 921] memfd_create("syzkaller", 0) = 3 [pid 921] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 921] 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"..., 524288 [pid 917] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 921] <... write resumed>) = 524288 [pid 921] munmap(0x7f11e81cd000, 138412032) = 0 [pid 921] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 executing program [pid 921] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 921] close(3) = 0 [pid 921] close(4) = 0 [pid 921] mkdir("./file0", 0777) = 0 [pid 921] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./58/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./58/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./58/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./58/file0") = 0 [pid 307] umount2("./58/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./58/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./58/binderfs" [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... unlink resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] getdents64(3 [pid 308] newfstatat(AT_FDCWD, "./60/file0" [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] close(3 [pid 308] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] rmdir("./58" [pid 308] openat(AT_FDCWD, "./60/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... rmdir resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 307] mkdir("./59", 0777 [pid 308] fstat(4 [pid 307] <... mkdir resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... openat resumed>) = 3 [pid 308] getdents64(4 [pid 307] ioctl(3, LOOP_CLR_FD [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] close(4 [pid 307] close(3 [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 308] rmdir("./60/file0" [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./60/binderfs" [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 924 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 35.344436][ T919] EXT4-fs (loop4): orphan cleanup on readonly fs [ 35.357892][ T919] EXT4-fs (loop4): 1 truncate cleaned up [ 35.374172][ T917] EXT4-fs (loop3): orphan cleanup on readonly fs [ 35.381014][ T919] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 308] unlink("./60/binderfs" [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... unlink resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 924 attached [pid 308] getdents64(3 [pid 924] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 924] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 924] chdir("./59" [pid 308] close(3 [pid 924] <... chdir resumed>) = 0 [pid 924] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 924] setpgid(0, 0) = 0 [pid 924] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 924] write(3, "1000", 4) = 4 [pid 924] close(3) = 0 [pid 924] symlink("/dev/binderfs", "./binderfs" [pid 308] <... close resumed>) = 0 [pid 924] <... symlink resumed>) = 0 [pid 919] <... mount resumed>) = 0 [pid 924] write(1, "executing program\n", 18) = 18 [pid 308] rmdir("./60" [pid 919] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 924] memfd_create("syzkaller", 0 [pid 919] <... openat resumed>) = 3 [pid 919] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 924] <... memfd_create resumed>) = 3 [pid 919] ioctl(4, LOOP_CLR_FD) = 0 [pid 924] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 919] close(4 [pid 924] <... mmap resumed>) = 0x7f11e81cd000 [pid 919] <... close resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 executing program [pid 919] exit_group(0 [pid 308] mkdir("./61", 0777 [pid 919] <... exit_group resumed>) = ? [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, ~[] [pid 919] +++ exited with 0 +++ [pid 924] 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"..., 524288 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=919, 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] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 925 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... openat resumed>) = 3 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 924] <... write resumed>) = 524288 [pid 924] munmap(0x7f11e81cd000, 138412032) = 0 [pid 924] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 924] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 924] close(3) = 0 [pid 924] close(4) = 0 [pid 924] mkdir("./file0", 0777 [pid 310] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 917] <... mount resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 925 attached [pid 924] <... mkdir resumed>) = 0 [ 35.397997][ T921] EXT4-fs (loop0): orphan cleanup on readonly fs [ 35.399355][ T917] EXT4-fs (loop3): 1 truncate cleaned up [ 35.415494][ T921] EXT4-fs (loop0): 1 truncate cleaned up [ 35.428318][ T310] EXT4-fs (loop4): unmounting filesystem. [ 35.431391][ T917] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [pid 924] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 917] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 925] set_robust_list(0x5555866cd6a0, 24 [pid 917] <... openat resumed>) = 3 [pid 925] <... set_robust_list resumed>) = 0 [pid 917] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 925] rt_sigprocmask(SIG_SETMASK, [] [pid 921] <... mount resumed>) = 0 [pid 917] <... openat resumed>) = 4 [pid 925] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 921] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 917] ioctl(4, LOOP_CLR_FD [pid 925] chdir("./61" [pid 921] <... openat resumed>) = 3 [pid 917] <... ioctl resumed>) = 0 [pid 925] <... chdir resumed>) = 0 [pid 921] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 917] close(4 [pid 925] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 921] <... openat resumed>) = 4 [pid 925] <... prctl resumed>) = 0 [pid 917] <... close resumed>) = 0 [pid 921] ioctl(4, LOOP_CLR_FD [pid 925] setpgid(0, 0) = 0 [pid 921] <... ioctl resumed>) = 0 [pid 917] exit_group(0 [pid 925] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 917] <... exit_group resumed>) = ? [pid 917] +++ exited with 0 +++ [pid 921] close(4 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=917, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 925] <... openat resumed>) = 3 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 925] write(3, "1000", 4 [pid 921] <... close resumed>) = 0 [pid 925] <... write resumed>) = 4 [pid 309] <... restart_syscall resumed>) = 0 [pid 921] exit_group(0 [pid 925] close(3 [pid 921] <... exit_group resumed>) = ? [pid 925] <... close resumed>) = 0 [pid 309] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./61", 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 [pid 925] symlink("/dev/binderfs", "./binderfs" [pid 921] +++ exited with 0 +++ [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 925] <... symlink resumed>) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=921, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 925] write(1, "executing program\n", 18 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 925] <... write resumed>) = 18 executing program [pid 925] memfd_create("syzkaller", 0) = 3 [pid 306] <... restart_syscall resumed>) = 0 [pid 925] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 925] 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"..., 524288 [pid 306] umount2("./60", MNT_FORCE|UMOUNT_NOFOLLOW [pid 925] <... write resumed>) = 524288 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 925] munmap(0x7f11e81cd000, 138412032 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./60/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./60/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4 [pid 306] <... openat resumed>) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 925] <... munmap resumed>) = 0 [pid 306] getdents64(3 [pid 925] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 925] ioctl(4, LOOP_SET_FD, 3 [pid 306] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./60/file0") = 0 [pid 310] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./60/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./60/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 925] <... ioctl resumed>) = 0 [pid 310] rmdir("./60" [pid 925] close(3) = 0 [pid 925] close(4) = 0 [pid 925] mkdir("./file0", 0777) = 0 [pid 925] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... rmdir resumed>) = 0 [ 35.443522][ T921] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 35.457049][ T309] EXT4-fs (loop3): unmounting filesystem. [ 35.472365][ T924] EXT4-fs (loop1): orphan cleanup on readonly fs [ 35.480916][ T306] EXT4-fs (loop0): unmounting filesystem. [pid 310] mkdir("./61", 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=0x5555866cd690) = 928 [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./61/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./61/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./61/file0" [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 928 attached [pid 309] <... rmdir resumed>) = 0 [pid 928] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 928] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 928] chdir("./61" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./61/binderfs" [pid 928] <... chdir resumed>) = 0 [pid 928] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 928] setpgid(0, 0) = 0 [pid 928] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./61/binderfs") = 0 [pid 928] <... openat resumed>) = 3 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3 [pid 928] write(3, "1000", 4 [pid 309] <... close resumed>) = 0 [pid 928] <... write resumed>) = 4 [pid 928] close(3) = 0 [pid 309] rmdir("./61" [pid 306] <... umount2 resumed>) = 0 executing program [pid 928] symlink("/dev/binderfs", "./binderfs" [pid 309] <... rmdir resumed>) = 0 [pid 928] <... symlink resumed>) = 0 [pid 928] write(1, "executing program\n", 18) = 18 [pid 928] memfd_create("syzkaller", 0 [pid 309] mkdir("./62", 0777) = 0 [pid 928] <... memfd_create resumed>) = 3 [pid 928] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 306] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 928] 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"..., 524288 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./60/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 928] <... write resumed>) = 524288 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 924] <... mount resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 928] munmap(0x7f11e81cd000, 138412032 [pid 924] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... openat resumed>) = 3 [pid 928] <... munmap resumed>) = 0 [pid 924] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] openat(AT_FDCWD, "./60/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 928] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 924] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 928] <... openat resumed>) = 4 [pid 924] <... openat resumed>) = 4 [pid 309] close(3 [pid 306] <... openat resumed>) = 4 [pid 928] ioctl(4, LOOP_SET_FD, 3 [pid 924] ioctl(4, LOOP_CLR_FD [pid 309] <... close resumed>) = 0 [pid 306] fstat(4 [pid 925] <... mount resumed>) = 0 [pid 925] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 924] <... ioctl resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 928] <... ioctl resumed>) = 0 [pid 306] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./60/file0") = 0 [pid 306] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./60/binderfs" [pid 924] close(4 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 928] close(3 [pid 925] <... openat resumed>) = 3 [pid 924] <... close resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 928] <... close resumed>) = 0 [pid 924] exit_group(0 [pid 928] close(4 [pid 924] <... exit_group resumed>) = ? [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 929 [pid 928] <... close resumed>) = 0 [pid 924] +++ exited with 0 +++ [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 928] mkdir("./file0", 0777 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 928] <... mkdir resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=924, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 928] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] unlink("./60/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./60") = 0 [pid 306] mkdir("./61", 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 931 attached ci2-android-6-1/strace-static-x86_64: Process 929 attached [pid 925] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 931 [pid 929] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 929] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 35.498664][ T924] EXT4-fs (loop1): 1 truncate cleaned up [ 35.505674][ T925] EXT4-fs (loop2): orphan cleanup on readonly fs [ 35.505851][ T924] EXT4-fs (loop1): mounted filesystem without journal. Quota mode: writeback. [ 35.532805][ T925] EXT4-fs (loop2): 1 truncate cleaned up [ 35.538640][ T925] EXT4-fs (loop2): mounted filesystem without journal. Quota mode: writeback. executing program [pid 929] chdir("./62") = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 929] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 929] setpgid(0, 0) = 0 [pid 307] umount2("./59", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 929] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] openat(AT_FDCWD, "./59", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 929] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 929] write(3, "1000", 4) = 4 [pid 929] close(3) = 0 [pid 929] symlink("/dev/binderfs", "./binderfs") = 0 [pid 929] write(1, "executing program\n", 18) = 18 [pid 929] memfd_create("syzkaller", 0) = 3 [pid 929] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 925] <... openat resumed>) = 4 [pid 307] getdents64(3 [pid 931] set_robust_list(0x5555866cd6a0, 24 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 931] <... set_robust_list resumed>) = 0 [pid 307] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 925] ioctl(4, LOOP_CLR_FD [pid 931] rt_sigprocmask(SIG_SETMASK, [] [pid 925] <... ioctl resumed>) = 0 [pid 925] close(4) = 0 [pid 925] exit_group(0 [pid 931] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 931] chdir("./61" [pid 925] <... exit_group resumed>) = ? [pid 931] <... chdir resumed>) = 0 [pid 925] +++ exited with 0 +++ [pid 931] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=925, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 931] <... prctl resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 931] setpgid(0, 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 931] <... setpgid resumed>) = 0 [pid 931] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 308] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW [pid 931] write(3, "1000", 4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 931] <... write resumed>) = 4 [pid 308] openat(AT_FDCWD, "./61", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 931] close(3 [pid 308] <... openat resumed>) = 3 [pid 931] <... close resumed>) = 0 [pid 308] fstat(3 [pid 931] symlink("/dev/binderfs", "./binderfs" [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 931] <... symlink resumed>) = 0 [pid 308] getdents64(3 [pid 931] write(1, "executing program\n", 18 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 931] <... write resumed>) = 18 executing program [pid 308] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 931] memfd_create("syzkaller", 0) = 3 [pid 931] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 931] 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"..., 524288 [pid 929] 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"..., 524288) = 524288 [pid 931] <... write resumed>) = 524288 [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 931] munmap(0x7f11e81cd000, 138412032 [pid 929] munmap(0x7f11e81cd000, 138412032 [pid 307] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 929] <... munmap resumed>) = 0 [pid 929] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 931] <... munmap resumed>) = 0 [pid 929] <... openat resumed>) = 4 [pid 308] newfstatat(AT_FDCWD, "./61/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 931] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 929] ioctl(4, LOOP_SET_FD, 3 [pid 308] openat(AT_FDCWD, "./61/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 931] <... openat resumed>) = 4 [pid 928] <... mount resumed>) = 0 [pid 307] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 931] ioctl(4, LOOP_SET_FD, 3 [pid 929] <... ioctl resumed>) = 0 [pid 928] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 931] <... ioctl resumed>) = 0 [pid 929] close(3 [pid 928] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 4 [pid 307] newfstatat(AT_FDCWD, "./59/file0" [pid 931] close(3 [pid 929] <... close resumed>) = 0 [pid 928] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] fstat(4 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 931] <... close resumed>) = 0 [pid 929] close(4 [pid 928] <... openat resumed>) = 4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] umount2("./59/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 931] close(4 [pid 929] <... close resumed>) = 0 [pid 928] ioctl(4, LOOP_CLR_FD [pid 308] getdents64(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 931] <... close resumed>) = 0 [pid 929] mkdir("./file0", 0777 [pid 928] <... ioctl resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] openat(AT_FDCWD, "./59/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 931] mkdir("./file0", 0777 [pid 929] <... mkdir resumed>) = 0 [pid 928] close(4 [pid 308] getdents64(4 [pid 307] <... openat resumed>) = 4 [pid 931] <... mkdir resumed>) = 0 [pid 929] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 928] <... close resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] fstat(4 [pid 931] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 928] exit_group(0 [pid 308] close(4 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 928] <... exit_group resumed>) = ? [pid 308] <... close resumed>) = 0 [pid 307] getdents64(4 [pid 928] +++ exited with 0 +++ [pid 308] rmdir("./61/file0" [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=928, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] <... rmdir resumed>) = 0 [pid 307] getdents64(4 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] close(4 [pid 308] newfstatat(AT_FDCWD, "./61/binderfs" [pid 307] <... close resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] rmdir("./59/file0" [pid 308] unlink("./61/binderfs" [pid 307] <... rmdir resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 307] umount2("./59/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] getdents64(3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] newfstatat(AT_FDCWD, "./59/binderfs" [pid 308] close(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... close resumed>) = 0 [pid 307] unlink("./59/binderfs" [pid 308] rmdir("./61" [pid 307] <... unlink resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] getdents64(3 [pid 308] mkdir("./62", 0777 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 307] close(3 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] <... close resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 307] rmdir("./59" [pid 310] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] <... rmdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 35.560737][ T928] EXT4-fs (loop4): orphan cleanup on readonly fs [ 35.568292][ T307] EXT4-fs (loop1): unmounting filesystem. [ 35.575085][ T308] EXT4-fs (loop2): unmounting filesystem. [ 35.591062][ T928] EXT4-fs (loop4): 1 truncate cleaned up [ 35.597544][ T928] EXT4-fs (loop4): mounted filesystem without journal. Quota mode: writeback. [pid 307] mkdir("./60", 0777 [pid 310] openat(AT_FDCWD, "./61", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] close(3 [pid 307] <... mkdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 308] <... close resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] fstat(3 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... openat resumed>) = 3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] getdents64(3 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] close(3 [pid 310] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 934 [pid 307] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 935 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 935 attached ci2-android-6-1/strace-static-x86_64: Process 934 attached [pid 935] set_robust_list(0x5555866cd6a0, 24 [pid 934] set_robust_list(0x5555866cd6a0, 24 [pid 935] <... set_robust_list resumed>) = 0 [pid 934] <... set_robust_list resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./61/file0" [pid 935] rt_sigprocmask(SIG_SETMASK, [] [pid 934] rt_sigprocmask(SIG_SETMASK, [] [pid 935] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 934] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 35.624284][ T931] EXT4-fs (loop0): orphan cleanup on readonly fs [ 35.631440][ T310] EXT4-fs (loop4): unmounting filesystem. [ 35.638144][ T929] EXT4-fs (loop3): orphan cleanup on readonly fs [ 35.645610][ T931] EXT4-fs (loop0): 1 truncate cleaned up [ 35.652714][ T929] EXT4-fs (loop3): 1 truncate cleaned up [ 35.658909][ T931] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [pid 931] <... mount resumed>) = 0 [pid 935] chdir("./60" [pid 934] chdir("./62" [pid 935] <... chdir resumed>) = 0 [pid 934] <... chdir resumed>) = 0 [pid 310] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 935] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 934] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 929] <... mount resumed>) = 0 [pid 935] <... prctl resumed>) = 0 [pid 934] <... prctl resumed>) = 0 [pid 931] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 929] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 929] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 929] ioctl(4, LOOP_CLR_FD) = 0 [pid 929] close(4) = 0 [pid 929] exit_group(0) = ? [pid 935] setpgid(0, 0 [pid 934] setpgid(0, 0 [pid 310] openat(AT_FDCWD, "./61/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 935] <... setpgid resumed>) = 0 [pid 934] <... setpgid resumed>) = 0 [pid 310] <... openat resumed>) = 4 [pid 935] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 934] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] fstat(4 [pid 929] +++ exited with 0 +++ [pid 935] <... openat resumed>) = 3 [pid 931] <... openat resumed>) = 3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 931] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 934] <... openat resumed>) = 3 [pid 310] getdents64(4 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=929, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 935] write(3, "1000", 4 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 935] <... write resumed>) = 4 [pid 934] write(3, "1000", 4 [pid 931] <... openat resumed>) = 4 [pid 931] ioctl(4, LOOP_CLR_FD) = 0 [pid 931] close(4) = 0 [pid 931] exit_group(0 [pid 934] <... write resumed>) = 4 [pid 310] getdents64(4 [pid 935] close(3 [pid 931] <... exit_group resumed>) = ? [pid 934] close(3 [pid 935] <... close resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4 [pid 935] symlink("/dev/binderfs", "./binderfs" [pid 934] <... close resumed>) = 0 [pid 931] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=931, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 935] <... symlink resumed>) = 0 [pid 934] symlink("/dev/binderfs", "./binderfs" [pid 310] <... close resumed>) = 0 [pid 310] rmdir("./61/file0" [pid 935] write(1, "executing program\n", 18 [pid 934] <... symlink resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 935] <... write resumed>) = 18 executing program [pid 934] write(1, "executing program\n", 18 [pid 935] memfd_create("syzkaller", 0 [pid 934] <... write resumed>) = 18 executing program [pid 934] memfd_create("syzkaller", 0 [pid 310] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 935] <... memfd_create resumed>) = 3 [pid 934] <... memfd_create resumed>) = 3 [pid 935] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 934] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 935] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] newfstatat(AT_FDCWD, "./61/binderfs" [pid 934] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./61/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./61") = 0 [pid 310] mkdir("./62", 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 935] 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"..., 524288 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 936 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 936 attached [pid 936] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 936] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 936] chdir("./62") = 0 [pid 936] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 936] setpgid(0, 0) = 0 [pid 936] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 936] write(3, "1000", 4) = 4 [pid 936] close(3) = 0 [pid 934] 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"..., 524288 [pid 936] symlink("/dev/binderfs", "./binderfs") = 0 [pid 936] write(1, "executing program\n", 18) = 18 [pid 936] memfd_create("syzkaller", 0) = 3 [pid 936] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./62", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 executing program [pid 309] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 935] <... write resumed>) = 524288 [pid 934] <... write resumed>) = 524288 [pid 306] <... restart_syscall resumed>) = 0 [pid 935] munmap(0x7f11e81cd000, 138412032 [pid 934] munmap(0x7f11e81cd000, 138412032 [pid 306] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./61", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 934] <... munmap resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 936] 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"..., 524288 [pid 935] <... munmap resumed>) = 0 [pid 934] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 935] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 934] <... openat resumed>) = 4 [pid 935] ioctl(4, LOOP_SET_FD, 3 [pid 934] ioctl(4, LOOP_SET_FD, 3 [pid 936] <... write resumed>) = 524288 [pid 309] <... umount2 resumed>) = 0 [pid 936] munmap(0x7f11e81cd000, 138412032) = 0 [pid 936] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 936] ioctl(4, LOOP_SET_FD, 3 [pid 309] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 934] <... ioctl resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./62/file0" [pid 935] <... ioctl resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 936] <... ioctl resumed>) = 0 [pid 309] openat(AT_FDCWD, "./62/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 936] close(3) = 0 [pid 936] close(4) = 0 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 936] mkdir("./file0", 0777 [pid 309] getdents64(4 [pid 936] <... mkdir resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./62/file0") = 0 [pid 309] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 936] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 934] close(3 [pid 935] close(3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./62/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./62/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 934] <... close resumed>) = 0 [pid 935] <... close resumed>) = 0 [pid 309] rmdir("./62") = 0 [pid 309] mkdir("./63", 0777 [pid 935] close(4 [pid 934] close(4 [pid 309] <... mkdir resumed>) = 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 934] <... close resumed>) = 0 [ 35.668638][ T929] EXT4-fs (loop3): mounted filesystem without journal. Quota mode: writeback. [ 35.689519][ T309] EXT4-fs (loop3): unmounting filesystem. [ 35.697165][ T306] EXT4-fs (loop0): unmounting filesystem. [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 938 [pid 935] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = 0 [pid 934] mkdir("./file0", 0777 [pid 935] mkdir("./file0", 0777 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 935] <... mkdir resumed>) = 0 [pid 935] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 934] <... mkdir resumed>) = 0 [pid 306] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 934] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] newfstatat(AT_FDCWD, "./61/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./61/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./61/file0") = 0 [pid 306] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./61/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./61/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./61") = 0 [pid 306] mkdir("./62", 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, child_tidptr=0x5555866cd690) = 941 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 938 attached [pid 938] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 938] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 938] chdir("./63") = 0 [pid 938] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 938] setpgid(0, 0) = 0 [pid 938] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 938] write(3, "1000", 4) = 4 [pid 938] close(3) = 0 [pid 938] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 938] write(1, "executing program\n", 18) = 18 [pid 938] memfd_create("syzkaller", 0) = 3 [pid 938] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 938] 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"..., 524288) = 524288 [pid 938] munmap(0x7f11e81cd000, 138412032) = 0 [pid 938] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 938] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 938] close(3) = 0 [pid 938] close(4) = 0 [pid 938] mkdir("./file0", 0777) = 0 [pid 938] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 941 attached [pid 941] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 941] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 941] chdir("./62") = 0 [pid 941] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 941] setpgid(0, 0) = 0 [pid 941] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 941] write(3, "1000", 4) = 4 [pid 941] close(3) = 0 [pid 941] symlink("/dev/binderfs", "./binderfs") = 0 [ 35.730316][ T936] EXT4-fs (loop4): orphan cleanup on readonly fs [ 35.753063][ T935] EXT4-fs (loop1): orphan cleanup on readonly fs [ 35.760749][ T934] EXT4-fs (loop2): orphan cleanup on readonly fs executing program [pid 941] write(1, "executing program\n", 18) = 18 [pid 941] memfd_create("syzkaller", 0) = 3 [pid 941] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 941] 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"..., 524288 [pid 936] <... mount resumed>) = 0 [pid 936] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 936] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 938] <... mount resumed>) = 0 [pid 938] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 934] <... mount resumed>) = 0 [pid 935] <... mount resumed>) = 0 [pid 938] <... openat resumed>) = 3 [pid 934] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 938] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 934] <... openat resumed>) = 3 [pid 938] <... openat resumed>) = 4 [pid 934] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 938] ioctl(4, LOOP_CLR_FD) = 0 [pid 934] <... openat resumed>) = 4 [pid 938] close(4 [pid 934] ioctl(4, LOOP_CLR_FD [pid 938] <... close resumed>) = 0 [pid 934] <... ioctl resumed>) = 0 [pid 938] exit_group(0 [pid 934] close(4 [pid 938] <... exit_group resumed>) = ? [pid 934] <... close resumed>) = 0 [pid 936] ioctl(4, LOOP_CLR_FD) = 0 [pid 936] close(4 [pid 938] +++ exited with 0 +++ [pid 934] exit_group(0 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=938, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 934] <... exit_group resumed>) = ? [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 936] <... close resumed>) = 0 [pid 936] exit_group(0) = ? [pid 934] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=934, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 935] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 935] <... openat resumed>) = 3 [pid 941] <... write resumed>) = 524288 [pid 935] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 936] +++ exited with 0 +++ [pid 941] munmap(0x7f11e81cd000, 138412032 [pid 935] <... openat resumed>) = 4 [pid 935] ioctl(4, LOOP_CLR_FD [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=936, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 941] <... munmap resumed>) = 0 [pid 935] <... ioctl resumed>) = 0 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 935] close(4) = 0 [pid 935] exit_group(0 [pid 941] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 935] <... exit_group resumed>) = ? [pid 941] <... openat resumed>) = 4 [pid 941] ioctl(4, LOOP_SET_FD, 3 [pid 935] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=935, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 941] <... ioctl resumed>) = 0 [pid 941] close(3) = 0 [pid 941] close(4) = 0 [pid 941] mkdir("./file0", 0777) = 0 [pid 941] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./63", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 309] getdents64(3 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = 0 [pid 308] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./60", 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, "./62", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./62", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 3 [pid 307] openat(AT_FDCWD, "./60", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] fstat(3 [pid 308] <... openat resumed>) = 3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... openat resumed>) = 3 [pid 308] fstat(3 [pid 310] getdents64(3 [pid 307] fstat(3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] getdents64(3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] getdents64(3 [pid 309] newfstatat(AT_FDCWD, "./63/file0" [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./63/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./63/file0") = 0 [pid 309] umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./63/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./63/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./63") = 0 [pid 309] mkdir("./64", 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=0x5555866cd690) = 944 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 35.775359][ T936] EXT4-fs (loop4): 1 truncate cleaned up [ 35.782637][ T934] EXT4-fs (loop2): 1 truncate cleaned up [ 35.789539][ T938] EXT4-fs (loop3): orphan cleanup on readonly fs [ 35.790980][ T935] EXT4-fs (loop1): 1 truncate cleaned up [ 35.799437][ T938] EXT4-fs (loop3): 1 truncate cleaned up [pid 307] <... umount2 resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 944 attached [pid 944] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 944] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 944] chdir("./64") = 0 [pid 944] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 944] setpgid(0, 0) = 0 [pid 944] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 944] write(3, "1000", 4) = 4 [pid 944] close(3) = 0 [pid 944] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 944] write(1, "executing program\n", 18) = 18 [pid 944] memfd_create("syzkaller", 0) = 3 [pid 944] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] <... umount2 resumed>) = 0 [pid 944] <... mmap resumed>) = 0x7f11e81cd000 [pid 944] 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"..., 524288) = 524288 [pid 944] munmap(0x7f11e81cd000, 138412032) = 0 [pid 944] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 944] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 944] close(3 [pid 310] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 944] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 944] close(4 [pid 308] <... umount2 resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./62/file0" [pid 944] <... close resumed>) = 0 [pid 944] mkdir("./file0", 0777) = 0 [pid 944] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./62/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 310] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./60/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./60/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./60/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] newfstatat(AT_FDCWD, "./62/file0" [pid 310] close(4) = 0 [pid 310] rmdir("./62/file0" [pid 307] getdents64(4 [pid 310] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./62/binderfs" [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./62/binderfs" [pid 307] close(4 [pid 310] <... unlink resumed>) = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 308] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rmdir("./62" [pid 307] <... close resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 307] rmdir("./60/file0" [pid 310] mkdir("./63", 0777) = 0 [pid 307] <... rmdir resumed>) = 0 [ 35.828077][ T941] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 307] umount2("./60/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./60/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./60/binderfs") = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "./62/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./60") = 0 [pid 307] mkdir("./61", 0777) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 308] <... openat resumed>) = 4 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] fstat(4 [pid 310] close(3 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... close resumed>) = 0 [pid 308] getdents64(4 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] getdents64(4 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 946 [pid 308] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] rmdir("./62/file0") = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [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, ~[] [pid 308] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./62/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./62/binderfs") = 0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 947 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 946 attached [pid 946] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 946] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 946] chdir("./63") = 0 [pid 946] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 946] setpgid(0, 0) = 0 [pid 946] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./62" [pid 946] <... openat resumed>) = 3 [pid 308] <... rmdir resumed>) = 0 [pid 308] mkdir("./63", 0777 [pid 946] write(3, "1000", 4) = 4 [pid 946] close(3) = 0 [pid 946] symlink("/dev/binderfs", "./binderfs" [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 [pid 946] <... symlink resumed>) = 0 [pid 946] write(1, "executing program\n", 18) = 18 [pid 946] memfd_create("syzkaller", 0) = 3 executing program [pid 946] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [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 946] 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"..., 524288) = 524288 [pid 946] munmap(0x7f11e81cd000, 138412032) = 0 ci2-android-6-1/strace-static-x86_64: Process 948 attached [pid 948] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 948] rt_sigprocmask(SIG_SETMASK, [] [pid 946] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 948] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 946] <... openat resumed>) = 4 [pid 948] chdir("./63" [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 948 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 946] ioctl(4, LOOP_SET_FD, 3 [pid 948] <... chdir resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 947 attached [pid 948] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 947] set_robust_list(0x5555866cd6a0, 24 [pid 941] <... mount resumed>) = 0 [pid 948] <... prctl resumed>) = 0 [pid 947] <... set_robust_list resumed>) = 0 [pid 941] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 948] setpgid(0, 0) = 0 [pid 948] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 946] <... ioctl resumed>) = 0 [pid 948] <... openat resumed>) = 3 [pid 946] close(3) = 0 [pid 946] close(4) = 0 [pid 946] mkdir("./file0", 0777 [pid 948] write(3, "1000", 4 [pid 947] rt_sigprocmask(SIG_SETMASK, [] [pid 941] <... openat resumed>) = 3 [pid 947] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 941] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 947] chdir("./61" [pid 941] <... openat resumed>) = 4 [pid 947] <... chdir resumed>) = 0 [pid 941] ioctl(4, LOOP_CLR_FD [pid 947] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 941] <... ioctl resumed>) = 0 [pid 947] setpgid(0, 0) = 0 [pid 941] close(4 [pid 948] <... write resumed>) = 4 [pid 948] close(3) = 0 [pid 946] <... mkdir resumed>) = 0 [pid 948] symlink("/dev/binderfs", "./binderfs") = 0 [pid 948] write(1, "executing program\n", 18) = 18 executing program [pid 948] memfd_create("syzkaller", 0 [pid 947] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 941] <... close resumed>) = 0 [pid 947] <... openat resumed>) = 3 [pid 941] exit_group(0 [pid 947] write(3, "1000", 4 [pid 941] <... exit_group resumed>) = ? [pid 947] <... write resumed>) = 4 [pid 948] <... memfd_create resumed>) = 3 [pid 947] close(3) = 0 [pid 941] +++ exited with 0 +++ [pid 947] symlink("/dev/binderfs", "./binderfs" [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=941, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 947] <... symlink resumed>) = 0 [pid 947] write(1, "executing program\n", 18) = 18 executing program [pid 948] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 947] memfd_create("syzkaller", 0) = 3 [pid 947] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 948] <... mmap resumed>) = 0x7f11e81cd000 [pid 947] 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"..., 524288 [pid 946] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./62", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 947] <... write resumed>) = 524288 [pid 944] <... mount resumed>) = 0 [pid 947] munmap(0x7f11e81cd000, 138412032 [pid 944] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 947] <... munmap resumed>) = 0 [pid 947] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 944] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 947] <... openat resumed>) = 4 [pid 944] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 947] ioctl(4, LOOP_SET_FD, 3 [pid 944] <... openat resumed>) = 4 [pid 306] newfstatat(AT_FDCWD, "./62/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 947] <... ioctl resumed>) = 0 [pid 944] ioctl(4, LOOP_CLR_FD [pid 306] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 947] close(3 [pid 944] <... ioctl resumed>) = 0 [pid 947] <... close resumed>) = 0 [pid 944] close(4 [pid 947] close(4 [pid 944] <... close resumed>) = 0 [pid 948] 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"..., 524288 [pid 947] <... close resumed>) = 0 [pid 944] exit_group(0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 947] mkdir("./file0", 0777 [pid 944] <... exit_group resumed>) = ? [pid 306] openat(AT_FDCWD, "./62/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4 [pid 947] <... mkdir resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 306] rmdir("./62/file0") = 0 [pid 944] +++ exited with 0 +++ [pid 306] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 947] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=944, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] newfstatat(AT_FDCWD, "./62/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./62/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./62") = 0 [pid 306] mkdir("./63", 0777 [pid 948] <... write resumed>) = 524288 [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, ~[] [pid 948] munmap(0x7f11e81cd000, 138412032 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [ 35.862256][ T941] EXT4-fs (loop0): 1 truncate cleaned up [ 35.879516][ T944] EXT4-fs (loop3): orphan cleanup on readonly fs [ 35.896840][ T944] EXT4-fs (loop3): 1 truncate cleaned up [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 948] <... munmap resumed>) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 951 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./64", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 951 attached [pid 951] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 951] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 951] chdir("./63") = 0 [pid 951] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 951] setpgid(0, 0) = 0 [pid 951] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 951] write(3, "1000", 4) = 4 [pid 951] close(3) = 0 [pid 951] symlink("/dev/binderfs", "./binderfs") = 0 [pid 951] write(1, "executing program\n", 18) = 18 executing program [pid 951] memfd_create("syzkaller", 0 [pid 948] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./64/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./64/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 309] fstat(4 [pid 951] <... memfd_create resumed>) = 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 948] <... openat resumed>) = 4 [pid 309] getdents64(4 [pid 951] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 948] ioctl(4, LOOP_SET_FD, 3 [pid 951] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./64/file0" [pid 951] 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"..., 524288 [pid 948] <... ioctl resumed>) = 0 [pid 947] <... mount resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 948] close(3 [pid 309] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./64/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./64/binderfs" [pid 948] <... close resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./64" [pid 948] close(4 [pid 309] <... rmdir resumed>) = 0 [pid 309] mkdir("./65", 0777 [pid 948] <... close resumed>) = 0 [pid 948] mkdir("./file0", 0777 [pid 309] <... mkdir resumed>) = 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, ~[] [pid 948] <... mkdir resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 948] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 952 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 951] <... write resumed>) = 524288 [pid 951] munmap(0x7f11e81cd000, 138412032 [pid 947] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 951] <... munmap resumed>) = 0 [pid 947] <... openat resumed>) = 3 [pid 947] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 951] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 947] <... openat resumed>) = 4 [pid 947] ioctl(4, LOOP_CLR_FD [pid 951] ioctl(4, LOOP_SET_FD, 3 [pid 947] <... ioctl resumed>) = 0 [pid 951] <... ioctl resumed>) = 0 [pid 947] close(4) = 0 [pid 951] close(3 [pid 947] exit_group(0 [pid 951] <... close resumed>) = 0 [pid 951] close(4 [pid 947] <... exit_group resumed>) = ? ci2-android-6-1/strace-static-x86_64: Process 952 attached [pid 947] +++ exited with 0 +++ [pid 952] set_robust_list(0x5555866cd6a0, 24 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=947, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 952] <... set_robust_list resumed>) = 0 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 952] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 952] chdir("./65") = 0 [pid 952] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 952] setpgid(0, 0) = 0 [pid 952] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 951] <... close resumed>) = 0 [pid 952] <... openat resumed>) = 3 [pid 952] write(3, "1000", 4) = 4 [pid 952] close(3) = 0 [pid 952] symlink("/dev/binderfs", "./binderfs" [pid 951] mkdir("./file0", 0777 [pid 952] <... symlink resumed>) = 0 [pid 951] <... mkdir resumed>) = 0 executing program [pid 952] write(1, "executing program\n", 18) = 18 [pid 952] memfd_create("syzkaller", 0 [pid 951] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 952] <... memfd_create resumed>) = 3 [pid 952] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./61", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./61", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [ 35.929547][ T947] EXT4-fs (loop1): orphan cleanup on readonly fs [ 35.938529][ T946] EXT4-fs (loop4): orphan cleanup on readonly fs [ 35.945805][ T947] EXT4-fs (loop1): 1 truncate cleaned up [pid 307] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 952] 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"..., 524288) = 524288 [pid 952] munmap(0x7f11e81cd000, 138412032) = 0 [pid 952] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 952] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./61/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./61/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./61/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./61/file0") = 0 [pid 307] umount2("./61/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./61/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./61/binderfs") = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./61" [pid 946] <... mount resumed>) = 0 [pid 946] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] <... rmdir resumed>) = 0 [pid 946] <... openat resumed>) = 3 [pid 946] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 946] ioctl(4, LOOP_CLR_FD) = 0 [pid 946] close(4) = 0 [pid 946] exit_group(0) = ? [pid 307] mkdir("./62", 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 [pid 946] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=946, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 307] <... close resumed>) = 0 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 952] <... ioctl resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 952] close(3) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 952] close(4) = 0 [pid 952] mkdir("./file0", 0777) = 0 [pid 952] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 955 [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./63", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 955 attached [pid 955] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 955] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 955] chdir("./62" [pid 310] <... umount2 resumed>) = 0 [pid 955] <... chdir resumed>) = 0 [pid 955] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 955] setpgid(0, 0) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 310] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./63/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 35.975589][ T948] EXT4-fs (loop2): orphan cleanup on readonly fs [ 35.983417][ T946] EXT4-fs (loop4): 1 truncate cleaned up [ 35.990389][ T951] EXT4-fs (loop0): orphan cleanup on readonly fs [pid 310] openat(AT_FDCWD, "./63/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./63/file0") = 0 [pid 310] umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./63/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./63/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 955] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 955] write(3, "1000", 4) = 4 [pid 955] close(3) = 0 [pid 310] rmdir("./63" [pid 955] symlink("/dev/binderfs", "./binderfs" [pid 310] <... rmdir resumed>) = 0 [pid 310] mkdir("./64", 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 955] <... symlink resumed>) = 0 [pid 955] write(1, "executing program\n", 18) = 18 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 957 executing program [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 955] memfd_create("syzkaller", 0) = 3 [pid 955] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 955] 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"..., 524288) = 524288 ci2-android-6-1/strace-static-x86_64: Process 957 attached [pid 957] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 957] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 957] chdir("./64" [pid 952] <... mount resumed>) = 0 [pid 955] munmap(0x7f11e81cd000, 138412032 [pid 952] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 955] <... munmap resumed>) = 0 [pid 952] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 955] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 952] ioctl(4, LOOP_CLR_FD [pid 951] <... mount resumed>) = 0 [pid 957] <... chdir resumed>) = 0 [pid 952] <... ioctl resumed>) = 0 [pid 955] <... openat resumed>) = 4 [pid 951] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 948] <... mount resumed>) = 0 [pid 952] close(4 [pid 955] ioctl(4, LOOP_SET_FD, 3 [pid 951] <... openat resumed>) = 3 [pid 952] <... close resumed>) = 0 [pid 948] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 952] exit_group(0 [pid 955] <... ioctl resumed>) = 0 [pid 952] <... exit_group resumed>) = ? [pid 951] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 948] <... openat resumed>) = 3 [pid 957] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 952] +++ exited with 0 +++ [pid 948] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 955] close(3 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=952, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 957] <... prctl resumed>) = 0 [pid 955] <... close resumed>) = 0 [pid 951] <... openat resumed>) = 4 [pid 948] <... openat resumed>) = 4 [pid 957] setpgid(0, 0 [pid 948] ioctl(4, LOOP_CLR_FD [pid 955] close(4 [pid 951] ioctl(4, LOOP_CLR_FD [pid 957] <... setpgid resumed>) = 0 [pid 955] <... close resumed>) = 0 [pid 951] <... ioctl resumed>) = 0 [pid 948] <... ioctl resumed>) = 0 [pid 955] mkdir("./file0", 0777 [pid 951] close(4 [pid 948] close(4) = 0 [pid 948] exit_group(0 [pid 957] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 955] <... mkdir resumed>) = 0 [pid 951] <... close resumed>) = 0 [pid 948] <... exit_group resumed>) = ? [pid 955] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 957] <... openat resumed>) = 3 [pid 957] write(3, "1000", 4 [pid 948] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=948, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 951] exit_group(0 [pid 957] <... write resumed>) = 4 [pid 951] <... exit_group resumed>) = ? [pid 957] close(3) = 0 [pid 957] symlink("/dev/binderfs", "./binderfs" [pid 951] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=951, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 957] <... symlink resumed>) = 0 [pid 957] write(1, "executing program\n", 18) = 18 executing program [pid 957] memfd_create("syzkaller", 0) = 3 [pid 957] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 306] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 306] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./63", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./63", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 306] fstat(3 [pid 308] fstat(3 [pid 306] <... 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 306] getdents64(3 [pid 308] getdents64(3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... restart_syscall resumed>) = 0 [pid 309] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./65", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 957] 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"..., 524288 [pid 308] <... umount2 resumed>) = 0 [pid 957] <... write resumed>) = 524288 [pid 957] munmap(0x7f11e81cd000, 138412032) = 0 [pid 957] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 957] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 957] close(3) = 0 [pid 957] close(4) = 0 [pid 957] mkdir("./file0", 0777 [pid 306] <... umount2 resumed>) = 0 [pid 957] <... mkdir resumed>) = 0 [ 36.016624][ T948] EXT4-fs (loop2): 1 truncate cleaned up [ 36.025577][ T951] EXT4-fs (loop0): 1 truncate cleaned up [ 36.027091][ T952] EXT4-fs (loop3): orphan cleanup on readonly fs [ 36.045816][ T952] EXT4-fs (loop3): 1 truncate cleaned up [pid 957] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./63/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./63/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./63/file0") = 0 [pid 308] umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./63/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./63/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./63") = 0 [pid 308] mkdir("./64", 0777) = 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=0x5555866cd690) = 960 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 306] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./65/file0", 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, "./63/file0" [pid 309] newfstatat(AT_FDCWD, "./65/file0" [pid 306] <... 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 306] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./63/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./65/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... openat resumed>) = 4 [pid 309] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 306] fstat(4 [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 309] getdents64(4 [pid 306] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 306] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 306] close(4 [pid 309] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] rmdir("./65/file0" [pid 306] rmdir("./63/file0" [pid 309] <... rmdir resumed>) = 0 [pid 309] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] newfstatat(AT_FDCWD, "./65/binderfs" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./63/binderfs" [pid 309] unlink("./65/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... unlink resumed>) = 0 [pid 306] unlink("./63/binderfs" [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... unlink resumed>) = 0 [pid 309] close(3 [pid 306] getdents64(3 [pid 309] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] rmdir("./65" [pid 306] close(3 [pid 309] <... rmdir resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 309] mkdir("./66", 0777 [pid 306] rmdir("./63" [pid 309] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] <... rmdir resumed>) = 0 [pid 306] mkdir("./64", 0777 [pid 309] <... openat resumed>) = 3 [pid 306] <... mkdir resumed>) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... openat resumed>) = 3 [pid 309] close(3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] <... close resumed>) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] close(3 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... close resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 955] <... mount resumed>) = 0 [pid 955] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 955] <... openat resumed>) = 3 [pid 955] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 962 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 961 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 955] <... openat resumed>) = 4 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 955] ioctl(4, LOOP_CLR_FD) = 0 [pid 955] close(4) = 0 [pid 955] exit_group(0) = ? [pid 955] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=955, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 962 attached [pid 962] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 962] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 962] chdir("./64") = 0 [pid 962] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 962] setpgid(0, 0) = 0 [pid 962] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 962] write(3, "1000", 4) = 4 [pid 962] close(3) = 0 [pid 962] symlink("/dev/binderfs", "./binderfs"ci2-android-6-1/strace-static-x86_64: Process 961 attached ci2-android-6-1/strace-static-x86_64: Process 960 attached ) = 0 [pid 961] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 961] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 961] chdir("./66") = 0 [pid 961] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 961] setpgid(0, 0) = 0 [pid 961] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 961] write(3, "1000", 4) = 4 [pid 961] close(3) = 0 [pid 961] symlink("/dev/binderfs", "./binderfs") = 0 [pid 961] write(1, "executing program\n", 18) = 18 [pid 961] memfd_create("syzkaller", 0) = 3 [pid 961] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 307] <... restart_syscall resumed>) = 0 executing program [pid 961] <... mmap resumed>) = 0x7f11e81cd000 executing program [ 36.075147][ T955] EXT4-fs (loop1): orphan cleanup on readonly fs [ 36.101998][ T955] EXT4-fs (loop1): 1 truncate cleaned up [ 36.117978][ T957] EXT4-fs (loop4): orphan cleanup on readonly fs [pid 962] write(1, "executing program\n", 18) = 18 [pid 307] umount2("./62", MNT_FORCE|UMOUNT_NOFOLLOW [pid 960] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 961] 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"..., 524288 [pid 960] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 960] chdir("./64") = 0 [pid 960] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 960] setpgid(0, 0) = 0 [pid 960] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./62", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 960] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 960] write(3, "1000", 4) = 4 [pid 960] close(3 [pid 962] memfd_create("syzkaller", 0 [pid 960] <... close resumed>) = 0 [pid 307] fstat(3 [pid 960] symlink("/dev/binderfs", "./binderfs" [pid 962] <... memfd_create resumed>) = 3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 960] <... symlink resumed>) = 0 [pid 960] write(1, "executing program\n", 18) = 18 executing program [pid 962] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 960] memfd_create("syzkaller", 0 [pid 307] getdents64(3 [pid 960] <... memfd_create resumed>) = 3 [pid 960] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 962] <... mmap resumed>) = 0x7f11e81cd000 [pid 961] <... write resumed>) = 524288 [pid 957] <... mount resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 960] 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"..., 524288 [pid 957] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 957] <... openat resumed>) = 3 [pid 957] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 957] ioctl(4, LOOP_CLR_FD) = 0 [pid 957] close(4 [pid 962] 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"..., 524288 [pid 307] <... umount2 resumed>) = 0 [pid 957] <... close resumed>) = 0 [pid 307] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 957] exit_group(0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 957] <... exit_group resumed>) = ? [pid 307] newfstatat(AT_FDCWD, "./62/file0" [pid 957] +++ exited with 0 +++ [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=957, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] umount2("./62/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./62/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./62/file0") = 0 [pid 307] umount2("./62/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./62/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./62/binderfs" [pid 310] <... restart_syscall resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] close(3 [pid 961] munmap(0x7f11e81cd000, 138412032 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... close resumed>) = 0 [pid 961] <... munmap resumed>) = 0 [pid 310] openat(AT_FDCWD, "./64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] rmdir("./62" [pid 961] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] <... openat resumed>) = 3 [pid 307] <... rmdir resumed>) = 0 [pid 961] <... openat resumed>) = 4 [pid 310] fstat(3 [pid 307] mkdir("./63", 0777 [pid 961] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 962] <... write resumed>) = 524288 [pid 960] <... write resumed>) = 524288 [pid 310] getdents64(3 [pid 962] munmap(0x7f11e81cd000, 138412032 [pid 960] munmap(0x7f11e81cd000, 138412032 [pid 962] <... munmap resumed>) = 0 [pid 960] <... munmap resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 962] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 960] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 310] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 962] <... openat resumed>) = 4 [pid 960] <... openat resumed>) = 4 [pid 962] ioctl(4, LOOP_SET_FD, 3 [pid 307] <... openat resumed>) = 3 [pid 962] <... ioctl resumed>) = 0 [pid 960] ioctl(4, LOOP_SET_FD, 3 [pid 962] close(3 [pid 960] <... ioctl resumed>) = 0 [pid 962] <... close resumed>) = 0 [pid 960] close(3 [pid 962] close(4 [pid 960] <... close resumed>) = 0 [pid 962] <... close resumed>) = 0 [pid 961] <... ioctl resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 307] ioctl(3, LOOP_CLR_FD [pid 961] close(3 [pid 310] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 962] mkdir("./file0", 0777 [pid 961] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] close(3 [pid 961] close(4 [pid 310] newfstatat(AT_FDCWD, "./64/file0" [pid 307] <... close resumed>) = 0 [pid 962] <... mkdir resumed>) = 0 [pid 961] <... close resumed>) = 0 [pid 960] close(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 962] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 961] mkdir("./file0", 0777 [pid 960] <... close resumed>) = 0 [pid 310] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 960] mkdir("./file0", 0777 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 961] <... mkdir resumed>) = 0 [pid 960] <... mkdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "./64/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 961] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 960] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... openat resumed>) = 4 [pid 310] fstat(4 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 964 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(4 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [ 36.125782][ T957] EXT4-fs (loop4): 1 truncate cleaned up [pid 310] close(4) = 0 [pid 310] rmdir("./64/file0"ci2-android-6-1/strace-static-x86_64: Process 964 attached ) = 0 [pid 310] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 964] set_robust_list(0x5555866cd6a0, 24 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./64/binderfs" [pid 964] <... set_robust_list resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 964] rt_sigprocmask(SIG_SETMASK, [] [pid 310] unlink("./64/binderfs" [pid 964] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 964] chdir("./63" [pid 310] <... unlink resumed>) = 0 [pid 964] <... chdir resumed>) = 0 [pid 310] getdents64(3 [pid 964] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 964] setpgid(0, 0 [pid 310] close(3 [pid 964] <... setpgid resumed>) = 0 [pid 964] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... close resumed>) = 0 [pid 964] <... openat resumed>) = 3 executing program [pid 310] rmdir("./64" [pid 962] <... mount resumed>) = 0 [pid 962] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 964] write(3, "1000", 4 [pid 310] <... rmdir resumed>) = 0 [pid 964] <... write resumed>) = 4 [pid 962] <... openat resumed>) = 3 [pid 960] <... mount resumed>) = 0 [pid 310] mkdir("./65", 0777 [pid 964] close(3 [pid 961] <... mount resumed>) = 0 [pid 960] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 960] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 960] ioctl(4, LOOP_CLR_FD) = 0 [pid 960] close(4) = 0 [pid 964] <... close resumed>) = 0 [pid 960] exit_group(0) = ? [pid 964] symlink("/dev/binderfs", "./binderfs" [pid 962] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 961] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] <... mkdir resumed>) = 0 [pid 960] +++ exited with 0 +++ [pid 964] <... symlink resumed>) = 0 [pid 962] <... openat resumed>) = 4 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 961] <... openat resumed>) = 3 [pid 964] write(1, "executing program\n", 18 [pid 310] <... openat resumed>) = 3 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=960, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 964] <... write resumed>) = 18 [pid 310] ioctl(3, LOOP_CLR_FD [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [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|SIGCHLD [pid 964] memfd_create("syzkaller", 0 [pid 962] ioctl(4, LOOP_CLR_FD [pid 961] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 964] <... memfd_create resumed>) = 3 [pid 964] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0ci2-android-6-1/strace-static-x86_64: Process 967 attached ) = 0x7f11e81cd000 [pid 962] <... ioctl resumed>) = 0 [pid 961] <... openat resumed>) = 4 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 967 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... restart_syscall resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./64", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 962] close(4) = 0 [pid 962] exit_group(0 [pid 967] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 964] 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"..., 524288 [pid 308] <... umount2 resumed>) = 0 [pid 308] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./64/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./64/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 308] rmdir("./64/file0") = 0 [pid 308] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./64/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./64/binderfs") = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./64") = 0 [pid 308] mkdir("./65", 0777) = 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=0x5555866cd690) = 968 [pid 964] <... write resumed>) = 524288 [pid 308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 962] <... exit_group resumed>) = ? [pid 967] rt_sigprocmask(SIG_SETMASK, [] [pid 961] ioctl(4, LOOP_CLR_FD [pid 964] munmap(0x7f11e81cd000, 138412032 [pid 961] <... ioctl resumed>) = 0 [pid 961] close(4) = 0 [pid 967] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 967] chdir("./65" [pid 961] exit_group(0 [pid 967] <... chdir resumed>) = 0 [pid 964] <... munmap resumed>) = 0 [pid 961] <... exit_group resumed>) = ? ci2-android-6-1/strace-static-x86_64: Process 968 attached [pid 964] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 964] ioctl(4, LOOP_SET_FD, 3 [pid 968] set_robust_list(0x5555866cd6a0, 24 [pid 967] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 962] +++ exited with 0 +++ [pid 961] +++ exited with 0 +++ [pid 968] <... set_robust_list resumed>) = 0 [pid 968] rt_sigprocmask(SIG_SETMASK, [] [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=961, 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=962, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 967] <... prctl resumed>) = 0 [pid 967] setpgid(0, 0) = 0 [pid 967] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 968] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 968] chdir("./65") = 0 [pid 967] <... openat resumed>) = 3 [pid 968] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 968] setpgid(0, 0) = 0 [pid 968] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 967] write(3, "1000", 4) = 4 [pid 968] <... openat resumed>) = 3 [pid 967] close(3) = 0 [pid 968] write(3, "1000", 4 [pid 967] symlink("/dev/binderfs", "./binderfs" [pid 968] <... write resumed>) = 4 [pid 967] <... symlink resumed>) = 0 [pid 968] close(3) = 0 [pid 967] write(1, "executing program\n", 18 [pid 968] symlink("/dev/binderfs", "./binderfs" [pid 967] <... write resumed>) = 18 [pid 968] <... symlink resumed>) = 0 [pid 967] memfd_create("syzkaller", 0 [pid 968] write(1, "executing program\n", 18 [pid 967] <... memfd_create resumed>) = 3 [pid 968] <... write resumed>) = 18 [pid 967] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 968] memfd_create("syzkaller", 0 [pid 967] <... mmap resumed>) = 0x7f11e81cd000 [pid 968] <... memfd_create resumed>) = 3 [pid 967] 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"..., 524288 [pid 968] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program executing program [pid 964] <... ioctl resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 968] 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"..., 524288 [pid 964] close(3 [pid 309] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW [pid 964] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW [pid 964] close(4 [pid 309] openat(AT_FDCWD, "./66", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "./64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] fstat(3 [pid 967] <... write resumed>) = 524288 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... openat resumed>) = 3 [pid 967] munmap(0x7f11e81cd000, 138412032) = 0 [pid 967] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 967] ioctl(4, LOOP_SET_FD, 3 [pid 306] fstat(3 [pid 309] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [ 36.180420][ T962] EXT4-fs (loop0): orphan cleanup on readonly fs [ 36.188215][ T960] EXT4-fs (loop2): orphan cleanup on readonly fs [ 36.191882][ T961] EXT4-fs (loop3): orphan cleanup on readonly fs [ 36.202622][ T960] EXT4-fs (loop2): 1 truncate cleaned up [ 36.209881][ T962] EXT4-fs (loop0): 1 truncate cleaned up [ 36.216839][ T961] EXT4-fs (loop3): 1 truncate cleaned up [pid 306] getdents64(3 [pid 968] <... write resumed>) = 524288 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 968] munmap(0x7f11e81cd000, 138412032) = 0 [pid 968] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 968] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 968] close(3) = 0 [pid 968] close(4) = 0 [pid 968] mkdir("./file0", 0777 [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 968] <... mkdir resumed>) = 0 [pid 968] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 964] <... close resumed>) = 0 [pid 964] mkdir("./file0", 0777) = 0 [pid 964] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 967] <... ioctl resumed>) = 0 [pid 967] close(3) = 0 [pid 967] close(4) = 0 [pid 967] mkdir("./file0", 0777) = 0 [pid 967] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./66/file0" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./64/file0" [pid 309] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] openat(AT_FDCWD, "./66/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... openat resumed>) = 4 [pid 306] openat(AT_FDCWD, "./64/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] fstat(4 [pid 306] <... openat resumed>) = 4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] fstat(4 [pid 309] getdents64(4 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4 [pid 309] getdents64(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] getdents64(4 [pid 309] close(4 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] <... close resumed>) = 0 [pid 306] close(4 [pid 309] rmdir("./66/file0" [pid 306] <... close resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 306] rmdir("./64/file0" [pid 309] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] newfstatat(AT_FDCWD, "./66/binderfs" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] newfstatat(AT_FDCWD, "./64/binderfs" [pid 309] unlink("./66/binderfs" [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... unlink resumed>) = 0 [pid 306] unlink("./64/binderfs" [pid 309] getdents64(3 [pid 306] <... unlink resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] getdents64(3 [pid 309] close(3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... close resumed>) = 0 [pid 306] close(3 [pid 309] rmdir("./66" [pid 306] <... close resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 306] rmdir("./64" [pid 967] <... mount resumed>) = 0 [pid 964] <... mount resumed>) = 0 [pid 309] mkdir("./67", 0777 [pid 306] <... rmdir resumed>) = 0 [pid 968] <... mount resumed>) = 0 [pid 967] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 964] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] <... mkdir resumed>) = 0 [pid 306] mkdir("./65", 0777 [pid 968] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 967] <... openat resumed>) = 3 [pid 964] <... openat resumed>) = 3 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] <... mkdir resumed>) = 0 [pid 968] <... openat resumed>) = 3 [pid 967] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 964] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] <... openat resumed>) = 3 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] close(3 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... close resumed>) = 0 [pid 306] close(3 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... close resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 967] <... openat resumed>) = 4 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 968] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 967] ioctl(4, LOOP_CLR_FD [pid 964] <... openat resumed>) = 4 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 972 [pid 967] <... ioctl resumed>) = 0 [pid 964] ioctl(4, LOOP_CLR_FD [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 973 [pid 967] close(4 [pid 964] <... ioctl resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 968] <... openat resumed>) = 4 [pid 967] <... close resumed>) = 0 [pid 964] close(4 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 967] exit_group(0 [pid 968] ioctl(4, LOOP_CLR_FD [pid 964] <... close resumed>) = 0 [pid 968] <... ioctl resumed>) = 0 [pid 967] <... exit_group resumed>) = ? [pid 964] exit_group(0ci2-android-6-1/strace-static-x86_64: Process 973 attached [pid 973] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 973] rt_sigprocmask(SIG_SETMASK, [] [pid 967] +++ exited with 0 +++ [pid 968] close(4 [pid 964] <... exit_group resumed>) = ? [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=967, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 973] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 973] chdir("./65" [pid 964] +++ exited with 0 +++ [pid 968] <... close resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=964, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 968] exit_group(0 [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 968] <... exit_group resumed>) = ? [pid 968] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=968, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 973] <... chdir resumed>) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] <... restart_syscall resumed>) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 310] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./63", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./65", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./65", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./63", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYci2-android-6-1/strace-static-x86_64: Process 972 attached [pid 973] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 308] fstat(3 [pid 307] 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 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 308] getdents64(3 [pid 307] getdents64(3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = 0 [pid 973] <... prctl resumed>) = 0 [pid 973] setpgid(0, 0 [pid 310] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 973] <... setpgid resumed>) = 0 [pid 973] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 972] set_robust_list(0x5555866cd6a0, 24 [pid 310] newfstatat(AT_FDCWD, "./65/file0" [pid 308] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 972] <... set_robust_list resumed>) = 0 [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("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./65/file0" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [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 972] rt_sigprocmask(SIG_SETMASK, [] [pid 310] openat(AT_FDCWD, "./65/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] newfstatat(AT_FDCWD, "./63/file0" [pid 972] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... openat resumed>) = 4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] fstat(4 [pid 308] openat(AT_FDCWD, "./65/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 36.263983][ T964] EXT4-fs (loop1): orphan cleanup on readonly fs [ 36.266489][ T968] EXT4-fs (loop2): orphan cleanup on readonly fs [ 36.279035][ T967] EXT4-fs (loop4): orphan cleanup on readonly fs [ 36.286387][ T967] EXT4-fs (loop4): 1 truncate cleaned up [ 36.293525][ T964] EXT4-fs (loop1): 1 truncate cleaned up [ 36.301614][ T968] EXT4-fs (loop2): 1 truncate cleaned up [pid 972] chdir("./67" [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 973] write(3, "1000", 4 [pid 308] <... openat resumed>) = 4 [pid 307] umount2("./63/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 973] <... write resumed>) = 4 [pid 310] getdents64(4 [pid 308] fstat(4 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 973] close(3 [pid 972] <... chdir resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] openat(AT_FDCWD, "./63/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 973] <... close resumed>) = 0 [pid 972] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] getdents64(4 [pid 308] getdents64(4 [pid 307] <... openat resumed>) = 4 [pid 973] symlink("/dev/binderfs", "./binderfs" [pid 972] <... prctl resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] fstat(4 [pid 972] setpgid(0, 0 [pid 310] close(4 [pid 308] getdents64(4 [pid 972] <... setpgid resumed>) = 0 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] <... close resumed>) = 0 [pid 972] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 973] <... symlink resumed>) = 0 [pid 972] <... openat resumed>) = 3 [pid 310] rmdir("./65/file0" [pid 308] close(4 [pid 307] getdents64(4 [pid 972] write(3, "1000", 4 executing program [pid 973] write(1, "executing program\n", 18) = 18 [pid 310] <... rmdir resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 972] <... write resumed>) = 4 [pid 310] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] rmdir("./65/file0" [pid 307] getdents64(4 [pid 972] close(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 973] memfd_create("syzkaller", 0 [pid 972] <... close resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./65/binderfs" [pid 308] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 972] symlink("/dev/binderfs", "./binderfs" [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] close(4 [pid 973] <... memfd_create resumed>) = 3 [pid 972] <... symlink resumed>) = 0 [pid 310] unlink("./65/binderfs" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... close resumed>) = 0 [pid 973] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 972] write(1, "executing program\n", 18 [pid 973] <... mmap resumed>) = 0x7f11e81cd000 executing program [pid 310] <... unlink resumed>) = 0 [pid 308] newfstatat(AT_FDCWD, "./65/binderfs" [pid 972] <... write resumed>) = 18 [pid 307] rmdir("./63/file0" [pid 973] 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"..., 524288 [pid 310] getdents64(3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 972] memfd_create("syzkaller", 0) = 3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] unlink("./65/binderfs" [pid 307] <... rmdir resumed>) = 0 [pid 972] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] close(3 [pid 308] <... unlink resumed>) = 0 [pid 307] umount2("./63/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 973] <... write resumed>) = 524288 [pid 972] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] <... close resumed>) = 0 [pid 308] getdents64(3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 973] munmap(0x7f11e81cd000, 138412032 [pid 972] 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"..., 524288 [pid 310] rmdir("./65" [pid 307] newfstatat(AT_FDCWD, "./63/binderfs" [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 973] <... munmap resumed>) = 0 [pid 973] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 973] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 973] close(3) = 0 [pid 973] close(4) = 0 [pid 972] <... write resumed>) = 524288 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 973] mkdir("./file0", 0777) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 308] close(3 [pid 307] unlink("./63/binderfs" [pid 310] mkdir("./66", 0777 [pid 308] <... close resumed>) = 0 [pid 973] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] rmdir("./65" [pid 307] <... unlink resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 307] getdents64(3 [pid 308] <... rmdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] mkdir("./66", 0777 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... openat resumed>) = 3 [pid 972] munmap(0x7f11e81cd000, 138412032) = 0 [pid 310] ioctl(3, LOOP_CLR_FD [pid 308] <... mkdir resumed>) = 0 [pid 307] close(3 [pid 972] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 972] <... openat resumed>) = 4 [pid 310] close(3 [pid 307] <... close resumed>) = 0 [pid 972] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... close resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 307] rmdir("./63" [pid 972] <... ioctl resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] ioctl(3, LOOP_CLR_FD [pid 972] close(3) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... rmdir resumed>) = 0 [pid 972] close(4 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] close(3 [pid 307] mkdir("./64", 0777 [pid 972] <... close resumed>) = 0 [pid 972] mkdir("./file0", 0777) = 0 [pid 972] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 975 [pid 308] <... close resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... openat resumed>) = 3 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 977 [pid 307] close(3 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 975 attached ci2-android-6-1/strace-static-x86_64: Process 977 attached , child_tidptr=0x5555866cd690) = 978 ci2-android-6-1/strace-static-x86_64: Process 978 attached [pid 977] set_robust_list(0x5555866cd6a0, 24 [pid 975] set_robust_list(0x5555866cd6a0, 24 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 977] <... set_robust_list resumed>) = 0 [pid 975] <... set_robust_list resumed>) = 0 [pid 978] set_robust_list(0x5555866cd6a0, 24 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 978] <... set_robust_list resumed>) = 0 [pid 977] rt_sigprocmask(SIG_SETMASK, [] [pid 975] rt_sigprocmask(SIG_SETMASK, [] [pid 978] rt_sigprocmask(SIG_SETMASK, [] [pid 977] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 975] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 978] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 977] chdir("./66" [pid 975] chdir("./66" [pid 977] <... chdir resumed>) = 0 [pid 975] <... chdir resumed>) = 0 [pid 978] chdir("./64" [pid 977] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 975] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 977] <... prctl resumed>) = 0 [pid 978] <... chdir resumed>) = 0 [pid 977] setpgid(0, 0 [pid 975] <... prctl resumed>) = 0 [pid 978] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 977] <... setpgid resumed>) = 0 [pid 975] setpgid(0, 0 [pid 978] <... prctl resumed>) = 0 [pid 975] <... setpgid resumed>) = 0 [pid 977] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 978] setpgid(0, 0 [pid 975] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 977] <... openat resumed>) = 3 [pid 978] <... setpgid resumed>) = 0 [pid 975] write(3, "1000", 4 [pid 978] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 977] write(3, "1000", 4 [pid 975] <... write resumed>) = 4 [pid 978] <... openat resumed>) = 3 [pid 977] <... write resumed>) = 4 [pid 975] close(3 [pid 972] <... mount resumed>) = 0 [pid 978] write(3, "1000", 4 [pid 977] close(3 [pid 975] <... close resumed>) = 0 [pid 972] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 978] <... write resumed>) = 4 [pid 977] <... close resumed>) = 0 [pid 975] symlink("/dev/binderfs", "./binderfs" [pid 978] close(3 [pid 977] symlink("/dev/binderfs", "./binderfs" [pid 975] <... symlink resumed>) = 0 [pid 975] write(1, "executing program\n", 18) = 18 executing program [pid 975] memfd_create("syzkaller", 0) = 3 [pid 978] <... close resumed>) = 0 [pid 977] <... symlink resumed>) = 0 [pid 978] symlink("/dev/binderfs", "./binderfs" [pid 977] write(1, "executing program\n", 18 [pid 975] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 972] <... openat resumed>) = 3 executing program [pid 978] <... symlink resumed>) = 0 [pid 977] <... write resumed>) = 18 [pid 975] <... mmap resumed>) = 0x7f11e81cd000 [pid 972] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 978] write(1, "executing program\n", 18 [pid 973] <... mount resumed>) = 0 [pid 973] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 973] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 973] ioctl(4, LOOP_CLR_FD) = 0 [pid 973] close(4) = 0 [pid 973] exit_group(0) = ? [pid 975] 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"..., 524288 [pid 978] <... write resumed>) = 18 executing program [pid 977] memfd_create("syzkaller", 0 [pid 973] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=973, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 977] <... memfd_create resumed>) = 3 [pid 978] memfd_create("syzkaller", 0 [pid 977] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 975] <... write resumed>) = 524288 [pid 978] <... memfd_create resumed>) = 3 [pid 972] <... openat resumed>) = 4 [pid 978] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 977] <... mmap resumed>) = 0x7f11e81cd000 [pid 975] munmap(0x7f11e81cd000, 138412032 [pid 972] ioctl(4, LOOP_CLR_FD [pid 978] <... mmap resumed>) = 0x7f11e81cd000 [pid 977] 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"..., 524288 [pid 978] 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"..., 524288 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./65", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 306] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./65/file0" [pid 978] <... write resumed>) = 524288 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 975] <... munmap resumed>) = 0 [pid 977] <... write resumed>) = 524288 [pid 972] <... ioctl resumed>) = 0 [pid 978] munmap(0x7f11e81cd000, 138412032 [pid 975] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 975] <... openat resumed>) = 4 [pid 977] munmap(0x7f11e81cd000, 138412032 [pid 972] close(4 [pid 306] openat(AT_FDCWD, "./65/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 978] <... munmap resumed>) = 0 [pid 975] ioctl(4, LOOP_SET_FD, 3 [pid 972] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 977] <... munmap resumed>) = 0 [pid 306] getdents64(4 [pid 978] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 977] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 975] <... ioctl resumed>) = 0 [pid 972] exit_group(0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 975] close(3 [pid 972] <... exit_group resumed>) = ? [pid 306] getdents64(4 [pid 977] <... openat resumed>) = 4 [pid 975] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 977] ioctl(4, LOOP_SET_FD, 3 [pid 975] close(4 [pid 306] close(4 [pid 978] <... openat resumed>) = 4 [pid 977] <... ioctl resumed>) = 0 [pid 975] <... close resumed>) = 0 [pid 972] +++ exited with 0 +++ [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./65/file0") = 0 [pid 306] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./65/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./65/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./65") = 0 [pid 306] mkdir("./66", 0777 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=972, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... mkdir resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 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 309] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 979 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 975] mkdir("./file0", 0777) = 0 [pid 309] <... openat resumed>) = 3 [pid 977] close(3 [pid 309] fstat(3 [pid 977] <... close resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 977] close(4 [pid 309] getdents64(3 [pid 977] <... close resumed>) = 0 [pid 977] mkdir("./file0", 0777 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 975] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 978] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 978] close(3) = 0 [pid 978] close(4) = 0 [pid 978] mkdir("./file0", 0777) = 0 [pid 978] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 979 attached [pid 979] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 979] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 979] chdir("./66") = 0 [pid 979] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 979] setpgid(0, 0) = 0 [pid 979] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 979] write(3, "1000", 4) = 4 [pid 979] close(3) = 0 [pid 979] symlink("/dev/binderfs", "./binderfs" [pid 309] <... umount2 resumed>) = 0 [pid 979] <... symlink resumed>) = 0 [pid 979] write(1, "executing program\n", 18) = 18 [pid 979] memfd_create("syzkaller", 0) = 3 [pid 979] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 979] 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"..., 524288) = 524288 [pid 979] munmap(0x7f11e81cd000, 138412032) = 0 [pid 979] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 979] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 979] ioctl(4, LOOP_CLR_FD) = 0 executing program [pid 979] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 979] close(4) = 0 [pid 979] close(3) = 0 [pid 979] exit_group(0) = ? [pid 309] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 979] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=979, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 977] <... mkdir resumed>) = 0 [ 36.368855][ T972] EXT4-fs (loop3): orphan cleanup on readonly fs [ 36.378667][ T972] EXT4-fs (loop3): 1 truncate cleaned up [ 36.379839][ T973] EXT4-fs (loop0): orphan cleanup on readonly fs [ 36.395094][ T973] EXT4-fs (loop0): 1 truncate cleaned up [pid 977] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./67/file0" [pid 306] <... restart_syscall resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./67/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... openat resumed>) = 4 [pid 309] fstat(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 306] openat(AT_FDCWD, "./66", 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, 0x5555866ce750 /* 3 entries */, 32768) = 80 [pid 306] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./66/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./66/binderfs" [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] <... unlink resumed>) = 0 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] getdents64(3 [pid 309] close(4 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./67/file0" [pid 306] close(3) = 0 [pid 306] rmdir("./66" [pid 309] <... rmdir resumed>) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 309] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] mkdir("./67", 0777 [pid 309] newfstatat(AT_FDCWD, "./67/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 309] unlink("./67/binderfs" [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [pid 309] <... unlink resumed>) = 0 [pid 309] getdents64(3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... ioctl resumed>) = 0 [pid 309] close(3 [pid 306] close(3 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./67" [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] <... rmdir resumed>) = 0 [pid 309] mkdir("./68", 0777 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 982 [pid 309] <... mkdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... openat resumed>) = 3 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] close(3) = 0 ci2-android-6-1/strace-static-x86_64: Process 982 attached [pid 982] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 982] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 982] chdir("./67") = 0 [pid 982] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 982] setpgid(0, 0) = 0 [pid 982] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 982] write(3, "1000", 4) = 4 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 982] close(3) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 984 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 982] symlink("/dev/binderfs", "./binderfs") = 0 [pid 982] write(1, "executing program\n", 18) = 18 executing program [pid 982] memfd_create("syzkaller", 0) = 3 [pid 982] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 982] 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"..., 524288ci2-android-6-1/strace-static-x86_64: Process 984 attached [pid 984] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 984] rt_sigprocmask(SIG_SETMASK, [] [pid 982] <... write resumed>) = 524288 [pid 982] munmap(0x7f11e81cd000, 138412032 [pid 984] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 984] chdir("./68") = 0 [pid 984] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 982] <... munmap resumed>) = 0 [pid 982] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 984] <... prctl resumed>) = 0 [ 36.453008][ T975] EXT4-fs (loop4): orphan cleanup on readonly fs [ 36.468168][ T977] EXT4-fs (loop2): orphan cleanup on readonly fs [ 36.475288][ T978] EXT4-fs (loop1): orphan cleanup on readonly fs [ 36.485877][ T975] EXT4-fs (loop4): 1 truncate cleaned up [ 36.492730][ T978] EXT4-fs (loop1): 1 truncate cleaned up [pid 984] setpgid(0, 0) = 0 [pid 982] <... openat resumed>) = 4 [pid 975] <... mount resumed>) = 0 [pid 982] ioctl(4, LOOP_SET_FD, 3 [pid 984] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 982] <... ioctl resumed>) = 0 [pid 975] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 984] <... openat resumed>) = 3 [pid 982] close(3 [pid 975] <... openat resumed>) = 3 [pid 982] <... close resumed>) = 0 [pid 984] write(3, "1000", 4 [pid 982] close(4 [pid 984] <... write resumed>) = 4 [pid 984] close(3) = 0 [pid 984] symlink("/dev/binderfs", "./binderfs") = 0 [pid 982] <... close resumed>) = 0 [pid 984] write(1, "executing program\n", 18 [pid 982] mkdir("./file0", 0777 [pid 984] <... write resumed>) = 18 executing program [pid 984] memfd_create("syzkaller", 0) = 3 [pid 984] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 984] 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"..., 524288 [pid 982] <... mkdir resumed>) = 0 [pid 975] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 975] ioctl(4, LOOP_CLR_FD) = 0 [pid 975] close(4) = 0 [pid 982] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 975] exit_group(0) = ? [pid 975] +++ exited with 0 +++ [pid 984] <... write resumed>) = 524288 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=975, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 984] munmap(0x7f11e81cd000, 138412032 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 984] <... munmap resumed>) = 0 [pid 984] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 984] ioctl(4, LOOP_SET_FD, 3 [pid 310] <... restart_syscall resumed>) = 0 [ 36.499319][ T977] EXT4-fs (loop2): 1 truncate cleaned up [pid 310] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW [pid 984] <... ioctl resumed>) = 0 [pid 978] <... mount resumed>) = 0 [pid 977] <... mount resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 978] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 977] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] openat(AT_FDCWD, "./66", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 978] <... openat resumed>) = 3 [pid 977] <... openat resumed>) = 3 [pid 310] <... openat resumed>) = 3 [pid 978] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 977] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 310] fstat(3 [pid 978] <... openat resumed>) = 4 [pid 977] <... openat resumed>) = 4 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 978] ioctl(4, LOOP_CLR_FD [pid 977] ioctl(4, LOOP_CLR_FD [pid 310] getdents64(3 [pid 978] <... ioctl resumed>) = 0 [pid 977] <... ioctl resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 984] close(3) = 0 [pid 977] close(4 [pid 978] close(4 [pid 310] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 978] <... close resumed>) = 0 [pid 977] <... close resumed>) = 0 [pid 978] exit_group(0 [pid 977] exit_group(0 [pid 984] close(4 [pid 978] <... exit_group resumed>) = ? [pid 977] <... exit_group resumed>) = ? [pid 984] <... close resumed>) = 0 [pid 978] +++ exited with 0 +++ [pid 977] +++ exited with 0 +++ [pid 984] mkdir("./file0", 0777 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=977, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=978, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 984] <... mkdir resumed>) = 0 [pid 984] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./64", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./66", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./64", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 308] fstat(3 [pid 307] fstat(3 [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 310] <... umount2 resumed>) = 0 [pid 308] getdents64(3 [pid 307] getdents64(3 [pid 310] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 982] <... mount resumed>) = 0 [pid 982] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 982] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 982] ioctl(4, LOOP_CLR_FD) = 0 [pid 982] close(4) = 0 [pid 982] exit_group(0) = ? [pid 982] +++ exited with 0 +++ [pid 307] <... umount2 resumed>) = 0 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=982, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] newfstatat(AT_FDCWD, "./66/file0" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] newfstatat(AT_FDCWD, "./66/file0" [pid 307] newfstatat(AT_FDCWD, "./64/file0" [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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 [ 36.526081][ T982] EXT4-fs (loop0): orphan cleanup on readonly fs [ 36.540054][ T982] EXT4-fs (loop0): 1 truncate cleaned up [pid 306] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./64/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... openat resumed>) = 3 [pid 310] openat(AT_FDCWD, "./66/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] fstat(3 [pid 310] <... openat resumed>) = 4 [pid 308] openat(AT_FDCWD, "./66/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./64/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] fstat(4 [pid 308] <... openat resumed>) = 4 [pid 307] <... openat resumed>) = 4 [pid 306] getdents64(3 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] fstat(4 [pid 307] fstat(4 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] getdents64(4 [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] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4 [pid 307] getdents64(4 [pid 310] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] getdents64(4 [pid 307] getdents64(4 [pid 310] close(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... close resumed>) = 0 [pid 308] close(4 [pid 307] close(4 [pid 310] rmdir("./66/file0" [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 308] rmdir("./66/file0" [pid 307] rmdir("./64/file0" [pid 310] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./64/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] newfstatat(AT_FDCWD, "./66/binderfs" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] newfstatat(AT_FDCWD, "./66/binderfs" [pid 307] newfstatat(AT_FDCWD, "./64/binderfs" [pid 306] <... umount2 resumed>) = 0 [pid 310] unlink("./66/binderfs" [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 310] <... unlink resumed>) = 0 [pid 308] unlink("./66/binderfs" [pid 307] unlink("./64/binderfs" [pid 310] getdents64(3 [pid 308] <... unlink resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 306] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] getdents64(3 [pid 307] getdents64(3 [pid 310] close(3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... close resumed>) = 0 [pid 308] close(3 [pid 307] close(3 [pid 306] newfstatat(AT_FDCWD, "./67/file0" [pid 310] rmdir("./66" [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 308] rmdir("./66" [pid 307] rmdir("./64" [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] mkdir("./67", 0777 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 310] <... mkdir resumed>) = 0 [pid 308] mkdir("./67", 0777 [pid 307] mkdir("./65", 0777 [pid 306] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] <... mkdir resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 310] <... openat resumed>) = 3 [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 310] ioctl(3, LOOP_CLR_FD [pid 308] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] close(3 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... close resumed>) = 0 [pid 308] close(3 [pid 307] close(3 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 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 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 987 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 988 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 989 [pid 306] openat(AT_FDCWD, "./67/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... openat resumed>) = 4 [pid 306] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4 [pid 984] <... mount resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 984] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] rmdir("./67/file0" [pid 984] <... openat resumed>) = 3 [pid 984] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 984] ioctl(4, LOOP_CLR_FD) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 984] close(4 [pid 306] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 984] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 984] exit_group(0 [pid 306] newfstatat(AT_FDCWD, "./67/binderfs" [pid 984] <... exit_group resumed>) = ? [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 984] +++ exited with 0 +++ [pid 306] unlink("./67/binderfs" [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=984, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 987 attached [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3 [pid 987] set_robust_list(0x5555866cd6a0, 24 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 987] <... set_robust_list resumed>) = 0 [pid 306] close(3) = 0 [pid 987] rt_sigprocmask(SIG_SETMASK, [] [pid 306] rmdir("./67" [pid 987] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 987] chdir("./67") = 0 [pid 987] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 987] setpgid(0, 0 [pid 306] mkdir("./68", 0777 [pid 987] <... setpgid resumed>) = 0 [pid 987] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 987] write(3, "1000", 4 [pid 306] <... mkdir resumed>) = 0 [pid 987] <... write resumed>) = 4 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLYci2-android-6-1/strace-static-x86_64: Process 989 attached ci2-android-6-1/strace-static-x86_64: Process 988 attached [pid 309] <... restart_syscall resumed>) = 0 [pid 306] <... openat resumed>) = 3 [pid 989] set_robust_list(0x5555866cd6a0, 24 [pid 988] set_robust_list(0x5555866cd6a0, 24 [pid 987] close(3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 309] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW [pid 987] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 988] <... set_robust_list resumed>) = 0 [pid 987] symlink("/dev/binderfs", "./binderfs" [pid 989] <... set_robust_list resumed>) = 0 [pid 309] openat(AT_FDCWD, "./68", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 988] rt_sigprocmask(SIG_SETMASK, [] [pid 987] <... symlink resumed>) = 0 [pid 989] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 988] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 987] write(1, "executing program\n", 18 [pid 309] <... openat resumed>) = 3 [pid 989] chdir("./65" [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 988] chdir("./67" [pid 987] <... write resumed>) = 18 [pid 989] <... chdir resumed>) = 0 [pid 309] fstat(3 [pid 988] <... chdir resumed>) = 0 [pid 306] close(3 [pid 987] memfd_create("syzkaller", 0 [pid 989] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 988] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] <... close resumed>) = 0 [pid 989] <... prctl resumed>) = 0 [pid 988] <... prctl resumed>) = 0 [pid 987] <... memfd_create resumed>) = 3 executing program [pid 309] getdents64(3 [pid 988] setpgid(0, 0 [pid 989] setpgid(0, 0 [pid 987] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 989] <... setpgid resumed>) = 0 [pid 988] <... setpgid resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 987] <... mmap resumed>) = 0x7f11e81cd000 [pid 989] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 988] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 989] <... openat resumed>) = 3 [pid 988] <... openat resumed>) = 3 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 989] write(3, "1000", 4 [pid 988] write(3, "1000", 4 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 990 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 990 attached [pid 990] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 990] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 990] chdir("./68") = 0 [pid 990] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 990] setpgid(0, 0) = 0 [pid 987] 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"..., 524288 [pid 989] <... write resumed>) = 4 [pid 988] <... write resumed>) = 4 [pid 990] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 989] close(3 [pid 988] close(3 [pid 989] <... close resumed>) = 0 [pid 988] <... close resumed>) = 0 [pid 989] symlink("/dev/binderfs", "./binderfs" [pid 988] symlink("/dev/binderfs", "./binderfs" [pid 990] write(3, "1000", 4) = 4 [pid 990] close(3) = 0 [pid 990] symlink("/dev/binderfs", "./binderfs") = 0 [pid 990] write(1, "executing program\n", 18) = 18 executing program [pid 990] memfd_create("syzkaller", 0) = 3 [pid 990] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] <... umount2 resumed>) = 0 [pid 990] <... mmap resumed>) = 0x7f11e81cd000 [pid 988] <... symlink resumed>) = 0 [pid 989] <... symlink resumed>) = 0 [pid 989] write(1, "executing program\n", 18 [pid 988] write(1, "executing program\n", 18 [pid 987] <... write resumed>) = 524288 [pid 309] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 989] <... write resumed>) = 18 [pid 988] <... write resumed>) = 18 [pid 987] munmap(0x7f11e81cd000, 138412032 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 989] memfd_create("syzkaller", 0 [pid 988] memfd_create("syzkaller", 0) = 3 [pid 989] <... memfd_create resumed>) = 3 [pid 989] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 988] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] newfstatat(AT_FDCWD, "./68/file0" [pid 989] <... mmap resumed>) = 0x7f11e81cd000 [pid 988] <... mmap resumed>) = 0x7f11e81cd000 executing program executing program [pid 989] 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"..., 524288 [pid 988] 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"..., 524288 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 990] 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"..., 524288 [pid 989] <... write resumed>) = 524288 [pid 309] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 990] <... write resumed>) = 524288 [pid 990] munmap(0x7f11e81cd000, 138412032) = 0 [pid 990] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 988] <... write resumed>) = 524288 [pid 309] openat(AT_FDCWD, "./68/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 990] ioctl(4, LOOP_SET_FD, 3 [pid 987] <... munmap resumed>) = 0 [pid 989] munmap(0x7f11e81cd000, 138412032 [pid 309] <... openat resumed>) = 4 [pid 988] munmap(0x7f11e81cd000, 138412032 [pid 987] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 309] fstat(4 [pid 987] <... openat resumed>) = 4 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 987] ioctl(4, LOOP_SET_FD, 3 [pid 309] getdents64(4, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 988] <... munmap resumed>) = 0 [pid 987] <... ioctl resumed>) = 0 [pid 989] <... munmap resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 987] close(3 [pid 989] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 988] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 309] close(4 [pid 987] <... close resumed>) = 0 [pid 990] <... ioctl resumed>) = 0 [pid 989] <... openat resumed>) = 4 [pid 988] <... openat resumed>) = 4 [pid 987] close(4 [pid 309] <... close resumed>) = 0 [pid 309] rmdir("./68/file0") = 0 [pid 309] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./68/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./68/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./68") = 0 [pid 309] mkdir("./69", 0777) = 0 [pid 987] <... close resumed>) = 0 [pid 987] mkdir("./file0", 0777) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 3 [ 36.574890][ T984] EXT4-fs (loop3): orphan cleanup on readonly fs [ 36.594884][ T984] EXT4-fs (loop3): 1 truncate cleaned up [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 987] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 989] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 988] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 991 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 989] close(3) = 0 [pid 988] close(3 [pid 989] close(4 [pid 988] <... close resumed>) = 0 [pid 989] <... close resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 988] close(4) = 0 [pid 989] mkdir("./file0", 0777) = 0 [pid 988] mkdir("./file0", 0777) = 0 [pid 988] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 989] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 990] close(3) = 0 [pid 990] close(4) = 0 [pid 990] mkdir("./file0", 0777) = 0 [pid 990] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 991 attached [pid 991] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 991] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 991] chdir("./69" [pid 989] <... mount resumed>) = 0 [pid 991] <... chdir resumed>) = 0 [pid 989] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 991] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 989] <... openat resumed>) = 3 [pid 991] <... prctl resumed>) = 0 [pid 989] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 991] setpgid(0, 0 [pid 989] <... openat resumed>) = 4 [pid 989] ioctl(4, LOOP_CLR_FD) = 0 [pid 989] close(4) = 0 [pid 989] exit_group(0) = ? [pid 989] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=989, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 991] <... setpgid resumed>) = 0 [pid 991] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 988] <... mount resumed>) = 0 [ 36.658715][ T989] EXT4-fs (loop1): orphan cleanup on readonly fs [ 36.668555][ T989] EXT4-fs (loop1): 1 truncate cleaned up [ 36.675306][ T988] EXT4-fs (loop2): orphan cleanup on readonly fs [ 36.683499][ T987] EXT4-fs (loop4): orphan cleanup on readonly fs [ 36.694614][ T990] EXT4-fs (loop0): orphan cleanup on readonly fs [ 36.701908][ T988] EXT4-fs (loop2): 1 truncate cleaned up [pid 307] umount2("./65", MNT_FORCE|UMOUNT_NOFOLLOW [pid 991] <... openat resumed>) = 3 [pid 988] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./65", 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 991] write(3, "1000", 4 [pid 988] <... openat resumed>) = 3 [pid 991] <... write resumed>) = 4 [pid 988] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 991] close(3 [pid 988] <... openat resumed>) = 4 [pid 991] <... close resumed>) = 0 [pid 991] symlink("/dev/binderfs", "./binderfs" [pid 988] ioctl(4, LOOP_CLR_FD [pid 307] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 991] <... symlink resumed>) = 0 [pid 990] <... mount resumed>) = 0 [pid 988] <... ioctl resumed>) = 0 [pid 987] <... mount resumed>) = 0 [pid 991] write(1, "executing program\n", 18 [pid 988] close(4 [pid 991] <... write resumed>) = 18 [pid 988] <... close resumed>) = 0 [pid 991] memfd_create("syzkaller", 0 [pid 988] exit_group(0 [pid 991] <... memfd_create resumed>) = 3 [pid 988] <... exit_group resumed>) = ? executing program [pid 991] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 990] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 987] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 990] <... openat resumed>) = 3 [pid 988] +++ exited with 0 +++ [pid 991] <... mmap resumed>) = 0x7f11e81cd000 [pid 987] <... openat resumed>) = 3 [pid 991] 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"..., 524288 [pid 307] <... umount2 resumed>) = 0 [pid 991] <... write resumed>) = 524288 [pid 991] munmap(0x7f11e81cd000, 138412032) = 0 [pid 991] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 991] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 991] close(3) = 0 [pid 991] close(4) = 0 [pid 991] mkdir("./file0", 0777) = 0 [pid 991] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 987] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=988, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 987] ioctl(4, LOOP_CLR_FD) = 0 [pid 987] close(4) = 0 [pid 987] exit_group(0) = ? [pid 987] +++ exited with 0 +++ [pid 990] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 990] ioctl(4, LOOP_CLR_FD) = 0 [pid 990] close(4) = 0 [pid 990] exit_group(0) = ? [pid 990] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=990, 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] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=987, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 308] <... restart_syscall resumed>) = 0 [pid 307] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] newfstatat(AT_FDCWD, "./65/file0" [pid 310] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [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 307] umount2("./65/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] getdents64(3 [pid 308] getdents64(3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] openat(AT_FDCWD, "./65/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... restart_syscall resumed>) = 0 [pid 307] <... openat resumed>) = 4 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./67/file0" [pid 306] openat(AT_FDCWD, "./68", 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 306] <... openat resumed>) = 3 [pid 308] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] fstat(4 [pid 306] fstat(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [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 310] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./67/file0" [pid 307] getdents64(4 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(3 [pid 308] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(4 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] openat(AT_FDCWD, "./67/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] close(4 [pid 310] openat(AT_FDCWD, "./67/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 4 [pid 307] <... close resumed>) = 0 [pid 306] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] fstat(4 [pid 307] rmdir("./65/file0" [pid 310] <... openat resumed>) = 4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 310] fstat(4 [pid 308] getdents64(4 [pid 307] umount2("./65/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(4 [pid 307] newfstatat(AT_FDCWD, "./65/binderfs" [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [ 36.711191][ T987] EXT4-fs (loop4): 1 truncate cleaned up [ 36.711887][ T990] EXT4-fs (loop0): 1 truncate cleaned up [ 36.738795][ T991] EXT4-fs (loop3): orphan cleanup on readonly fs [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] close(4 [pid 307] unlink("./65/binderfs" [pid 306] <... umount2 resumed>) = 0 [pid 310] getdents64(4 [pid 308] <... close resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 306] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] rmdir("./67/file0" [pid 307] getdents64(3 [pid 310] getdents64(4 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] close(3 [pid 306] newfstatat(AT_FDCWD, "./68/file0" [pid 310] close(4 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... close resumed>) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] newfstatat(AT_FDCWD, "./67/binderfs" [pid 307] rmdir("./65" [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 308] unlink("./67/binderfs" [pid 307] mkdir("./66", 0777 [pid 310] <... close resumed>) = 0 [pid 308] <... unlink resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 306] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] rmdir("./67/file0" [pid 308] getdents64(3 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... openat resumed>) = 3 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] close(3 [pid 307] ioctl(3, LOOP_CLR_FD [pid 310] <... rmdir resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] openat(AT_FDCWD, "./68/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] rmdir("./67" [pid 307] close(3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rmdir resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 310] newfstatat(AT_FDCWD, "./67/binderfs" [pid 308] mkdir("./68", 0777 [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] fstat(4 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... mkdir resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] unlink("./67/binderfs" [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] <... unlink resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 306] getdents64(4 [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 997 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 308] close(3 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [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 310] getdents64(3 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 998 [pid 306] getdents64(4 [pid 310] close(3 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] close(4 [pid 310] rmdir("./67" [pid 306] <... close resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 306] rmdir("./68/file0" [pid 310] mkdir("./68", 0777) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... openat resumed>) = 3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] newfstatat(AT_FDCWD, "./68/binderfs" [pid 310] close(3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] <... close resumed>) = 0 [pid 306] unlink("./68/binderfs" [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 991] <... mount resumed>) = 0 [pid 991] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 991] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] close(3 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 999 [pid 991] <... openat resumed>) = 4 [pid 306] <... close resumed>) = 0 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 306] rmdir("./68" [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 991] ioctl(4, LOOP_CLR_FD) = 0 [pid 991] close(4) = 0 [pid 306] <... rmdir resumed>) = 0 [pid 991] exit_group(0 [pid 306] mkdir("./69", 0777 [pid 991] <... exit_group resumed>) = ? [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 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 991] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=991, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...>ci2-android-6-1/strace-static-x86_64: Process 997 attached [pid 997] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 1000 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 997] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 997] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 997] chdir("./66") = 0 [pid 997] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 997] setpgid(0, 0) = 0 [pid 997] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 997] write(3, "1000", 4) = 4 [pid 997] close(3) = 0 [pid 997] symlink("/dev/binderfs", "./binderfs") = 0 [pid 997] write(1, "executing program\n", 18) = 18 [pid 997] memfd_create("syzkaller", 0) = 3 [pid 997] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program ci2-android-6-1/strace-static-x86_64: Process 999 attached ci2-android-6-1/strace-static-x86_64: Process 1000 attached [pid 1000] set_robust_list(0x5555866cd6a0, 24 [pid 999] set_robust_list(0x5555866cd6a0, 24 [pid 1000] <... set_robust_list resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 998 attached [pid 999] <... set_robust_list resumed>) = 0 [pid 309] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 999] rt_sigprocmask(SIG_SETMASK, [] [pid 998] set_robust_list(0x5555866cd6a0, 24 [pid 309] openat(AT_FDCWD, "./69", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3 [pid 999] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 998] <... set_robust_list resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1000] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1000] chdir("./69") = 0 [pid 1000] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 1000] setpgid(0, 0) = 0 [pid 1000] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 999] chdir("./68" [pid 998] rt_sigprocmask(SIG_SETMASK, [] [pid 997] 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"..., 524288 [pid 999] <... chdir resumed>) = 0 [pid 999] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 999] setpgid(0, 0) = 0 [pid 999] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] <... umount2 resumed>) = 0 [pid 999] <... openat resumed>) = 3 [pid 999] write(3, "1000", 4) = 4 [pid 999] close(3) = 0 [pid 999] symlink("/dev/binderfs", "./binderfs") = 0 [pid 999] write(1, "executing program\n", 18) = 18 [pid 999] memfd_create("syzkaller", 0) = 3 [pid 999] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 998] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 998] chdir("./68") = 0 [pid 998] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 998] setpgid(0, 0) = 0 [pid 998] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 309] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 998] write(3, "1000", 4) = 4 [pid 998] close(3) = 0 [pid 998] symlink("/dev/binderfs", "./binderfs") = 0 [pid 999] 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"..., 524288 [pid 998] write(1, "executing program\n", 18) = 18 [pid 998] memfd_create("syzkaller", 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1000] write(3, "1000", 4 [pid 309] newfstatat(AT_FDCWD, "./69/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1000] <... write resumed>) = 4 executing program [pid 309] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 1000] close(3 [pid 309] openat(AT_FDCWD, "./69/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 1000] <... close resumed>) = 0 [pid 309] fstat(4 [pid 1000] symlink("/dev/binderfs", "./binderfs" [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 998] <... memfd_create resumed>) = 3 [pid 309] getdents64(4 [pid 998] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 1000] <... symlink resumed>) = 0 [pid 997] <... write resumed>) = 524288 [pid 309] getdents64(4 [pid 1000] write(1, "executing program\n", 18 [pid 997] munmap(0x7f11e81cd000, 138412032 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 1000] <... write resumed>) = 18 executing program [pid 309] close(4 [pid 1000] memfd_create("syzkaller", 0 [pid 309] <... close resumed>) = 0 [pid 1000] <... memfd_create resumed>) = 3 [pid 309] rmdir("./69/file0" [pid 997] <... munmap resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 1000] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 997] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 309] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1000] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./69/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./69/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./69") = 0 [pid 309] mkdir("./70", 0777 [pid 998] 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"..., 524288 [pid 309] <... mkdir resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 1000] 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"..., 524288 [pid 998] <... write resumed>) = 524288 [pid 997] <... openat resumed>) = 4 [pid 309] <... openat resumed>) = 3 [pid 997] ioctl(4, LOOP_SET_FD, 3 [pid 309] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 998] munmap(0x7f11e81cd000, 138412032 [pid 309] <... close resumed>) = 0 [pid 998] <... munmap resumed>) = 0 [pid 998] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 998] ioctl(4, LOOP_SET_FD, 3 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 1001 [pid 998] <... ioctl resumed>) = 0 [pid 998] close(3) = 0 [pid 998] close(4) = 0 [pid 998] mkdir("./file0", 0777) = 0 [pid 998] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 999] <... write resumed>) = 524288 [pid 999] munmap(0x7f11e81cd000, 138412032) = 0 [pid 999] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 36.767076][ T991] EXT4-fs (loop3): 1 truncate cleaned up [pid 999] ioctl(4, LOOP_SET_FD, 3 [pid 997] <... ioctl resumed>) = 0 [pid 999] <... ioctl resumed>) = 0 [pid 999] close(3) = 0 [pid 999] close(4 [pid 1000] <... write resumed>) = 524288 [pid 997] close(3 [pid 1000] munmap(0x7f11e81cd000, 138412032 [pid 997] <... close resumed>) = 0 [pid 997] close(4ci2-android-6-1/strace-static-x86_64: Process 1001 attached [pid 1000] <... munmap resumed>) = 0 [pid 997] <... close resumed>) = 0 [pid 1000] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 997] mkdir("./file0", 0777) = 0 [pid 1000] <... openat resumed>) = 4 [pid 997] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1000] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 1001] set_robust_list(0x5555866cd6a0, 24 [pid 1000] close(3 [pid 1001] <... set_robust_list resumed>) = 0 [pid 1000] <... close resumed>) = 0 [pid 1001] rt_sigprocmask(SIG_SETMASK, [] [pid 1000] close(4 [pid 1001] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1001] chdir("./70" [pid 1000] <... close resumed>) = 0 [pid 1001] <... chdir resumed>) = 0 [pid 1000] mkdir("./file0", 0777 [pid 1001] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 999] <... close resumed>) = 0 [pid 1000] <... mkdir resumed>) = 0 [pid 1001] <... prctl resumed>) = 0 [pid 1000] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1001] setpgid(0, 0 [pid 999] mkdir("./file0", 0777 [pid 1001] <... setpgid resumed>) = 0 [pid 1001] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 999] <... mkdir resumed>) = 0 [pid 1001] <... openat resumed>) = 3 [pid 1001] write(3, "1000", 4 [pid 999] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1001] <... write resumed>) = 4 [pid 1001] close(3) = 0 [pid 1001] symlink("/dev/binderfs", "./binderfs") = 0 [pid 1001] write(1, "executing program\n", 18) = 18 executing program [pid 1001] memfd_create("syzkaller", 0) = 3 [pid 1001] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 1001] 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"..., 524288) = 524288 [pid 1000] <... mount resumed>) = 0 [pid 998] <... mount resumed>) = 0 [pid 1001] munmap(0x7f11e81cd000, 138412032 [pid 1000] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 998] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 1001] <... munmap resumed>) = 0 [pid 1000] <... openat resumed>) = 3 [pid 998] <... openat resumed>) = 3 [ 36.838778][ T998] EXT4-fs (loop2): orphan cleanup on readonly fs [ 36.857318][ T998] EXT4-fs (loop2): 1 truncate cleaned up [ 36.864940][ T997] EXT4-fs (loop1): orphan cleanup on readonly fs [ 36.872470][ T1000] EXT4-fs (loop0): orphan cleanup on readonly fs [ 36.880980][ T1000] EXT4-fs (loop0): 1 truncate cleaned up [pid 1001] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 1000] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 998] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 1001] <... openat resumed>) = 4 [pid 1000] <... openat resumed>) = 4 [pid 998] <... openat resumed>) = 4 [pid 1001] ioctl(4, LOOP_SET_FD, 3 [pid 1000] ioctl(4, LOOP_CLR_FD [pid 998] ioctl(4, LOOP_CLR_FD [pid 1001] <... ioctl resumed>) = 0 [pid 1000] <... ioctl resumed>) = 0 [pid 998] <... ioctl resumed>) = 0 [pid 1001] close(3 [pid 1000] close(4 [pid 998] close(4 [pid 997] <... mount resumed>) = 0 [pid 1001] <... close resumed>) = 0 [pid 1000] <... close resumed>) = 0 [pid 998] <... close resumed>) = 0 [pid 997] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 1001] close(4 [pid 1000] exit_group(0 [pid 998] exit_group(0 [pid 997] <... openat resumed>) = 3 [pid 1001] <... close resumed>) = 0 [pid 1000] <... exit_group resumed>) = ? [pid 998] <... exit_group resumed>) = ? [pid 997] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 1001] mkdir("./file0", 0777 [pid 1000] +++ exited with 0 +++ [pid 998] +++ exited with 0 +++ [pid 997] <... openat resumed>) = 4 [pid 997] ioctl(4, LOOP_CLR_FD [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1000, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=998, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 997] <... ioctl resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 997] close(4 [pid 1001] <... mkdir resumed>) = 0 [pid 997] <... close resumed>) = 0 [pid 1001] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 997] exit_group(0) = ? [pid 997] +++ exited with 0 +++ [pid 308] <... restart_syscall resumed>) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=997, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 308] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW [pid 999] <... mount resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./66", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 999] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./68", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./69", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 999] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 307] openat(AT_FDCWD, "./66", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... openat resumed>) = 3 [pid 999] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] fstat(3 [pid 307] <... openat resumed>) = 3 [pid 306] fstat(3 [pid 999] <... openat resumed>) = 4 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] fstat(3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 999] ioctl(4, LOOP_CLR_FD [pid 308] getdents64(3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3 [pid 999] <... ioctl resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] getdents64(3 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 999] close(4 [pid 308] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 999] <... close resumed>) = 0 [pid 307] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 999] exit_group(0) = ? [pid 999] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=999, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 310] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./68", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1001] <... mount resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 307] <... umount2 resumed>) = 0 [pid 1001] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1001] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1001] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] newfstatat(AT_FDCWD, "./68/file0" [pid 307] newfstatat(AT_FDCWD, "./66/file0" [pid 1001] <... openat resumed>) = 4 [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 1001] ioctl(4, LOOP_CLR_FD [pid 308] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./66/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1001] <... ioctl resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1001] close(4 [pid 308] openat(AT_FDCWD, "./68/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] openat(AT_FDCWD, "./66/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 1001] <... close resumed>) = 0 [pid 308] <... openat resumed>) = 4 [pid 307] <... openat resumed>) = 4 [pid 1001] exit_group(0 [pid 308] fstat(4 [pid 307] fstat(4 [pid 1001] <... exit_group resumed>) = ? [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] <... umount2 resumed>) = 0 [pid 1001] +++ exited with 0 +++ [pid 308] getdents64(4 [pid 307] getdents64(4 [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1001, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] getdents64(4 [pid 307] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 307] close(4 [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 308] rmdir("./68/file0" [pid 307] rmdir("./66/file0" [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 308] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] umount2("./66/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] newfstatat(AT_FDCWD, "./68/binderfs" [pid 307] newfstatat(AT_FDCWD, "./66/binderfs" [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 308] unlink("./68/binderfs" [pid 307] unlink("./66/binderfs" [pid 308] <... unlink resumed>) = 0 [pid 307] <... unlink resumed>) = 0 [pid 308] getdents64(3 [pid 307] getdents64(3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3 [pid 307] close(3 [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 308] rmdir("./68" [pid 307] rmdir("./66" [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 308] mkdir("./69", 0777 [pid 307] mkdir("./67", 0777 [pid 309] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... mkdir resumed>) = 0 [pid 307] <... mkdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] <... openat resumed>) = 3 [pid 307] <... openat resumed>) = 3 [pid 310] <... umount2 resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] ioctl(3, LOOP_CLR_FD [pid 309] fstat(3 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] close(3 [pid 307] close(3 [pid 309] getdents64(3 [pid 308] <... close resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [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] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 1007 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 1008 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 36.896945][ T997] EXT4-fs (loop1): 1 truncate cleaned up [ 36.903517][ T999] EXT4-fs (loop4): orphan cleanup on readonly fs [ 36.923088][ T999] EXT4-fs (loop4): 1 truncate cleaned up [ 36.932056][ T1001] EXT4-fs (loop3): orphan cleanup on readonly fs [ 36.939495][ T1001] EXT4-fs (loop3): 1 truncate cleaned up [pid 310] newfstatat(AT_FDCWD, "./68/file0" [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] newfstatat(AT_FDCWD, "./69/file0"ci2-android-6-1/strace-static-x86_64: Process 1008 attached ci2-android-6-1/strace-static-x86_64: Process 1007 attached [pid 310] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1008] set_robust_list(0x5555866cd6a0, 24 [pid 1007] set_robust_list(0x5555866cd6a0, 24 [pid 310] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1008] <... set_robust_list resumed>) = 0 [pid 1007] <... set_robust_list resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1008] rt_sigprocmask(SIG_SETMASK, [] [pid 1007] rt_sigprocmask(SIG_SETMASK, [] [pid 310] openat(AT_FDCWD, "./68/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./69/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 1008] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1007] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 310] <... openat resumed>) = 4 [pid 306] <... openat resumed>) = 4 [pid 1008] chdir("./67" [pid 1007] chdir("./69" [pid 310] fstat(4 [pid 306] fstat(4 [pid 1008] <... chdir resumed>) = 0 [pid 1007] <... chdir resumed>) = 0 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] newfstatat(AT_FDCWD, "./70/file0" [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 1008] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1007] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] getdents64(4 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] getdents64(4 [pid 1008] <... prctl resumed>) = 0 [pid 1007] <... prctl resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 1008] setpgid(0, 0 [pid 1007] setpgid(0, 0 [pid 310] getdents64(4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] getdents64(4 [pid 1008] <... setpgid resumed>) = 0 [pid 1007] <... setpgid resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] openat(AT_FDCWD, "./70/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 1008] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 1007] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] close(4 [pid 309] <... openat resumed>) = 4 [pid 306] close(4 [pid 1008] <... openat resumed>) = 3 [pid 1007] <... openat resumed>) = 3 [pid 310] <... close resumed>) = 0 [pid 309] fstat(4 [pid 306] <... close resumed>) = 0 [pid 1008] write(3, "1000", 4 [pid 1007] write(3, "1000", 4 [pid 310] rmdir("./68/file0" [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] rmdir("./69/file0" [pid 1008] <... write resumed>) = 4 [pid 1007] <... write resumed>) = 4 [pid 310] <... rmdir resumed>) = 0 [pid 309] getdents64(4 [pid 306] <... rmdir resumed>) = 0 [pid 1008] close(3 [pid 1007] close(3 [pid 310] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1008] <... close resumed>) = 0 [pid 1007] <... close resumed>) = 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] getdents64(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1008] symlink("/dev/binderfs", "./binderfs" [pid 1007] symlink("/dev/binderfs", "./binderfs" [pid 310] newfstatat(AT_FDCWD, "./68/binderfs" [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] newfstatat(AT_FDCWD, "./69/binderfs" [pid 1008] <... symlink resumed>) = 0 [pid 1007] <... symlink resumed>) = 0 [pid 310] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] close(4 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1008] write(1, "executing program\n", 18 [pid 1007] write(1, "executing program\n", 18 [pid 310] unlink("./68/binderfs" [pid 309] <... close resumed>) = 0 [pid 306] unlink("./69/binderfs" [pid 1008] <... write resumed>) = 18 [pid 1007] <... write resumed>) = 18 [pid 310] <... unlink resumed>) = 0 executing program executing program [pid 309] rmdir("./70/file0" [pid 306] <... unlink resumed>) = 0 [pid 1008] memfd_create("syzkaller", 0 [pid 1007] memfd_create("syzkaller", 0 [pid 310] getdents64(3 [pid 309] <... rmdir resumed>) = 0 [pid 306] getdents64(3 [pid 1008] <... memfd_create resumed>) = 3 [pid 1007] <... memfd_create resumed>) = 3 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 1008] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 1007] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] close(3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] close(3 [pid 1008] <... mmap resumed>) = 0x7f11e81cd000 [pid 1007] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] <... close resumed>) = 0 [pid 309] newfstatat(AT_FDCWD, "./70/binderfs" [pid 306] <... close resumed>) = 0 [pid 1008] 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"..., 524288 [pid 310] rmdir("./68" [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] rmdir("./69" [pid 310] <... rmdir resumed>) = 0 [pid 309] unlink("./70/binderfs" [pid 306] <... rmdir resumed>) = 0 [pid 310] mkdir("./69", 0777 [pid 309] <... unlink resumed>) = 0 [pid 306] mkdir("./70", 0777 [pid 1007] 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"..., 524288 [pid 310] <... mkdir resumed>) = 0 [pid 309] getdents64(3 [pid 306] <... mkdir resumed>) = 0 [pid 1008] <... write resumed>) = 524288 [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] <... openat resumed>) = 3 [pid 309] close(3 [pid 310] ioctl(3, LOOP_CLR_FD [pid 306] <... openat resumed>) = 3 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... close resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 310] close(3 [pid 309] rmdir("./70" [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... close resumed>) = 0 [pid 1008] munmap(0x7f11e81cd000, 138412032 [pid 309] <... rmdir resumed>) = 0 [pid 306] close(3 [pid 1008] <... munmap resumed>) = 0 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] mkdir("./71", 0777 [pid 1007] <... write resumed>) = 524288 [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... close resumed>) = 0 [pid 1008] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 1007] munmap(0x7f11e81cd000, 138412032 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... mkdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 1008] <... openat resumed>) = 4 [pid 1008] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 1009 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... openat resumed>) = 3 ci2-android-6-1/strace-static-x86_64: Process 1010 attached ci2-android-6-1/strace-static-x86_64: Process 1009 attached [pid 1008] <... ioctl resumed>) = 0 [pid 1007] <... munmap resumed>) = 0 [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 1010] set_robust_list(0x5555866cd6a0, 24 [pid 1009] set_robust_list(0x5555866cd6a0, 24 [pid 1008] close(3 [pid 1007] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 1010 [pid 1010] <... set_robust_list resumed>) = 0 [pid 1009] <... set_robust_list resumed>) = 0 [pid 1008] <... close resumed>) = 0 [pid 1007] <... openat resumed>) = 4 [pid 309] close(3 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 1010] rt_sigprocmask(SIG_SETMASK, [] [pid 1009] rt_sigprocmask(SIG_SETMASK, [] [pid 1008] close(4 [pid 1007] ioctl(4, LOOP_SET_FD, 3 [pid 309] <... close resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1010] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1009] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1008] <... close resumed>) = 0 [pid 1007] <... ioctl resumed>) = 0 [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 1010] chdir("./70" [pid 1009] chdir("./69" [pid 1008] mkdir("./file0", 0777 [pid 1007] close(3 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 1010] <... chdir resumed>) = 0 [pid 1009] <... chdir resumed>) = 0 [pid 1008] <... mkdir resumed>) = 0 [pid 1007] <... close resumed>) = 0 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 1010] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1009] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1008] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1007] close(4 [pid 1010] <... prctl resumed>) = 0 [pid 1009] <... prctl resumed>) = 0 [pid 1007] <... close resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 1011 ci2-android-6-1/strace-static-x86_64: Process 1011 attached [pid 1010] setpgid(0, 0 [pid 1007] mkdir("./file0", 0777 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 1011] set_robust_list(0x5555866cd6a0, 24 [pid 1007] <... mkdir resumed>) = 0 [pid 1010] <... setpgid resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1011] <... set_robust_list resumed>) = 0 [pid 1007] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1011] rt_sigprocmask(SIG_SETMASK, [] [pid 1010] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 1011] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1010] <... openat resumed>) = 3 [pid 1011] chdir("./71") = 0 [pid 1011] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1010] write(3, "1000", 4 [pid 1011] <... prctl resumed>) = 0 [pid 1010] <... write resumed>) = 4 [pid 1009] setpgid(0, 0 [pid 1011] setpgid(0, 0 [pid 1010] close(3 [pid 1011] <... setpgid resumed>) = 0 [pid 1009] <... setpgid resumed>) = 0 [pid 1011] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 1010] <... close resumed>) = 0 [pid 1011] <... openat resumed>) = 3 [pid 1010] symlink("/dev/binderfs", "./binderfs" [pid 1009] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 1011] write(3, "1000", 4 [pid 1010] <... symlink resumed>) = 0 [pid 1011] <... write resumed>) = 4 [pid 1009] <... openat resumed>) = 3 [pid 1010] write(1, "executing program\n", 18 [pid 1011] close(3) = 0 [pid 1011] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 1011] write(1, "executing program\n", 18) = 18 executing program [pid 1011] memfd_create("syzkaller", 0) = 3 [pid 1010] <... write resumed>) = 18 [pid 1009] write(3, "1000", 4 [pid 1011] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 1010] memfd_create("syzkaller", 0 [pid 1009] <... write resumed>) = 4 [pid 1011] <... mmap resumed>) = 0x7f11e81cd000 [pid 1010] <... memfd_create resumed>) = 3 [pid 1009] close(3 [pid 1010] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 1009] <... close resumed>) = 0 [pid 1011] 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"..., 524288 [pid 1010] <... mmap resumed>) = 0x7f11e81cd000 [pid 1009] symlink("/dev/binderfs", "./binderfs" [pid 1011] <... write resumed>) = 524288 [pid 1010] 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"..., 524288 [pid 1009] <... symlink resumed>) = 0 [pid 1009] write(1, "executing program\n", 18 [pid 1011] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1011] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 1011] ioctl(4, LOOP_SET_FD, 3) = 0 executing program [pid 1011] close(3 [pid 1010] <... write resumed>) = 524288 [pid 1009] <... write resumed>) = 18 [pid 1010] munmap(0x7f11e81cd000, 138412032 [pid 1009] memfd_create("syzkaller", 0 [pid 1011] <... close resumed>) = 0 [pid 1011] close(4) = 0 [pid 1011] mkdir("./file0", 0777 [pid 1010] <... munmap resumed>) = 0 [pid 1009] <... memfd_create resumed>) = 3 [pid 1010] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 1009] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 1010] <... openat resumed>) = 4 [pid 1009] <... mmap resumed>) = 0x7f11e81cd000 [pid 1011] <... mkdir resumed>) = 0 [pid 1011] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1010] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 1010] close(3) = 0 [pid 1010] close(4) = 0 [pid 1010] mkdir("./file0", 0777) = 0 [pid 1010] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1009] 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"..., 524288 [pid 1008] <... mount resumed>) = 0 [pid 1009] <... write resumed>) = 524288 [pid 1009] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1009] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 1009] ioctl(4, LOOP_SET_FD, 3 [pid 1008] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 1008] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 1009] <... ioctl resumed>) = 0 [pid 1009] close(3) = 0 [pid 1009] close(4) = 0 [pid 1009] mkdir("./file0", 0777) = 0 [pid 1009] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1008] <... openat resumed>) = 4 [ 37.007435][ T1008] EXT4-fs (loop1): orphan cleanup on readonly fs [ 37.026413][ T1007] EXT4-fs (loop2): orphan cleanup on readonly fs [ 37.034261][ T1008] EXT4-fs (loop1): 1 truncate cleaned up [pid 1008] ioctl(4, LOOP_CLR_FD) = 0 [pid 1007] <... mount resumed>) = 0 [pid 1008] close(4 [pid 1007] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 1008] <... close resumed>) = 0 [pid 1008] exit_group(0 [pid 1007] <... openat resumed>) = 3 [pid 1008] <... exit_group resumed>) = ? [pid 1007] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 1008] +++ exited with 0 +++ [pid 1007] <... openat resumed>) = 4 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1008, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 1007] ioctl(4, LOOP_CLR_FD) = 0 [pid 1007] close(4) = 0 [pid 1007] exit_group(0) = ? [pid 1009] <... mount resumed>) = 0 [pid 1007] +++ exited with 0 +++ [pid 1009] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 1009] openat(AT_FDCWD, "/dev/loop4", O_RDONLY) = 4 [pid 1009] ioctl(4, LOOP_CLR_FD) = 0 [pid 1009] close(4) = 0 [pid 1009] exit_group(0) = ? [pid 1009] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1009, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... restart_syscall resumed>) = 0 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1007, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] umount2("./67", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./67", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./69", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... openat resumed>) = 3 [pid 308] <... openat resumed>) = 3 [pid 307] fstat(3 [pid 310] <... restart_syscall resumed>) = 0 [pid 308] fstat(3 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 1011] <... mount resumed>) = 0 [pid 1010] <... mount resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] getdents64(3 [pid 308] getdents64(3 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 1011] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 310] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1010] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 1011] <... openat resumed>) = 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] openat(AT_FDCWD, "./69", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 310] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 310] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./69/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./69/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./69/file0") = 0 [pid 310] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./69/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./69/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./69") = 0 [pid 310] mkdir("./70", 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=0x5555866cd690) = 1017 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 1011] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1011] <... openat resumed>) = 4 [pid 1011] ioctl(4, LOOP_CLR_FD) = 0 [pid 1011] close(4) = 0 [pid 1011] exit_group(0) = ? [pid 1011] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1011, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 1010] <... openat resumed>) = 3 [pid 308] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = 0 [pid 1010] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 1010] ioctl(4, LOOP_CLR_FD) = 0 [pid 1010] close(4) = 0 [pid 1010] exit_group(0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1010] <... exit_group resumed>) = ? [pid 1010] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1010, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] newfstatat(AT_FDCWD, "./69/file0" [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] newfstatat(AT_FDCWD, "./67/file0" [pid 308] umount2("./69/file0", 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 307] umount2("./67/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./69/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 4 [pid 307] openat(AT_FDCWD, "./67/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... openat resumed>) = 4 [pid 308] getdents64(4 [pid 307] fstat(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 307] getdents64(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4 [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] <... restart_syscall resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 307] getdents64(4 [pid 306] <... restart_syscall resumed>) = 0 [pid 308] rmdir("./69/file0" [pid 307] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... rmdir resumed>) = 0 [pid 307] close(4 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./71", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... close resumed>) = 0 [pid 306] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] rmdir("./67/file0" [pid 306] <... openat resumed>) = 3 [pid 309] fstat(3 [pid 308] newfstatat(AT_FDCWD, "./69/binderfs" [pid 306] fstat(3ci2-android-6-1/strace-static-x86_64: Process 1017 attached [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 1017] set_robust_list(0x5555866cd6a0, 24 [pid 309] getdents64(3 [pid 308] unlink("./69/binderfs" [pid 307] umount2("./67/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] getdents64(3 [pid 1017] <... set_robust_list resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] <... unlink resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1017] rt_sigprocmask(SIG_SETMASK, [] [pid 309] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] getdents64(3 [pid 307] newfstatat(AT_FDCWD, "./67/binderfs" [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 1017] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1017] chdir("./70" [pid 308] close(3 [pid 307] unlink("./67/binderfs" [pid 306] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1017] <... chdir resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 1017] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] rmdir("./69" [pid 307] <... unlink resumed>) = 0 [pid 1017] <... prctl resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 307] getdents64(3 [pid 1017] setpgid(0, 0 [pid 309] <... umount2 resumed>) = 0 [pid 308] mkdir("./70", 0777 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] <... mkdir resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./71/file0" [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 307] close(3 [pid 306] <... umount2 resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 3 [pid 307] <... close resumed>) = 0 [pid 306] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] openat(AT_FDCWD, "./71/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] ioctl(3, LOOP_CLR_FD [pid 1017] <... setpgid resumed>) = 0 [pid 309] <... openat resumed>) = 4 [ 37.054264][ T1007] EXT4-fs (loop2): 1 truncate cleaned up [ 37.057722][ T1010] EXT4-fs (loop0): orphan cleanup on readonly fs [ 37.061587][ T1011] EXT4-fs (loop3): orphan cleanup on readonly fs [ 37.071607][ T1009] EXT4-fs (loop4): orphan cleanup on readonly fs [ 37.082365][ T1009] EXT4-fs (loop4): 1 truncate cleaned up [ 37.089732][ T1011] EXT4-fs (loop3): 1 truncate cleaned up [ 37.096132][ T1010] EXT4-fs (loop0): 1 truncate cleaned up [pid 307] rmdir("./67" [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1017] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] fstat(4 [pid 308] close(3 [pid 307] <... rmdir resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./70/file0" [pid 1017] <... openat resumed>) = 3 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... close resumed>) = 0 [pid 307] mkdir("./68", 0777 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1017] write(3, "1000", 4 [pid 309] getdents64(4 [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 307] <... mkdir resumed>) = 0 [pid 306] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1017] <... write resumed>) = 4 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1017] close(3 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 307] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "./70/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYci2-android-6-1/strace-static-x86_64: Process 1018 attached [pid 1017] <... close resumed>) = 0 [pid 309] getdents64(4 [pid 307] ioctl(3, LOOP_CLR_FD [pid 306] <... openat resumed>) = 4 [pid 1018] set_robust_list(0x5555866cd6a0, 24 [pid 1017] symlink("/dev/binderfs", "./binderfs" [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 1018 [pid 307] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] fstat(4 [pid 1018] <... set_robust_list resumed>) = 0 [pid 1017] <... symlink resumed>) = 0 [pid 309] close(4 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 307] close(3 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 1017] write(1, "executing program\n", 18 [pid 309] <... close resumed>) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 307] <... close resumed>) = 0 executing program [pid 306] getdents64(4 [pid 1018] rt_sigprocmask(SIG_SETMASK, [] [pid 1017] <... write resumed>) = 18 [pid 309] rmdir("./71/file0" [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 1018] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1017] memfd_create("syzkaller", 0 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] getdents64(4 [pid 1017] <... memfd_create resumed>) = 3 [pid 309] <... rmdir resumed>) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 1018] chdir("./70" [pid 1017] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 309] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 1019 attached [pid 1018] <... chdir resumed>) = 0 [pid 1017] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] close(4 [pid 1018] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] newfstatat(AT_FDCWD, "./71/binderfs" [pid 1018] <... prctl resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1018] setpgid(0, 0 [pid 309] unlink("./71/binderfs" [pid 1018] <... setpgid resumed>) = 0 [pid 309] <... unlink resumed>) = 0 [pid 1018] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] getdents64(3 [pid 1018] <... openat resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 1018] write(3, "1000", 4 [pid 309] close(3 [pid 1018] <... write resumed>) = 4 [pid 309] <... close resumed>) = 0 [pid 1018] close(3 [pid 309] rmdir("./71" [pid 1019] set_robust_list(0x5555866cd6a0, 24 [pid 1017] 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"..., 524288 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 1019 [pid 306] <... close resumed>) = 0 [pid 1018] <... close resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 1018] symlink("/dev/binderfs", "./binderfs" [pid 309] mkdir("./72", 0777 [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] rmdir("./70/file0" [pid 1018] <... symlink resumed>) = 0 [pid 309] <... mkdir resumed>) = 0 [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1018] write(1, "executing program\n", 18 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] <... rmdir resumed>) = 0 [pid 1018] <... write resumed>) = 18 executing program [pid 309] <... openat resumed>) = 3 [pid 1019] <... set_robust_list resumed>) = 0 [pid 1018] memfd_create("syzkaller", 0 [pid 1017] <... write resumed>) = 524288 [pid 309] ioctl(3, LOOP_CLR_FD [pid 306] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1019] rt_sigprocmask(SIG_SETMASK, [] [pid 1017] munmap(0x7f11e81cd000, 138412032 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1018] <... memfd_create resumed>) = 3 [pid 309] close(3 [pid 1019] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1017] <... munmap resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 306] newfstatat(AT_FDCWD, "./70/binderfs" [pid 1019] chdir("./68" [pid 1018] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 1017] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 1018] <... mmap resumed>) = 0x7f11e81cd000 [pid 309] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1019] <... chdir resumed>) = 0 [pid 1017] <... openat resumed>) = 4 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] unlink("./70/binderfs" [pid 1019] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1017] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... unlink resumed>) = 0 ci2-android-6-1/strace-static-x86_64: Process 1020 attached [pid 1018] 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"..., 524288 [pid 1020] set_robust_list(0x5555866cd6a0, 24 [pid 1019] <... prctl resumed>) = 0 [pid 1018] <... write resumed>) = 524288 [pid 1017] <... ioctl resumed>) = 0 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 1020 [pid 306] getdents64(3 [pid 1020] <... set_robust_list resumed>) = 0 [pid 1018] munmap(0x7f11e81cd000, 138412032 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 1020] rt_sigprocmask(SIG_SETMASK, [] [pid 1018] <... munmap resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 1017] close(3 [pid 1020] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1018] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 306] close(3 [pid 1020] chdir("./72" [pid 1018] <... openat resumed>) = 4 [pid 1017] <... close resumed>) = 0 [pid 1020] <... chdir resumed>) = 0 [pid 1018] ioctl(4, LOOP_SET_FD, 3 [pid 306] <... close resumed>) = 0 [pid 1020] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1018] <... ioctl resumed>) = 0 [pid 1020] <... prctl resumed>) = 0 [pid 1018] close(3 [pid 1020] setpgid(0, 0 [pid 1018] <... close resumed>) = 0 [pid 1020] <... setpgid resumed>) = 0 [pid 1018] close(4 [pid 1020] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 1018] <... close resumed>) = 0 [pid 1020] <... openat resumed>) = 3 [pid 1018] mkdir("./file0", 0777 [pid 1020] write(3, "1000", 4 [pid 1018] <... mkdir resumed>) = 0 [pid 1020] <... write resumed>) = 4 [pid 1018] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1020] close(3 [pid 1017] close(4 [pid 306] rmdir("./70" [pid 1020] <... close resumed>) = 0 [pid 1020] symlink("/dev/binderfs", "./binderfs") = 0 [pid 1020] write(1, "executing program\n", 18 [pid 306] <... rmdir resumed>) = 0 [pid 1020] <... write resumed>) = 18 [pid 1020] memfd_create("syzkaller", 0 [pid 1017] <... close resumed>) = 0 [pid 306] mkdir("./71", 0777 [pid 1020] <... memfd_create resumed>) = 3 [pid 1020] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 1020] 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"..., 524288 [pid 1017] mkdir("./file0", 0777 [pid 306] <... mkdir resumed>) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 1020] <... write resumed>) = 524288 [pid 306] <... openat resumed>) = 3 executing program [pid 1019] setpgid(0, 0 [pid 1017] <... mkdir resumed>) = 0 [pid 306] ioctl(3, LOOP_CLR_FD [pid 1019] <... setpgid resumed>) = 0 [pid 1017] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 306] close(3) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 1020] munmap(0x7f11e81cd000, 138412032 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 1019] 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 1020] <... munmap resumed>) = 0 [pid 1020] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 1019] <... openat resumed>) = 3 [pid 1020] <... openat resumed>) = 4 [pid 1019] write(3, "1000", 4 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 1022 [pid 1020] ioctl(4, LOOP_SET_FD, 3 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 1019] <... write resumed>) = 4 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1020] <... ioctl resumed>) = 0 [pid 1019] close(3 [pid 1020] close(3) = 0 [pid 1020] close(4) = 0 [pid 1020] mkdir("./file0", 0777) = 0 [pid 1020] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue"ci2-android-6-1/strace-static-x86_64: Process 1022 attached [pid 1019] <... close resumed>) = 0 [pid 1022] set_robust_list(0x5555866cd6a0, 24 [pid 1019] symlink("/dev/binderfs", "./binderfs" [pid 1022] <... set_robust_list resumed>) = 0 [pid 1019] <... symlink resumed>) = 0 executing program [pid 1019] write(1, "executing program\n", 18) = 18 [pid 1018] <... mount resumed>) = 0 [pid 1018] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 1018] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 1018] ioctl(4, LOOP_CLR_FD) = 0 [pid 1018] close(4) = 0 [pid 1019] memfd_create("syzkaller", 0 [pid 1018] exit_group(0) = ? [pid 1019] <... memfd_create resumed>) = 3 [pid 1018] +++ exited with 0 +++ [pid 1022] rt_sigprocmask(SIG_SETMASK, [] [pid 1019] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1018, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 1020] <... mount resumed>) = 0 [pid 1020] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 1020] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 1020] ioctl(4, LOOP_CLR_FD) = 0 [pid 1020] close(4) = 0 [pid 1020] exit_group(0) = ? [pid 1020] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1020, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 1019] 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"..., 524288 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 1022] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1019] <... write resumed>) = 524288 [pid 308] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1022] chdir("./71" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 1022] <... chdir resumed>) = 0 [pid 1019] munmap(0x7f11e81cd000, 138412032 [pid 308] <... openat resumed>) = 3 [pid 1022] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] fstat(3 [pid 1022] <... prctl resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(3 [pid 1022] setpgid(0, 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 1022] <... setpgid resumed>) = 0 [pid 308] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... restart_syscall resumed>) = 0 [pid 1022] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./72", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 309] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 1022] <... openat resumed>) = 3 [pid 309] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./72/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1022] write(3, "1000", 4 [pid 1019] <... munmap resumed>) = 0 [pid 309] <... umount2 resumed>) = 0 [pid 309] umount2("./72/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./72/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] umount2("./72/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./72/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4) = 0 [pid 309] rmdir("./72/file0") = 0 [pid 308] <... umount2 resumed>) = 0 [pid 309] umount2("./72/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 1022] <... write resumed>) = 4 [pid 309] newfstatat(AT_FDCWD, "./72/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] unlink("./72/binderfs") = 0 [pid 309] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] close(3) = 0 [pid 309] rmdir("./72") = 0 [pid 309] mkdir("./73", 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=0x5555866cd690) = 1025 [pid 309] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1022] close(3) = 0 [pid 308] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1019] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 1022] symlink("/dev/binderfs", "./binderfs" [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1022] <... symlink resumed>) = 0 [pid 1022] write(1, "executing program\n", 18 [pid 308] newfstatat(AT_FDCWD, "./70/file0" [pid 1022] <... write resumed>) = 18 [pid 1019] <... openat resumed>) = 4 executing program [pid 1022] memfd_create("syzkaller", 0 [pid 1019] ioctl(4, LOOP_SET_FD, 3 [pid 308] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1022] <... memfd_create resumed>) = 3 [pid 308] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1022] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./70/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 1022] 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"..., 524288 [pid 308] <... openat resumed>) = 4 [pid 308] fstat(4 [pid 1022] <... write resumed>) = 524288 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 1019] <... ioctl resumed>) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] close(4) = 0 [pid 1019] close(3 [pid 308] rmdir("./70/file0" [pid 1019] <... close resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 1019] close(4 [pid 308] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1019] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1022] munmap(0x7f11e81cd000, 138412032 [pid 1019] mkdir("./file0", 0777 [pid 308] newfstatat(AT_FDCWD, "./70/binderfs" [pid 1017] <... mount resumed>) = 0 [pid 1019] <... mkdir resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] unlink("./70/binderfs" [pid 1019] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... unlink resumed>) = 0 [pid 308] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] close(3) = 0 [pid 308] rmdir("./70") = 0 [pid 1022] <... munmap resumed>) = 0 [pid 308] mkdir("./71", 0777) = 0 [pid 1022] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 1017] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLYci2-android-6-1/strace-static-x86_64: Process 1025 attached [pid 1025] set_robust_list(0x5555866cd6a0, 24 [pid 308] <... openat resumed>) = 3 [pid 1025] <... set_robust_list resumed>) = 0 [pid 1025] rt_sigprocmask(SIG_SETMASK, [] [pid 1022] <... openat resumed>) = 4 [pid 308] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 1022] ioctl(4, LOOP_SET_FD, 3 [pid 1017] <... openat resumed>) = 3 [pid 308] close(3 [pid 1025] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1025] chdir("./73" [pid 308] <... close resumed>) = 0 [ 37.169630][ T1018] EXT4-fs (loop2): orphan cleanup on readonly fs [ 37.180126][ T1018] EXT4-fs (loop2): 1 truncate cleaned up [ 37.187627][ T1020] EXT4-fs (loop3): orphan cleanup on readonly fs [ 37.196330][ T1017] EXT4-fs (loop4): orphan cleanup on readonly fs [ 37.198265][ T1020] EXT4-fs (loop3): 1 truncate cleaned up [ 37.211445][ T1017] EXT4-fs (loop4): 1 truncate cleaned up [pid 1025] <... chdir resumed>) = 0 [pid 1022] <... ioctl resumed>) = 0 [pid 1017] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 1022] close(3 [pid 1017] <... openat resumed>) = 4 [pid 1025] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 1022] <... close resumed>) = 0 [pid 1017] ioctl(4, LOOP_CLR_FD [pid 1022] close(4 [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 1022] <... close resumed>) = 0 [pid 1017] <... ioctl resumed>) = 0 [pid 1022] mkdir("./file0", 0777 [pid 1017] close(4 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 1027 [pid 1025] <... prctl resumed>) = 0 [pid 1022] <... mkdir resumed>) = 0 [pid 1017] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 1022] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1025] setpgid(0, 0 [pid 1017] exit_group(0) = ? [pid 1017] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1017, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- ci2-android-6-1/strace-static-x86_64: Process 1027 attached [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 1027] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 1027] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1027] chdir("./71") = 0 [pid 1027] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 1027] setpgid(0, 0) = 0 [pid 1027] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... restart_syscall resumed>) = 0 [pid 310] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1027] <... openat resumed>) = 3 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1025] <... setpgid resumed>) = 0 [pid 310] openat(AT_FDCWD, "./70", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 1027] write(3, "1000", 4) = 4 [pid 1027] close(3) = 0 [pid 1027] symlink("/dev/binderfs", "./binderfs") = 0 [pid 1027] write(1, "executing program\n", 18) = 18 [pid 1027] memfd_create("syzkaller", 0) = 3 [pid 1027] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 executing program [pid 1025] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 310] <... openat resumed>) = 3 [pid 1027] 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"..., 524288 [pid 1025] <... openat resumed>) = 3 [pid 310] fstat(3 [pid 1025] write(3, "1000", 4 [pid 310] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 310] getdents64(3 [pid 1025] <... write resumed>) = 4 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 1025] close(3) = 0 [pid 310] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1025] symlink("/dev/binderfs", "./binderfs") = 0 [pid 1027] <... write resumed>) = 524288 [pid 1027] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1027] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 1025] write(1, "executing program\n", 18 [pid 1027] ioctl(4, LOOP_SET_FD, 3 [pid 1025] <... write resumed>) = 18 executing program [pid 1025] memfd_create("syzkaller", 0) = 3 [pid 1027] <... ioctl resumed>) = 0 [pid 1025] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 1022] <... mount resumed>) = 0 [pid 1019] <... mount resumed>) = 0 [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./70/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] openat(AT_FDCWD, "./70/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 310] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] close(4) = 0 [pid 310] rmdir("./70/file0") = 0 [pid 310] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./70/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] unlink("./70/binderfs") = 0 [pid 310] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] close(3) = 0 [pid 310] rmdir("./70") = 0 [pid 310] mkdir("./71", 0777 [pid 1025] <... mmap resumed>) = 0x7f11e81cd000 [pid 310] <... mkdir resumed>) = 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 1025] 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"..., 524288 [pid 310] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 1029 [pid 310] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 1029 attached [pid 1029] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 1029] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1029] chdir("./71") = 0 [pid 1029] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 1029] setpgid(0, 0) = 0 [pid 1029] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 1025] <... write resumed>) = 524288 [pid 1029] write(3, "1000", 4) = 4 [pid 1025] munmap(0x7f11e81cd000, 138412032 [pid 1029] close(3) = 0 [pid 1029] symlink("/dev/binderfs", "./binderfs" [pid 1025] <... munmap resumed>) = 0 [pid 1019] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 1022] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 1029] <... symlink resumed>) = 0 [pid 1027] close(3 [pid 1025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 1019] <... openat resumed>) = 3 [pid 1025] <... openat resumed>) = 4 executing program [pid 1029] write(1, "executing program\n", 18 [pid 1027] <... close resumed>) = 0 [pid 1019] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 1029] <... write resumed>) = 18 [pid 1025] ioctl(4, LOOP_SET_FD, 3 [pid 1022] <... openat resumed>) = 3 [pid 1027] close(4 [pid 1019] <... openat resumed>) = 4 [pid 1029] memfd_create("syzkaller", 0 [pid 1025] <... ioctl resumed>) = 0 [pid 1025] close(3) = 0 [pid 1025] close(4) = 0 [pid 1025] mkdir("./file0", 0777) = 0 [pid 1025] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1022] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 1022] ioctl(4, LOOP_CLR_FD) = 0 [pid 1022] close(4) = 0 [pid 1022] exit_group(0) = ? [pid 1022] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1022, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 1019] ioctl(4, LOOP_CLR_FD [pid 1027] <... close resumed>) = 0 [pid 1019] <... ioctl resumed>) = 0 [pid 1029] <... memfd_create resumed>) = 3 [pid 1027] mkdir("./file0", 0777 [pid 1019] close(4) = 0 [pid 1027] <... mkdir resumed>) = 0 [pid 1029] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 1027] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1019] exit_group(0 [pid 1029] <... mmap resumed>) = 0x7f11e81cd000 [pid 1019] <... exit_group resumed>) = ? [pid 306] <... restart_syscall resumed>) = 0 [pid 1019] +++ exited with 0 +++ [pid 306] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1019, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 306] openat(AT_FDCWD, "./71", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... openat resumed>) = 3 [pid 306] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 [pid 306] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./71/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 37.242483][ T1019] EXT4-fs (loop1): orphan cleanup on readonly fs [ 37.256150][ T1022] EXT4-fs (loop0): orphan cleanup on readonly fs [ 37.264334][ T1019] EXT4-fs (loop1): 1 truncate cleaned up [ 37.272419][ T1022] EXT4-fs (loop0): 1 truncate cleaned up [pid 306] openat(AT_FDCWD, "./71/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] close(4) = 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 306] rmdir("./71/file0" [pid 307] umount2("./68", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./68", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 1029] 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"..., 524288 [pid 306] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./71/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./71/binderfs" [pid 307] <... umount2 resumed>) = 0 [pid 306] <... unlink resumed>) = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./71" [pid 307] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 1029] <... write resumed>) = 524288 [pid 306] mkdir("./72", 0777 [pid 1029] munmap(0x7f11e81cd000, 138412032) = 0 [pid 306] <... mkdir resumed>) = 0 [pid 1029] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 1029] <... openat resumed>) = 4 [pid 306] <... openat resumed>) = 3 [pid 1029] ioctl(4, LOOP_SET_FD, 3 [pid 306] ioctl(3, LOOP_CLR_FD [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1029] <... ioctl resumed>) = 0 [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 1029] close(3 [pid 307] newfstatat(AT_FDCWD, "./68/file0" [pid 306] close(3 [pid 1029] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 1029] close(4 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 1029] <... close resumed>) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./68/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./68/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./68/file0") = 0 [pid 307] umount2("./68/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./68/binderfs" [pid 1029] mkdir("./file0", 0777 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./68/binderfs") = 0 [pid 1029] <... mkdir resumed>) = 0 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 1029] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./68" [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 1032 [pid 307] <... rmdir resumed>) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] mkdir("./69", 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) ci2-android-6-1/strace-static-x86_64: Process 1032 attached [pid 307] close(3 [pid 1032] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 1032] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1032] chdir("./72") = 0 [pid 1032] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 1032] setpgid(0, 0) = 0 [pid 1032] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 1032] write(3, "1000", 4) = 4 [pid 1032] close(3) = 0 [pid 1032] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 1032] write(1, "executing program\n", 18) = 18 [pid 1032] memfd_create("syzkaller", 0) = 3 [pid 1032] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 1032] 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"..., 524288) = 524288 [pid 1032] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1032] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 307] <... close resumed>) = 0 [pid 1032] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 1032] close(3) = 0 [pid 1032] close(4) = 0 [pid 1032] mkdir("./file0", 0777) = 0 [ 37.336147][ T1025] EXT4-fs (loop3): orphan cleanup on readonly fs [ 37.343577][ T1027] EXT4-fs (loop2): orphan cleanup on readonly fs [ 37.361045][ T1029] EXT4-fs (loop4): orphan cleanup on readonly fs [ 37.374928][ T1025] EXT4-fs (loop3): 1 truncate cleaned up [pid 1032] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 307] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555866cd690) = 1035 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1025] <... mount resumed>) = 0 [pid 1025] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 1025] openat(AT_FDCWD, "/dev/loop3", O_RDONLY) = 4 [pid 1025] ioctl(4, LOOP_CLR_FD) = 0 [pid 1025] close(4) = 0 [pid 1025] exit_group(0) = ? [pid 1025] +++ exited with 0 +++ [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1025, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 1027] <... mount resumed>) = 0 [pid 1027] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 1027] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 1027] ioctl(4, LOOP_CLR_FD) = 0 [pid 1027] close(4) = 0 [pid 1027] exit_group(0) = ? [pid 1027] +++ exited with 0 +++ ci2-android-6-1/strace-static-x86_64: Process 1035 attached [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1027, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] <... restart_syscall resumed>) = 0 [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] umount2("./73", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./73", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] umount2("./73/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1035] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 1035] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1035] chdir("./69" [pid 308] <... restart_syscall resumed>) = 0 [pid 308] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./71", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = 0 [pid 309] umount2("./73/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] newfstatat(AT_FDCWD, "./73/file0" [pid 308] newfstatat(AT_FDCWD, "./71/file0" [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 309] umount2("./73/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./73/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] openat(AT_FDCWD, "./71/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [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 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(4 [pid 308] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 309] getdents64(4 [pid 308] getdents64(4 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 309] close(4 [pid 308] close(4 [pid 309] <... close resumed>) = 0 [pid 308] <... close resumed>) = 0 [pid 309] rmdir("./73/file0" [pid 308] rmdir("./71/file0" [pid 1032] <... mount resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 1032] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] umount2("./73/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1032] <... openat resumed>) = 3 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1032] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 309] newfstatat(AT_FDCWD, "./73/binderfs" [pid 308] newfstatat(AT_FDCWD, "./71/binderfs" [pid 1032] <... openat resumed>) = 4 [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 1032] ioctl(4, LOOP_CLR_FD [pid 309] unlink("./73/binderfs" [pid 308] unlink("./71/binderfs" [pid 309] <... unlink resumed>) = 0 [pid 1032] <... ioctl resumed>) = 0 [pid 309] getdents64(3 [pid 308] <... unlink resumed>) = 0 [pid 1032] close(4 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] getdents64(3 [pid 309] close(3 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 1032] <... close resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 308] close(3 [pid 309] rmdir("./73" [pid 308] <... close resumed>) = 0 [pid 1035] <... chdir resumed>) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 1032] exit_group(0 [pid 308] rmdir("./71" [pid 309] mkdir("./74", 0777 [pid 1032] <... exit_group resumed>) = ? [pid 309] <... mkdir resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 1035] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1032] +++ exited with 0 +++ [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 308] mkdir("./72", 0777 [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1032, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 309] <... openat resumed>) = 3 [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 308] <... mkdir resumed>) = 0 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] close(3 [pid 308] <... openat resumed>) = 3 [pid 309] <... close resumed>) = 0 [pid 308] ioctl(3, LOOP_CLR_FD [pid 309] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] <... rt_sigprocmask resumed>, [], 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 1035] <... prctl resumed>) = 0 [pid 1035] setpgid(0, 0) = 0 [pid 1035] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 1036 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1035] <... openat resumed>) = 3 [pid 1035] write(3, "1000", 4) = 4 [pid 1035] close(3 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 1037 [pid 1035] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] [pid 1035] symlink("/dev/binderfs", "./binderfs" [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 1037 attached ci2-android-6-1/strace-static-x86_64: Process 1036 attached [pid 1035] <... symlink resumed>) = 0 [pid 1037] set_robust_list(0x5555866cd6a0, 24 [pid 1036] set_robust_list(0x5555866cd6a0, 24 [pid 1035] write(1, "executing program\n", 18 [pid 1029] <... mount resumed>) = 0 [pid 1037] <... set_robust_list resumed>) = 0 [pid 1036] <... set_robust_list resumed>) = 0 executing program [pid 1029] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 1037] rt_sigprocmask(SIG_SETMASK, [] [pid 1036] rt_sigprocmask(SIG_SETMASK, [] [pid 1035] <... write resumed>) = 18 [pid 1029] <... openat resumed>) = 3 [pid 1037] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1036] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1029] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 1037] chdir("./72" [pid 1036] chdir("./74" [pid 1029] <... openat resumed>) = 4 [pid 1037] <... chdir resumed>) = 0 [pid 1036] <... chdir resumed>) = 0 [pid 1029] ioctl(4, LOOP_CLR_FD [pid 1037] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1036] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1029] <... ioctl resumed>) = 0 [pid 1037] <... prctl resumed>) = 0 [pid 1036] <... prctl resumed>) = 0 [pid 1029] close(4 [pid 1037] setpgid(0, 0 [pid 1036] setpgid(0, 0 [pid 1029] <... close resumed>) = 0 [pid 1037] <... setpgid resumed>) = 0 [pid 1036] <... setpgid resumed>) = 0 [pid 1029] exit_group(0 [pid 1037] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 1036] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 1035] memfd_create("syzkaller", 0 [pid 1029] <... exit_group resumed>) = ? [pid 1037] <... openat resumed>) = 3 [pid 1036] <... openat resumed>) = 3 [pid 1035] <... memfd_create resumed>) = 3 [pid 1037] write(3, "1000", 4 [pid 1036] write(3, "1000", 4 [pid 1035] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 1037] <... write resumed>) = 4 [pid 1036] <... write resumed>) = 4 [pid 1029] +++ exited with 0 +++ [pid 306] <... restart_syscall resumed>) = 0 [pid 1037] close(3 [pid 1036] close(3 [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1029, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 1037] <... close resumed>) = 0 [pid 1036] <... close resumed>) = 0 [pid 1037] symlink("/dev/binderfs", "./binderfs" [pid 1036] symlink("/dev/binderfs", "./binderfs" [pid 1037] <... symlink resumed>) = 0 [pid 1036] <... symlink resumed>) = 0 executing program executing program [pid 306] umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1037] write(1, "executing program\n", 18 [pid 1036] write(1, "executing program\n", 18 [pid 310] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1037] <... write resumed>) = 18 [pid 1036] <... write resumed>) = 18 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1037] memfd_create("syzkaller", 0 [pid 1036] memfd_create("syzkaller", 0 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1037] <... memfd_create resumed>) = 3 [pid 1036] <... memfd_create resumed>) = 3 [pid 306] openat(AT_FDCWD, "./72", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 1037] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 1036] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 310] openat(AT_FDCWD, "./71", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 1037] <... mmap resumed>) = 0x7f11e81cd000 [pid 1036] <... mmap resumed>) = 0x7f11e81cd000 [pid 306] <... openat resumed>) = 3 [pid 1035] 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"..., 524288 [pid 310] <... openat resumed>) = 3 [pid 306] fstat(3 [pid 1037] 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"..., 524288 [pid 310] fstat(3 [pid 1037] <... write resumed>) = 524288 [pid 1036] 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"..., 524288 [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 1037] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1037] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 1037] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 1037] close(3) = 0 [pid 1037] close(4) = 0 [pid 1037] mkdir("./file0", 0777) = 0 [pid 1037] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] getdents64(3 [pid 306] getdents64(3 [pid 1035] <... write resumed>) = 524288 [pid 1035] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1035] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 1035] ioctl(4, LOOP_SET_FD, 3 [pid 1036] <... write resumed>) = 524288 [pid 1036] munmap(0x7f11e81cd000, 138412032 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 1036] <... munmap resumed>) = 0 [pid 1036] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 1036] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 310] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./72/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1036] close(3) = 0 [pid 1036] close(4) = 0 [pid 1036] mkdir("./file0", 0777) = 0 [ 37.386008][ T1027] EXT4-fs (loop2): 1 truncate cleaned up [ 37.393829][ T1032] EXT4-fs (loop0): orphan cleanup on readonly fs [ 37.409315][ T1029] EXT4-fs (loop4): 1 truncate cleaned up [ 37.416378][ T1032] EXT4-fs (loop0): 1 truncate cleaned up [pid 1036] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./72/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... umount2 resumed>) = 0 [pid 310] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 310] newfstatat(AT_FDCWD, "./71/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./72/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 310] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] umount2("./72/file0", 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, "./71/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] openat(AT_FDCWD, "./72/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 310] <... openat resumed>) = 4 [pid 306] <... openat resumed>) = 4 [pid 310] fstat(4 [pid 306] fstat(4 [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 1035] <... ioctl resumed>) = 0 [pid 310] getdents64(4 [pid 1035] close(3 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 306] getdents64(4 [pid 1035] <... close resumed>) = 0 [pid 310] getdents64(4 [pid 1035] close(4 [pid 310] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 1035] <... close resumed>) = 0 [pid 310] close(4 [pid 306] getdents64(4 [pid 1035] mkdir("./file0", 0777 [pid 310] <... close resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] rmdir("./71/file0" [pid 1035] <... mkdir resumed>) = 0 [pid 310] <... rmdir resumed>) = 0 [pid 306] close(4 [pid 310] umount2("./71/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1035] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] <... close resumed>) = 0 [pid 310] newfstatat(AT_FDCWD, "./71/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] rmdir("./72/file0" [pid 310] unlink("./71/binderfs") = 0 [pid 306] <... rmdir resumed>) = 0 [pid 310] getdents64(3 [pid 306] umount2("./72/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1037] <... mount resumed>) = 0 [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [ 37.470155][ T1037] EXT4-fs (loop2): orphan cleanup on readonly fs [ 37.478026][ T1036] EXT4-fs (loop3): orphan cleanup on readonly fs [ 37.499429][ T1037] EXT4-fs (loop2): 1 truncate cleaned up [ 37.510654][ T1036] EXT4-fs (loop3): 1 truncate cleaned up [pid 310] close(3) = 0 [pid 310] rmdir("./71") = 0 [pid 1037] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 1036] <... mount resumed>) = 0 [pid 310] mkdir("./72", 0777 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1037] <... openat resumed>) = 3 [pid 1036] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] newfstatat(AT_FDCWD, "./72/binderfs" [pid 1037] openat(AT_FDCWD, "/dev/loop2", O_RDONLY [pid 1036] <... openat resumed>) = 3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1037] <... openat resumed>) = 4 [pid 1036] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 306] unlink("./72/binderfs" [pid 1037] ioctl(4, LOOP_CLR_FD [pid 1036] <... openat resumed>) = 4 [pid 306] <... unlink resumed>) = 0 [pid 1037] <... ioctl resumed>) = 0 [pid 1036] ioctl(4, LOOP_CLR_FD [pid 306] getdents64(3 [pid 1037] close(4 [pid 1036] <... ioctl resumed>) = 0 [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 1037] <... close resumed>) = 0 [pid 1036] close(4 [pid 306] close(3 [pid 1037] exit_group(0 [pid 1036] <... close resumed>) = 0 [pid 306] <... close resumed>) = 0 [pid 1037] <... exit_group resumed>) = ? [pid 1036] exit_group(0 [pid 310] <... mkdir resumed>) = 0 [pid 306] rmdir("./72" [pid 1037] +++ exited with 0 +++ [pid 1036] <... exit_group resumed>) = ? [pid 310] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 306] <... rmdir resumed>) = 0 [pid 1036] +++ exited with 0 +++ [pid 310] <... openat resumed>) = 3 [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1037, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] mkdir("./73", 0777 [pid 310] ioctl(3, LOOP_CLR_FD [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1036, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] <... mkdir resumed>) = 0 [pid 310] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 310] close(3 [pid 308] umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... openat resumed>) = 3 [pid 310] <... close resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] ioctl(3, LOOP_CLR_FD [pid 310] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] openat(AT_FDCWD, "./72", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 310] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... openat resumed>) = 3 [pid 306] close(3 [pid 310] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] fstat(3 [pid 306] <... close resumed>) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 308] getdents64(3 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 308] umount2("./72/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... clone resumed>, child_tidptr=0x5555866cd690) = 1041 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 1042 [pid 310] rt_sigprocmask(SIG_SETMASK, [] [pid 309] <... restart_syscall resumed>) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 309] umount2("./74", MNT_FORCE|UMOUNT_NOFOLLOW [pid 310] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] openat(AT_FDCWD, "./74", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYci2-android-6-1/strace-static-x86_64: Process 1042 attached ci2-android-6-1/strace-static-x86_64: Process 1041 attached [pid 1035] <... mount resumed>) = 0 [pid 309] <... openat resumed>) = 3 [pid 308] <... umount2 resumed>) = 0 [pid 309] fstat(3 [pid 308] umount2("./72/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 309] getdents64(3 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 1042] set_robust_list(0x5555866cd6a0, 24 [pid 1041] set_robust_list(0x5555866cd6a0, 24 [pid 1035] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 309] umount2("./74/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] newfstatat(AT_FDCWD, "./72/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] umount2("./72/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1042] <... set_robust_list resumed>) = 0 [pid 1041] <... set_robust_list resumed>) = 0 [pid 1035] <... openat resumed>) = 3 [pid 309] <... umount2 resumed>) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1035] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 309] umount2("./74/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 308] openat(AT_FDCWD, "./72/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 1041] rt_sigprocmask(SIG_SETMASK, [] [pid 1035] <... openat resumed>) = 4 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] <... openat resumed>) = 4 [pid 309] newfstatat(AT_FDCWD, "./74/file0" [pid 308] fstat(4 [pid 1041] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1042] rt_sigprocmask(SIG_SETMASK, [] [pid 1035] ioctl(4, LOOP_CLR_FD [pid 309] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] getdents64(4 [pid 1035] <... ioctl resumed>) = 0 [pid 309] umount2("./74/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1041] chdir("./72" [pid 1035] close(4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 1035] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1035] exit_group(0 [pid 309] openat(AT_FDCWD, "./74/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 308] getdents64(4 [pid 1041] <... chdir resumed>) = 0 [pid 1035] <... exit_group resumed>) = ? [pid 309] <... openat resumed>) = 4 [pid 308] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 1035] +++ exited with 0 +++ [pid 1041] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 309] fstat(4 [pid 308] close(4 [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1035, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 1042] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1041] <... prctl resumed>) = 0 [pid 309] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 308] <... close resumed>) = 0 [pid 309] getdents64(4 [pid 308] rmdir("./72/file0" [pid 1042] chdir("./73" [pid 1041] setpgid(0, 0 [pid 307] <... restart_syscall resumed>) = 0 [pid 308] <... rmdir resumed>) = 0 [pid 309] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] umount2("./69", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1042] <... chdir resumed>) = 0 [pid 1041] <... setpgid resumed>) = 0 [pid 309] getdents64(4 [pid 308] umount2("./72/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./69", 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 309] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 308] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 1042] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1041] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 309] close(4 [pid 308] newfstatat(AT_FDCWD, "./72/binderfs" [pid 307] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1042] <... prctl resumed>) = 0 [pid 1041] <... openat resumed>) = 3 [pid 309] <... close resumed>) = 0 [pid 308] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1042] setpgid(0, 0 [pid 1041] write(3, "1000", 4 [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./69/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 309] rmdir("./74/file0" [pid 1041] <... write resumed>) = 4 [pid 308] unlink("./72/binderfs" [pid 307] umount2("./69/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1042] <... setpgid resumed>) = 0 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./69/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 309] <... rmdir resumed>) = 0 [pid 307] rmdir("./69/file0" [pid 1041] close(3 [pid 309] umount2("./74/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1042] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 308] <... unlink resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 1041] <... close resumed>) = 0 [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 308] getdents64(3 [pid 307] umount2("./69/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1042] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1042] write(3, "1000", 4 [pid 1041] symlink("/dev/binderfs", "./binderfs" [pid 309] newfstatat(AT_FDCWD, "./74/binderfs" [pid 308] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] newfstatat(AT_FDCWD, "./69/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] unlink("./69/binderfs" [pid 1042] <... write resumed>) = 4 [pid 1041] <... symlink resumed>) = 0 [pid 309] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 308] close(3 [pid 307] <... unlink resumed>) = 0 [pid 1042] close(3 [pid 1041] write(1, "executing program\n", 18 [pid 309] unlink("./74/binderfs" [pid 308] <... close resumed>) = 0 [pid 307] getdents64(3 [pid 1042] <... close resumed>) = 0 [pid 1041] <... write resumed>) = 18 [pid 307] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 309] <... unlink resumed>) = 0 [pid 308] rmdir("./72" [pid 307] close(3 [pid 1041] memfd_create("syzkaller", 0 [pid 307] <... close resumed>) = 0 [pid 307] rmdir("./69" [pid 309] getdents64(3 [pid 308] <... rmdir resumed>) = 0 [pid 307] <... rmdir resumed>) = 0 [pid 1041] <... memfd_create resumed>) = 3 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 308] mkdir("./73", 0777 [pid 1042] symlink("/dev/binderfs", "./binderfs" [pid 307] mkdir("./70", 0777 [pid 309] close(3 [pid 307] <... mkdir resumed>) = 0 [pid 1041] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] <... mkdir resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY [pid 1042] <... symlink resumed>) = 0 [pid 309] <... close resumed>) = 0 [pid 307] <... openat resumed>) = 3 [pid 1041] <... mmap resumed>) = 0x7f11e81cd000 [pid 1042] write(1, "executing program\n", 18 [pid 309] rmdir("./74" [pid 308] openat(AT_FDCWD, "/dev/loop2", O_RDONLY executing program executing program [pid 307] ioctl(3, LOOP_CLR_FD [pid 1042] <... write resumed>) = 18 [pid 1041] 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"..., 524288 [pid 309] <... rmdir resumed>) = 0 [pid 308] <... openat resumed>) = 3 [pid 307] <... ioctl resumed>) = 0 [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 1042] memfd_create("syzkaller", 0 [pid 309] mkdir("./75", 0777 [pid 308] ioctl(3, LOOP_CLR_FD [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 1043 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 308] <... ioctl resumed>) = -1 ENXIO (No such device or address) ci2-android-6-1/strace-static-x86_64: Process 1043 attached [pid 1043] set_robust_list(0x5555866cd6a0, 24 [pid 309] <... mkdir resumed>) = 0 [pid 308] close(3 [pid 1043] <... set_robust_list resumed>) = 0 [pid 1042] <... memfd_create resumed>) = 3 [pid 1042] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 308] <... close resumed>) = 0 [pid 309] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 1043] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1043] chdir("./70" [pid 308] rt_sigprocmask(SIG_BLOCK, ~[] [pid 1042] <... mmap resumed>) = 0x7f11e81cd000 [pid 308] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 309] <... openat resumed>) = 3 [pid 1043] <... chdir resumed>) = 0 [pid 1043] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 1042] 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"..., 524288 [pid 309] ioctl(3, LOOP_CLR_FD [pid 308] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 1043] <... prctl resumed>) = 0 [pid 1043] setpgid(0, 0) = 0 [pid 1043] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 1043] write(3, "1000", 4 [pid 309] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 1043] <... write resumed>) = 4 [pid 1043] close(3) = 0 [pid 1043] symlink("/dev/binderfs", "./binderfs") = 0 [pid 1043] write(1, "executing program\n", 18) = 18 [pid 1043] memfd_create("syzkaller", 0) = 3 [pid 1043] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 1042] <... write resumed>) = 524288 [pid 309] close(3 [pid 308] <... clone resumed>, child_tidptr=0x5555866cd690) = 1044 [pid 1041] <... write resumed>) = 524288 [pid 309] <... close resumed>) = 0 [pid 308] rt_sigprocmask(SIG_SETMASK, [] executing program [pid 309] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 308] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1042] munmap(0x7f11e81cd000, 138412032 [pid 1041] munmap(0x7f11e81cd000, 138412032 [pid 309] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 1043] 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"..., 524288 [pid 309] <... clone resumed>, child_tidptr=0x5555866cd690) = 1045 [pid 309] rt_sigprocmask(SIG_SETMASK, [] [pid 1041] <... munmap resumed>) = 0 [pid 309] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1041] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 1042] <... munmap resumed>) = 0 [pid 1041] <... openat resumed>) = 4 [pid 1041] ioctl(4, LOOP_SET_FD, 3 [pid 1042] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 1041] <... ioctl resumed>) = 0 [pid 1042] ioctl(4, LOOP_SET_FD, 3 [pid 1041] close(3) = 0 [pid 1041] close(4) = 0 [pid 1041] mkdir("./file0", 0777) = 0 [ 37.518260][ T1035] EXT4-fs (loop1): orphan cleanup on readonly fs [ 37.525384][ T1035] EXT4-fs (loop1): 1 truncate cleaned up ci2-android-6-1/strace-static-x86_64: Process 1044 attached [pid 1042] <... ioctl resumed>) = 0 [pid 1041] mount("/dev/loop4", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1042] close(3) = 0 [pid 1042] close(4) = 0 [pid 1042] mkdir("./file0", 0777 [pid 1043] <... write resumed>) = 524288 ci2-android-6-1/strace-static-x86_64: Process 1045 attached [pid 1045] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 1045] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1045] chdir("./75" [pid 1043] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1045] <... chdir resumed>) = 0 [pid 1045] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 1045] setpgid(0, 0) = 0 [pid 1045] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 1042] <... mkdir resumed>) = 0 [pid 1042] mount("/dev/loop0", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1044] set_robust_list(0x5555866cd6a0, 24 [pid 1043] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 1045] write(3, "1000", 4) = 4 [pid 1043] ioctl(4, LOOP_SET_FD, 3 [pid 1045] close(3 [pid 1043] <... ioctl resumed>) = 0 [pid 1045] <... close resumed>) = 0 [pid 1045] symlink("/dev/binderfs", "./binderfs") = 0 [pid 1044] <... set_robust_list resumed>) = 0 [pid 1043] close(3) = 0 [pid 1043] close(4) = 0 [pid 1043] mkdir("./file0", 0777 [pid 1044] rt_sigprocmask(SIG_SETMASK, [] [pid 1045] write(1, "executing program\n", 18) = 18 [pid 1045] memfd_create("syzkaller", 0 [pid 1044] <... rt_sigprocmask resumed>, NULL, 8) = 0 executing program [pid 1045] <... memfd_create resumed>) = 3 [pid 1045] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 1044] chdir("./73") = 0 [pid 1044] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 1043] <... mkdir resumed>) = 0 [pid 1043] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1045] 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"..., 524288 [pid 1044] setpgid(0, 0) = 0 [pid 1044] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 1044] write(3, "1000", 4) = 4 [pid 1044] close(3) = 0 [pid 1044] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 1044] write(1, "executing program\n", 18) = 18 [pid 1045] <... write resumed>) = 524288 [pid 1045] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1044] memfd_create("syzkaller", 0 [pid 1045] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 1045] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 1045] close(3 [pid 1044] <... memfd_create resumed>) = 3 [pid 1045] <... close resumed>) = 0 [pid 1045] close(4) = 0 [pid 1045] mkdir("./file0", 0777) = 0 [pid 1045] mount("/dev/loop3", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1044] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 1044] 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"..., 524288) = 524288 [pid 1044] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1044] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 1044] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 1044] close(3) = 0 [pid 1044] close(4) = 0 [pid 1044] mkdir("./file0", 0777) = 0 [ 37.597116][ T1041] EXT4-fs (loop4): orphan cleanup on readonly fs [ 37.606948][ T1043] EXT4-fs (loop1): orphan cleanup on readonly fs [ 37.615187][ T1042] EXT4-fs (loop0): orphan cleanup on readonly fs [ 37.627400][ T1043] EXT4-fs (loop1): 1 truncate cleaned up [ 37.637658][ T1045] EXT4-fs (loop3): orphan cleanup on readonly fs [pid 1044] mount("/dev/loop2", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 1043] <... mount resumed>) = 0 [pid 1043] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 1043] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 1043] ioctl(4, LOOP_CLR_FD) = 0 [pid 1043] close(4) = 0 [pid 1043] exit_group(0) = ? [pid 1043] +++ exited with 0 +++ [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1043, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 307] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 1042] <... mount resumed>) = 0 [pid 1042] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 1042] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 4 [pid 1042] ioctl(4, LOOP_CLR_FD) = 0 [pid 1042] close(4) = 0 [pid 1042] exit_group(0) = ? [pid 307] <... restart_syscall resumed>) = 0 [pid 307] umount2("./70", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./70", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1042] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1042, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 307] <... umount2 resumed>) = 0 [pid 307] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] newfstatat(AT_FDCWD, "./70/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 307] umount2("./70/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./70/file0", 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, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 307] getdents64(4, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 307] close(4) = 0 [pid 307] rmdir("./70/file0") = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 306] umount2("./73", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./73", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 307] umount2("./70/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... openat resumed>) = 3 [pid 307] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] fstat(3 [pid 307] newfstatat(AT_FDCWD, "./70/binderfs" [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 307] <... newfstatat resumed>, {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] getdents64(3 [pid 307] unlink("./70/binderfs" [pid 306] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] <... unlink resumed>) = 0 [pid 306] umount2("./73/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 307] close(3) = 0 [pid 307] rmdir("./70") = 0 [pid 307] mkdir("./71", 0777 [pid 306] <... umount2 resumed>) = 0 [pid 306] umount2("./73/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] <... mkdir resumed>) = 0 [pid 307] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 3 [ 37.643967][ T1042] EXT4-fs (loop0): 1 truncate cleaned up [ 37.658103][ T1041] EXT4-fs (loop4): 1 truncate cleaned up [ 37.668299][ T1044] EXT4-fs (loop2): orphan cleanup on readonly fs [ 37.676637][ T1045] EXT4-fs (loop3): 1 truncate cleaned up [ 37.680136][ T326] ================================================================== [ 37.690429][ T326] BUG: KASAN: null-ptr-deref in do_page_cache_ra+0x18f/0x230 [ 37.697879][ T326] Write of size 8 at addr 0000000000000000 by task udevd/326 [ 37.705261][ T326] [ 37.707597][ T326] CPU: 1 PID: 326 Comm: udevd Not tainted syzkaller #0 [ 37.714458][ T326] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 [ 37.724537][ T326] Call Trace: [ 37.727839][ T326] [ 37.730789][ T326] __dump_stack+0x21/0x24 [ 37.735133][ T326] dump_stack_lvl+0x110/0x170 [ 37.739821][ T326] ? __cfi_dump_stack_lvl+0x8/0x8 [ 37.744856][ T326] ? do_page_cache_ra+0x18f/0x230 [ 37.749895][ T326] ? do_page_cache_ra+0x18f/0x230 [ 37.754938][ T326] print_report+0x3d/0x60 [ 37.759315][ T326] kasan_report+0x122/0x150 [ 37.763871][ T326] ? do_page_cache_ra+0x18f/0x230 [ 37.768930][ T326] kasan_check_range+0x249/0x2a0 [ 37.773937][ T326] __kasan_check_write+0x14/0x20 [ 37.778892][ T326] do_page_cache_ra+0x18f/0x230 [ 37.783773][ T326] page_cache_sync_ra+0x32b/0x3d0 [ 37.788834][ T326] filemap_read+0x6b6/0x23c0 [ 37.793571][ T326] ? __cfi_mas_store_prealloc+0x10/0x10 [ 37.799160][ T326] ? __cfi_filemap_read+0x10/0x10 [ 37.804207][ T326] ? __kasan_check_write+0x14/0x20 [ 37.809355][ T326] ? rwsem_read_trylock+0x2af/0x640 [ 37.814577][ T326] ? __fsnotify_parent+0x72a/0x820 [ 37.819705][ T326] ? get_unmapped_area+0x30c/0x370 [ 37.824839][ T326] blkdev_read_iter+0x439/0x580 [ 37.829713][ T326] vfs_read+0x46e/0x930 [ 37.833895][ T326] ? __cfi_vfs_read+0x10/0x10 [ 37.838604][ T326] ? __kasan_check_read+0x11/0x20 [ 37.843675][ T326] ? __fdget_pos+0x1f2/0x380 [ 37.848388][ T326] ksys_read+0x14a/0x260 [ 37.852652][ T326] ? __cfi_ksys_read+0x10/0x10 [ 37.857470][ T326] ? debug_smp_processor_id+0x17/0x20 [ 37.862866][ T326] __x64_sys_read+0x7b/0x90 [ 37.867384][ T326] x64_sys_call+0x2f/0x9a0 [ 37.871822][ T326] do_syscall_64+0x4c/0xa0 [ 37.876252][ T326] ? clear_bhb_loop+0x30/0x80 [ 37.880945][ T326] ? clear_bhb_loop+0x30/0x80 [ 37.885664][ T326] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 37.891593][ T326] RIP: 0033:0x7f528dca7407 [ 37.896043][ T326] 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 [ 37.915666][ T326] RSP: 002b:00007fff411ded80 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 [ 37.924114][ T326] RAX: ffffffffffffffda RBX: 00007f528e366880 RCX: 00007f528dca7407 [ 37.932131][ T326] RDX: 0000000000000200 RSI: 00007f528e348000 RDI: 0000000000000009 [ 37.940126][ T326] RBP: 0000558cc609e790 R08: 0000000000000000 R09: 0000000000000000 [pid 307] ioctl(3, LOOP_CLR_FD) = 0 [pid 307] close(3 [pid 1045] <... mount resumed>) = 0 [pid 1041] <... mount resumed>) = 0 [pid 307] <... close resumed>) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1041] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 306] newfstatat(AT_FDCWD, "./73/file0" [pid 1045] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 1041] <... openat resumed>) = 3 [pid 306] <... newfstatat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 1045] <... openat resumed>) = 3 [pid 1041] openat(AT_FDCWD, "/dev/loop4", O_RDONLY [pid 307] rt_sigprocmask(SIG_BLOCK, ~[] [pid 306] umount2("./73/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 1045] openat(AT_FDCWD, "/dev/loop3", O_RDONLY [pid 1041] <... openat resumed>) = 4 [pid 307] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 306] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 1045] <... openat resumed>) = 4 [pid 1041] ioctl(4, LOOP_CLR_FD [pid 307] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 306] openat(AT_FDCWD, "./73/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 1045] ioctl(4, LOOP_CLR_FD [pid 1041] <... ioctl resumed>) = 0 [pid 306] <... openat resumed>) = 4 [pid 1045] <... ioctl resumed>) = 0 [pid 1041] close(4 [pid 306] fstat(4 [pid 1045] close(4 [pid 1041] <... close resumed>) = 0 [pid 306] <... fstat resumed>, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 1045] <... close resumed>) = 0 [pid 1041] exit_group(0 [pid 307] <... clone resumed>, child_tidptr=0x5555866cd690) = 1051 [pid 306] getdents64(4 [pid 1045] exit_group(0 [pid 1041] <... exit_group resumed>) = ? [pid 307] rt_sigprocmask(SIG_SETMASK, [] [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 2 entries */, 32768) = 48 [pid 1045] <... exit_group resumed>) = ? [pid 1041] +++ exited with 0 +++ [pid 307] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 306] getdents64(4 [pid 1045] +++ exited with 0 +++ [pid 310] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1041, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] <... getdents64 resumed>, 0x5555866d6790 /* 0 entries */, 32768) = 0 [pid 310] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 309] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1045, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 306] close(4 [pid 309] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 306] <... close resumed>) = 0 [pid 306] rmdir("./73/file0") = 0 [pid 306] umount2("./73/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./73/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./73/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 310] <... restart_syscall resumed>) = 0 [pid 309] <... restart_syscall resumed>) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./73"ci2-android-6-1/strace-static-x86_64: Process 1051 attached [pid 310] umount2("./72", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./75", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... rmdir resumed>) = 0 [pid 1051] set_robust_list(0x5555866cd6a0, 24 [pid 310] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 309] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 306] mkdir("./74", 0777 [pid 1051] <... set_robust_list resumed>) = 0 [pid 310] openat(AT_FDCWD, "./72", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 309] openat(AT_FDCWD, "./75", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 306] <... mkdir resumed>) = 0 [pid 1051] rt_sigprocmask(SIG_SETMASK, [] [pid 310] <... openat resumed>) = 3 [pid 309] <... openat resumed>) = 3 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY [pid 1051] <... rt_sigprocmask resumed>, NULL, 8) = 0 [ 37.948111][ T326] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000001f6 [ 37.956103][ T326] R13: 000000000000fe00 R14: 0000558cc609ab48 R15: 00007f528e42b39c [ 37.964272][ T326] [ 37.967302][ T326] ================================================================== [ 37.983116][ T326] Disabling lock debugging due to kernel taint [ 37.990241][ T1044] EXT4-fs (loop2): 1 truncate cleaned up [pid 310] fstat(3 [pid 309] fstat(3 [pid 306] <... openat resumed>) = 3 [pid 1051] chdir("./71" [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 306] ioctl(3, LOOP_CLR_FD [pid 1051] <... chdir resumed>) = 0 [pid 310] getdents64(3 [pid 309] getdents64(3 [pid 306] <... ioctl resumed>) = 0 [pid 1051] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 310] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 309] <... getdents64 resumed>, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 306] close(3 [pid 1051] <... prctl resumed>) = 0 [pid 310] umount2("./72/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 309] umount2("./75/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 306] <... close resumed>) = 0 [pid 1051] setpgid(0, 0 [pid 306] rt_sigprocmask(SIG_BLOCK, ~[] [pid 1051] <... setpgid resumed>) = 0 [pid 306] <... rt_sigprocmask resumed>, [], 8) = 0 [pid 1051] 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 1051] <... openat resumed>) = 3 [pid 1051] write(3, "1000", 4 [pid 306] <... clone resumed>, child_tidptr=0x5555866cd690) = 1052 [pid 1051] <... write resumed>) = 4 [pid 306] rt_sigprocmask(SIG_SETMASK, [] [pid 1051] close(3 [pid 306] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 1051] <... close resumed>) = 0 [pid 1051] symlink("/dev/binderfs", "./binderfs") = 0 [pid 1051] write(1, "executing program\n", 18) = 18 executing program [pid 1051] memfd_create("syzkaller", 0) = 3 [pid 1051] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 1051] 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"..., 524288ci2-android-6-1/strace-static-x86_64: Process 1052 attached [pid 1052] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 1052] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1052] chdir("./74") = 0 [pid 1052] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 1052] setpgid(0, 0) = 0 [pid 1052] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 1052] write(3, "1000", 4) = 4 [pid 1052] close(3) = 0 [pid 1052] symlink("/dev/binderfs", "./binderfs") = 0 [pid 1052] write(1, "executing program\n", 18) = 18 executing program [pid 1052] memfd_create("syzkaller", 0) = 3 [pid 1052] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 1051] <... write resumed>) = 524288 [pid 1051] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1051] openat(AT_FDCWD, "/dev/loop1", O_RDWR [ 37.996203][ T326] BUG: kernel NULL pointer dereference, address: 0000000000000003 [ 38.004031][ T326] #PF: supervisor write access in kernel mode [ 38.010131][ T326] #PF: error_code(0x0002) - not-present page [ 38.016141][ T326] PGD 0 P4D 0 [ 38.019577][ T326] Oops: 0002 [#1] PREEMPT SMP KASAN [ 38.024802][ T326] CPU: 1 PID: 326 Comm: udevd Tainted: G B syzkaller #0 [ 38.033180][ T326] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 [ 38.043320][ T326] RIP: 0010:do_page_cache_ra+0x18f/0x230 [pid 1052] 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"..., 524288) = 524288 [pid 1052] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1052] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 1052] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 1052] ioctl(4, LOOP_CLR_FD) = 0 [pid 1052] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 1052] close(4) = 0 [pid 1052] close(3) = 0 [pid 1052] exit_group(0) = ? [pid 1052] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1052, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...> [pid 1051] <... openat resumed>) = 4 [pid 1051] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 1051] close(3) = 0 [pid 1051] close(4) = 0 [pid 306] <... restart_syscall resumed>) = 0 [pid 1051] mkdir("./file0", 0777) = 0 [pid 1051] mount("/dev/loop1", "./file0", "ext4", MS_RDONLY|MS_NODEV, "debug_want_extra_isize=0x00000000000000ca,noauto_da_alloc,inlinecrypt,,errors=continue" [pid 306] umount2("./74", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./74", 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, 0x5555866ce750 /* 3 entries */, 32768) = 80 [pid 306] umount2("./74/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./74/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./74/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./74") = 0 [pid 306] mkdir("./75", 0777) = 0 [pid 306] openat(AT_FDCWD, "/dev/loop0", O_RDONLY) = 3 [ 38.049004][ T326] Code: fd ff 48 3d 01 f0 ff ff 72 10 e8 dc 1c 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 d1 ba 17 00 41 80 4c 24 03 10 4c 89 e7 48 83 c7 34 be 04 00 00 00 e8 b9 ba [ 38.068734][ T326] RSP: 0018:ffffc90000f77878 EFLAGS: 00010246 [ 38.074854][ T326] RAX: ffff88810fa4bc00 RBX: 000000000000000f RCX: ffff88810fa4bcc0 [ 38.082856][ T326] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 38.090865][ T326] RBP: ffffc90000f778c8 R08: ffffffff87b777e7 R09: 1ffffffff0f6eefc [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=0x5555866cd690) = 1054 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 38.098960][ T326] R10: dffffc0000000000 R11: fffffbfff0f6eefd R12: 0000000000000000 [ 38.106966][ T326] R13: 0000000000000070 R14: 0000000000000000 R15: ffff88810b6ed0d0 [ 38.109075][ T1051] EXT4-fs (loop1): orphan cleanup on readonly fs [ 38.114969][ T326] FS: 00007f528e366880(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 38.130251][ T326] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.136867][ T326] CR2: 0000000000000003 CR3: 0000000123303000 CR4: 00000000003506a0 [pid 1051] <... mount resumed>) = 0 [pid 1051] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 1051] openat(AT_FDCWD, "/dev/loop1", O_RDONLY) = 4 [pid 1051] ioctl(4, LOOP_CLR_FD) = 0 [pid 1051] close(4) = 0 [pid 1051] exit_group(0) = ? [pid 1051] +++ exited with 0 +++ [ 38.144871][ T326] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 38.145238][ T1051] EXT4-fs (loop1): 1 truncate cleaned up [ 38.152872][ T326] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 38.152889][ T326] Call Trace: [ 38.152894][ T326] [ 38.152903][ T326] page_cache_sync_ra+0x32b/0x3d0 [ 38.152935][ T326] filemap_read+0x6b6/0x23c0 [ 38.152955][ T326] ? __cfi_mas_store_prealloc+0x10/0x10 [ 38.152989][ T326] ? __cfi_filemap_read+0x10/0x10 [ 38.153011][ T326] ? __kasan_check_write+0x14/0x20 [ 38.198220][ T326] ? rwsem_read_trylock+0x2af/0x640 [ 38.203471][ T326] ? __fsnotify_parent+0x72a/0x820 [ 38.208633][ T326] ? get_unmapped_area+0x30c/0x370 [ 38.213794][ T326] blkdev_read_iter+0x439/0x580 [ 38.218717][ T326] vfs_read+0x46e/0x930 [ 38.223000][ T326] ? __cfi_vfs_read+0x10/0x10 [ 38.227710][ T326] ? __kasan_check_read+0x11/0x20 [ 38.232794][ T326] ? __fdget_pos+0x1f2/0x380 [ 38.237416][ T326] ksys_read+0x14a/0x260 [ 38.241719][ T326] ? __cfi_ksys_read+0x10/0x10 [pid 1044] <... mount resumed>) = 0 [pid 1044] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 1044] openat(AT_FDCWD, "/dev/loop2", O_RDONLY) = 4 [pid 1044] ioctl(4, LOOP_CLR_FD) = 0 [pid 1044] close(4) = 0 [pid 1044] exit_group(0) = ? [pid 1044] +++ exited with 0 +++ [pid 308] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1044, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 308] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [pid 308] umount2("./73", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 308] openat(AT_FDCWD, "./73", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 308] umount2("./73/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 307] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1051, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 307] umount2("./71", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 307] openat(AT_FDCWD, "./71", 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, 0x5555866ce750 /* 4 entries */, 32768) = 112 [pid 307] umount2("./71/file0", MNT_FORCE|UMOUNT_NOFOLLOWci2-android-6-1/strace-static-x86_64: Process 1054 attached [pid 1054] set_robust_list(0x5555866cd6a0, 24) = 0 [pid 1054] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 1054] chdir("./75") = 0 [pid 1054] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 1054] setpgid(0, 0) = 0 [ 38.246548][ T326] ? debug_smp_processor_id+0x17/0x20 [ 38.251965][ T326] __x64_sys_read+0x7b/0x90 [ 38.256501][ T326] x64_sys_call+0x2f/0x9a0 [ 38.260953][ T326] do_syscall_64+0x4c/0xa0 [ 38.265400][ T326] ? clear_bhb_loop+0x30/0x80 [ 38.270146][ T326] ? clear_bhb_loop+0x30/0x80 [ 38.274860][ T326] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 38.280791][ T326] RIP: 0033:0x7f528dca7407 [pid 1054] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 1054] write(3, "1000", 4) = 4 [pid 1054] close(3) = 0 [pid 1054] symlink("/dev/binderfs", "./binderfs") = 0 [pid 1054] write(1, "executing program\n", 18) = 18 executing program [pid 1054] memfd_create("syzkaller", 0) = 3 [pid 1054] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f11e81cd000 [pid 1054] 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"..., 524288) = 524288 [pid 1054] munmap(0x7f11e81cd000, 138412032) = 0 [pid 1054] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 1054] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 1054] ioctl(4, LOOP_CLR_FD) = 0 [ 38.285238][ T326] 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 [ 38.305048][ T326] RSP: 002b:00007fff411ded80 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 [ 38.313504][ T326] RAX: ffffffffffffffda RBX: 00007f528e366880 RCX: 00007f528dca7407 [ 38.321533][ T326] RDX: 0000000000000200 RSI: 00007f528e348000 RDI: 0000000000000009 [pid 1054] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 1054] close(4) = 0 [pid 1054] close(3) = 0 [pid 1054] exit_group(0) = ? [pid 1054] +++ exited with 0 +++ [pid 306] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1054, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [pid 306] restart_syscall(<... resuming interrupted rt_sigprocmask ...>) = 0 [ 38.329057][ T28] audit: type=1400 audit(1793134529.248:72): avc: denied { read } for pid=84 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 [ 38.329546][ T326] RBP: 0000558cc609e790 R08: 0000000000000000 R09: 0000000000000000 [ 38.329564][ T326] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000001f6 [ 38.329577][ T326] R13: 000000000000fe00 R14: 0000558cc609ab48 R15: 00007f528e42b39c [ 38.329595][ T326] [ 38.329602][ T326] Modules linked in: [pid 306] umount2("./75", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] openat(AT_FDCWD, "./75", 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, 0x5555866ce750 /* 3 entries */, 32768) = 80 [pid 306] umount2("./75/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 306] newfstatat(AT_FDCWD, "./75/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 306] unlink("./75/binderfs") = 0 [pid 306] getdents64(3, 0x5555866ce750 /* 0 entries */, 32768) = 0 [pid 306] close(3) = 0 [pid 306] rmdir("./75") = 0 [pid 306] mkdir("./76", 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=0x5555866cd690) = 1055 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 38.361806][ T28] audit: type=1400 audit(1793134529.248:73): avc: denied { search } for pid=84 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 [ 38.367295][ T326] CR2: 0000000000000003 [ 38.367312][ T326] ---[ end trace 0000000000000000 ]--- [ 38.367321][ T326] RIP: 0010:do_page_cache_ra+0x18f/0x230 [ 38.378116][ T28] audit: type=1400 audit(1793134529.248:74): avc: denied { write } for pid=84 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 [ 38.378341][ T326] Code: fd ff 48 3d 01 f0 ff ff 72 10 e8 dc 1c 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 d1 ba 17 00 41 80 4c 24 03 10 4c 89 e7 48 83 c7 34 be 04 00 00 00 e8 b9 ba [ 38.382246][ T28] audit: type=1400 audit(1793134529.248:75): avc: denied { add_name } for pid=84 comm="syslogd" name="messages" scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 38.403410][ T326] RSP: 0018:ffffc90000f77878 EFLAGS: 00010246 [ 38.403431][ T326] RAX: ffff88810fa4bc00 RBX: 000000000000000f RCX: ffff88810fa4bcc0 [ 38.403445][ T326] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 38.403458][ T326] RBP: ffffc90000f778c8 R08: ffffffff87b777e7 R09: 1ffffffff0f6eefc [ 38.435751][ T28] audit: type=1400 audit(1793134529.258:76): avc: denied { create } for pid=84 comm="syslogd" name="messages" scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 38.439809][ T326] R10: dffffc0000000000 R11: fffffbfff0f6eefd R12: 0000000000000000 [ 38.439827][ T326] R13: 0000000000000070 R14: 0000000000000000 R15: ffff88810b6ed0d0 [ 38.439841][ T326] FS: 00007f528e366880(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 [ 38.439860][ T326] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.439875][ T326] CR2: 0000000000000003 CR3: 0000000123303000 CR4: 00000000003506a0 [ 38.439893][ T326] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 38.439905][ T326] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 38.439919][ T326] Kernel panic - not syncing: Fatal exception [ 38.459742][ T326] Kernel Offset: disabled [ 38.596281][ T326] Rebooting in 86400 seconds..