./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1831713659 <...> [ 101.814105][ T8] cfg80211: failed to load regulatory.db Warning: Permanently added '10.128.0.67' (ED25519) to the list of known hosts. execve("./syz-executor1831713659", ["./syz-executor1831713659"], 0x7ffdbe6cdee0 /* 10 vars */) = 0 brk(NULL) = 0x55556fbaa000 brk(0x55556fbaad00) = 0x55556fbaad00 arch_prctl(ARCH_SET_FS, 0x55556fbaa380) = 0 set_tid_address(0x55556fbaa650) = 5096 set_robust_list(0x55556fbaa660, 24) = 0 rseq(0x55556fbaaca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1831713659", 4096) = 28 getrandom("\x29\xb5\x20\x62\xa1\x5f\x23\x10", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556fbaad00 brk(0x55556fbcbd00) = 0x55556fbcbd00 brk(0x55556fbcc000) = 0x55556fbcc000 mprotect(0x7f84406e4000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55556fbaa650) = 5097 ./strace-static-x86_64: Process 5097 attached [pid 5096] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] set_robust_list(0x55556fbaa660, 24) = 0 ./strace-static-x86_64: Process 5098 attached [pid 5096] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5098 [pid 5098] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5096] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] mkdir("./syzkaller.nDrOUH", 0700 [pid 5098] mkdir("./syzkaller.EiN4fc", 0700 [pid 5097] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5099 attached [pid 5098] <... mkdir resumed>) = 0 [pid 5096] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5099 [pid 5098] chmod("./syzkaller.EiN4fc", 0777 [pid 5099] set_robust_list(0x55556fbaa660, 24 [pid 5097] chmod("./syzkaller.nDrOUH", 0777 [pid 5099] <... set_robust_list resumed>) = 0 [pid 5097] <... chmod resumed>) = 0 [pid 5096] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] mkdir("./syzkaller.lZeHA7", 0700 [pid 5098] <... chmod resumed>) = 0 [pid 5098] chdir("./syzkaller.EiN4fc" [pid 5097] chdir("./syzkaller.nDrOUH" [pid 5098] <... chdir resumed>) = 0 [pid 5097] <... chdir resumed>) = 0 [pid 5098] mkdir("./0", 0777 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5097] mkdir("./0", 0777 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] chmod("./syzkaller.lZeHA7", 0777) = 0 ./strace-static-x86_64: Process 5100 attached [pid 5098] <... openat resumed>) = 3 [pid 5097] <... mkdir resumed>) = 0 [pid 5096] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5100 [pid 5100] set_robust_list(0x55556fbaa660, 24 [pid 5099] chdir("./syzkaller.lZeHA7" [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5096] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... set_robust_list resumed>) = 0 [pid 5099] <... chdir resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 5101 attached [pid 5100] mkdir("./syzkaller.AVWL1P", 0700 [pid 5099] mkdir("./0", 0777 [pid 5098] close(3 [pid 5097] <... openat resumed>) = 3 [pid 5096] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5101 [pid 5101] set_robust_list(0x55556fbaa660, 24 [pid 5098] <... close resumed>) = 0 [pid 5101] <... set_robust_list resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5096] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] mkdir("./syzkaller.ITHuxP", 0700 [pid 5100] chmod("./syzkaller.AVWL1P", 0777 [pid 5099] <... mkdir resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5103 attached ./strace-static-x86_64: Process 5102 attached [pid 5101] <... mkdir resumed>) = 0 [pid 5100] <... chmod resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5102 [pid 5097] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5103] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5102] set_robust_list(0x55556fbaa660, 24 [pid 5103] mkdir("./syzkaller.276Clf", 0700 [pid 5102] <... set_robust_list resumed>) = 0 [pid 5102] chdir("./0") = 0 [pid 5102] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5096] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5103 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] chmod("./syzkaller.ITHuxP", 0777 [pid 5100] chdir("./syzkaller.AVWL1P" [pid 5099] <... openat resumed>) = 3 [pid 5097] close(3 [pid 5103] chmod("./syzkaller.276Clf", 0777 [pid 5102] <... prctl resumed>) = 0 [pid 5101] <... chmod resumed>) = 0 [pid 5100] <... chdir resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] <... close resumed>) = 0 [pid 5103] <... chmod resumed>) = 0 [pid 5102] setpgid(0, 0 [pid 5100] mkdir("./0", 0777 [pid 5099] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] close(3 [pid 5102] <... setpgid resumed>) = 0 [pid 5101] chdir("./syzkaller.ITHuxP" [pid 5100] <... mkdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5103] chdir("./syzkaller.276Clf" [pid 5102] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] <... chdir resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... chdir resumed>) = 0 [pid 5101] mkdir("./0", 0777 [pid 5103] mkdir("./0", 0777 [pid 5101] <... mkdir resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5102] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5104 attached ./strace-static-x86_64: Process 5105 attached [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5102] write(3, "1000", 4 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5104] set_robust_list(0x55556fbaa660, 24 [pid 5105] set_robust_list(0x55556fbaa660, 24 [pid 5103] <... openat resumed>) = 3 [pid 5102] <... write resumed>) = 4 [pid 5101] <... openat resumed>) = 3 [pid 5100] <... openat resumed>) = 3 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5104 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5105 [pid 5102] close(3) = 0 [pid 5102] symlink("/dev/binderfs", "./binderfs" [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5102] <... symlink resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5103] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5101] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5103] close(3 [pid 5100] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5103] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5104] <... set_robust_list resumed>) = 0 [pid 5105] <... set_robust_list resumed>) = 0 [pid 5101] close(3 [pid 5104] chdir("./0" [pid 5105] chdir("./0" [pid 5100] close(3executing program [pid 5104] <... chdir resumed>) = 0 [pid 5105] <... chdir resumed>) = 0 [pid 5102] write(1, "executing program\n", 18 [pid 5100] <... close resumed>) = 0 [pid 5104] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5105] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5102] <... write resumed>) = 18 [pid 5101] <... close resumed>) = 0 [pid 5104] <... prctl resumed>) = 0 [pid 5105] <... prctl resumed>) = 0 [pid 5102] memfd_create("syzkaller", 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5104] setpgid(0, 0 [pid 5105] setpgid(0, 0 [pid 5104] <... setpgid resumed>) = 0 [pid 5105] <... setpgid resumed>) = 0 [pid 5104] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5102] <... memfd_create resumed>) = 3 [pid 5105] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5102] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5106 [pid 5105] write(3, "1000", 4 [pid 5102] <... mmap resumed>) = 0x7f8438200000 ./strace-static-x86_64: Process 5106 attached [pid 5104] <... openat resumed>) = 3 [pid 5105] <... write resumed>) = 4 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5107 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5108 ./strace-static-x86_64: Process 5107 attached [pid 5107] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5107] chdir("./0") = 0 [pid 5107] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5107] setpgid(0, 0./strace-static-x86_64: Process 5108 attached ) = 0 [pid 5106] set_robust_list(0x55556fbaa660, 24 [pid 5104] write(3, "1000", 4 [pid 5105] close(3 [pid 5102] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5108] set_robust_list(0x55556fbaa660, 24 [pid 5107] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5106] <... set_robust_list resumed>) = 0 [pid 5104] <... write resumed>) = 4 [pid 5105] <... close resumed>) = 0 [pid 5108] <... set_robust_list resumed>) = 0 [pid 5105] symlink("/dev/binderfs", "./binderfs" [pid 5104] close(3 [pid 5107] <... openat resumed>) = 3 [pid 5105] <... symlink resumed>) = 0 [pid 5104] <... close resumed>) = 0 [pid 5108] chdir("./0" [pid 5107] write(3, "1000", 4 [pid 5106] chdir("./0" [pid 5104] symlink("/dev/binderfs", "./binderfs" executing program [pid 5105] write(1, "executing program\n", 18 [pid 5108] <... chdir resumed>) = 0 [pid 5107] <... write resumed>) = 4 [pid 5107] close(3) = 0 [pid 5104] <... symlink resumed>) = 0 [pid 5108] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5107] symlink("/dev/binderfs", "./binderfs" [pid 5106] <... chdir resumed>) = 0 [pid 5104] write(1, "executing program\n", 18 [pid 5105] <... write resumed>) = 18 [pid 5108] <... prctl resumed>) = 0 executing program [pid 5107] <... symlink resumed>) = 0 [pid 5106] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5104] <... write resumed>) = 18 [pid 5105] memfd_create("syzkaller", 0 [pid 5104] memfd_create("syzkaller", 0executing program [pid 5108] setpgid(0, 0 [pid 5107] write(1, "executing program\n", 18 [pid 5106] <... prctl resumed>) = 0 [pid 5104] <... memfd_create resumed>) = 3 [pid 5105] <... memfd_create resumed>) = 3 [pid 5108] <... setpgid resumed>) = 0 [pid 5107] <... write resumed>) = 18 [pid 5106] setpgid(0, 0 [pid 5104] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5105] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5108] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5107] memfd_create("syzkaller", 0 [pid 5104] <... mmap resumed>) = 0x7f8438200000 [pid 5107] <... memfd_create resumed>) = 3 [pid 5106] <... setpgid resumed>) = 0 [pid 5105] <... mmap resumed>) = 0x7f8438200000 [pid 5102] <... write resumed>) = 524288 [pid 5107] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5102] munmap(0x7f8438200000, 138412032 [pid 5107] <... mmap resumed>) = 0x7f8438200000 [pid 5107] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5105] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5108] <... openat resumed>) = 3 [pid 5106] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5102] <... munmap resumed>) = 0 [pid 5106] <... openat resumed>) = 3 [pid 5108] write(3, "1000", 4 [pid 5104] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5102] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5108] <... write resumed>) = 4 [pid 5108] close(3 [pid 5102] <... openat resumed>) = 4 [pid 5108] <... close resumed>) = 0 [pid 5102] ioctl(4, LOOP_SET_FD, 3 [pid 5108] symlink("/dev/binderfs", "./binderfs" [pid 5106] write(3, "1000", 4 [pid 5105] <... write resumed>) = 524288 [pid 5104] <... write resumed>) = 524288 [pid 5108] <... symlink resumed>) = 0 [pid 5106] <... write resumed>) = 4 [pid 5108] write(1, "executing program\n", 18 [pid 5106] close(3 [pid 5107] <... write resumed>) = 524288 [pid 5107] munmap(0x7f8438200000, 138412032executing program [pid 5102] <... ioctl resumed>) = 0 [pid 5108] <... write resumed>) = 18 [pid 5106] <... close resumed>) = 0 [pid 5104] munmap(0x7f8438200000, 138412032 [pid 5105] munmap(0x7f8438200000, 138412032 [pid 5102] close(3 [pid 5108] memfd_create("syzkaller", 0 [pid 5107] <... munmap resumed>) = 0 [pid 5106] symlink("/dev/binderfs", "./binderfs" [pid 5105] <... munmap resumed>) = 0 [pid 5102] <... close resumed>) = 0 [pid 5102] close(4) = 0 [pid 5104] <... munmap resumed>) = 0 [pid 5102] mkdir("./file1", 0777 [pid 5108] <... memfd_create resumed>) = 3 [pid 5107] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5106] <... symlink resumed>) = 0 [pid 5104] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5105] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5102] <... mkdir resumed>) = 0 executing program [pid 5108] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5107] <... openat resumed>) = 4 [pid 5106] write(1, "executing program\n", 18 [pid 5104] <... openat resumed>) = 4 [pid 5105] <... openat resumed>) = 4 [pid 5108] <... mmap resumed>) = 0x7f8438200000 [pid 5107] ioctl(4, LOOP_SET_FD, 3 [pid 5106] <... write resumed>) = 18 [pid 5104] ioctl(4, LOOP_SET_FD, 3 [pid 5105] ioctl(4, LOOP_SET_FD, 3 [ 107.576072][ T5102] loop1: detected capacity change from 0 to 1024 [pid 5106] memfd_create("syzkaller", 0 [pid 5102] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5108] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5106] <... memfd_create resumed>) = 3 [pid 5106] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5106] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5107] <... ioctl resumed>) = 0 [pid 5107] close(3) = 0 [ 107.618630][ T5102] ======================================================= [ 107.618630][ T5102] WARNING: The mand mount option has been deprecated and [ 107.618630][ T5102] and is ignored by this kernel. Remove the mand [ 107.618630][ T5102] option from the mount to silence this warning. [ 107.618630][ T5102] ======================================================= [ 107.656569][ T5107] loop4: detected capacity change from 0 to 1024 [pid 5107] close(4) = 0 [pid 5107] mkdir("./file1", 0777 [pid 5104] <... ioctl resumed>) = 0 [pid 5107] <... mkdir resumed>) = 0 [pid 5107] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5105] <... ioctl resumed>) = 0 [pid 5108] <... write resumed>) = 524288 [pid 5104] close(3 [pid 5105] close(3) = 0 [pid 5105] close(4) = 0 [pid 5105] mkdir("./file1", 0777) = 0 [pid 5104] <... close resumed>) = 0 [pid 5105] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5104] close(4) = 0 [ 107.663503][ T5104] loop2: detected capacity change from 0 to 1024 [ 107.670862][ T5105] loop0: detected capacity change from 0 to 1024 [pid 5104] mkdir("./file1", 0777 [pid 5108] munmap(0x7f8438200000, 138412032 [pid 5106] <... write resumed>) = 524288 [pid 5104] <... mkdir resumed>) = 0 [pid 5104] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5106] munmap(0x7f8438200000, 138412032 [pid 5108] <... munmap resumed>) = 0 [pid 5106] <... munmap resumed>) = 0 [pid 5108] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5106] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5108] <... openat resumed>) = 4 [pid 5106] <... openat resumed>) = 4 [pid 5108] ioctl(4, LOOP_SET_FD, 3 [pid 5106] ioctl(4, LOOP_SET_FD, 3 [pid 5107] <... mount resumed>) = 0 [pid 5105] <... mount resumed>) = 0 [pid 5102] <... mount resumed>) = 0 [pid 5105] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5102] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5105] <... openat resumed>) = 3 [pid 5102] <... openat resumed>) = 3 [pid 5104] <... mount resumed>) = 0 [pid 5105] chdir("./file1" [pid 5102] chdir("./file1" [pid 5105] <... chdir resumed>) = 0 [pid 5102] <... chdir resumed>) = 0 [pid 5102] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5108] <... ioctl resumed>) = 0 [pid 5107] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5106] <... ioctl resumed>) = 0 [pid 5104] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5105] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5102] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5106] close(3 [pid 5108] close(3 [pid 5107] <... openat resumed>) = 3 [pid 5106] <... close resumed>) = 0 [pid 5108] <... close resumed>) = 0 [pid 5106] close(4 [pid 5108] close(4 [pid 5107] chdir("./file1" [pid 5104] <... openat resumed>) = 3 [pid 5105] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5102] truncate("./file1", 0 [pid 5106] <... close resumed>) = 0 [pid 5108] <... close resumed>) = 0 [pid 5107] <... chdir resumed>) = 0 [pid 5106] mkdir("./file1", 0777 [pid 5104] chdir("./file1" [pid 5105] truncate("./file1", 0 [pid 5108] mkdir("./file1", 0777 [pid 5107] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5106] <... mkdir resumed>) = 0 [pid 5104] <... chdir resumed>) = 0 [pid 5108] <... mkdir resumed>) = 0 [pid 5107] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5104] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5108] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5107] truncate("./file1", 0 [pid 5106] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5104] truncate("./file1", 0 [ 107.752724][ T5106] loop5: detected capacity change from 0 to 1024 [ 107.761033][ T5108] loop3: detected capacity change from 0 to 1024 [pid 5106] <... mount resumed>) = 0 [pid 5104] <... truncate resumed>) = 0 [pid 5105] <... truncate resumed>) = 0 [pid 5108] <... mount resumed>) = 0 [pid 5106] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5104] memfd_create("syzkaller", 0 [pid 5105] memfd_create("syzkaller", 0 [pid 5102] <... truncate resumed>) = 0 [pid 5108] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5107] <... truncate resumed>) = 0 [pid 5106] <... openat resumed>) = 3 [pid 5104] <... memfd_create resumed>) = 4 [pid 5108] <... openat resumed>) = 3 [pid 5107] memfd_create("syzkaller", 0 [pid 5106] chdir("./file1" [pid 5104] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5105] <... memfd_create resumed>) = 4 [pid 5102] memfd_create("syzkaller", 0 [pid 5108] chdir("./file1" [pid 5107] <... memfd_create resumed>) = 4 [pid 5106] <... chdir resumed>) = 0 [pid 5104] <... mmap resumed>) = 0x7f8438200000 [pid 5105] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5108] <... chdir resumed>) = 0 [pid 5106] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5102] <... memfd_create resumed>) = 4 [pid 5105] <... mmap resumed>) = 0x7f8438200000 [pid 5108] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5107] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5106] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5102] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5107] <... mmap resumed>) = 0x7f8438200000 [pid 5106] truncate("./file1", 0 [pid 5108] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5108] truncate("./file1", 0 [pid 5102] <... mmap resumed>) = 0x7f8438200000 [pid 5107] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5106] <... truncate resumed>) = 0 [pid 5105] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5106] memfd_create("syzkaller", 0) = 4 [pid 5106] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5104] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5106] <... mmap resumed>) = 0x7f8438200000 [pid 5102] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5108] <... truncate resumed>) = 0 [pid 5108] memfd_create("syzkaller", 0 [pid 5106] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5108] <... memfd_create resumed>) = 4 [pid 5108] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5108] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5106] <... write resumed>) = 524288 [pid 5107] <... write resumed>) = 524288 [pid 5107] munmap(0x7f8438200000, 138412032) = 0 [pid 5105] <... write resumed>) = 524288 [pid 5107] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5107] close(4 [pid 5104] <... write resumed>) = 524288 [pid 5105] munmap(0x7f8438200000, 138412032 [pid 5102] <... write resumed>) = 524288 [pid 5104] munmap(0x7f8438200000, 138412032 [pid 5105] <... munmap resumed>) = 0 [pid 5106] munmap(0x7f8438200000, 138412032 [pid 5104] <... munmap resumed>) = 0 [pid 5105] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5102] munmap(0x7f8438200000, 138412032 [pid 5106] <... munmap resumed>) = 0 [pid 5104] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5105] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5102] <... munmap resumed>) = 0 [pid 5104] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5105] close(4 [pid 5107] <... close resumed>) = 0 [pid 5106] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5104] close(4 [pid 5107] exit_group(0 [pid 5106] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5106] close(4 [pid 5104] <... close resumed>) = 0 [pid 5102] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5108] <... write resumed>) = 524288 [pid 5107] <... exit_group resumed>) = ? [pid 5108] munmap(0x7f8438200000, 138412032 [pid 5105] <... close resumed>) = 0 [pid 5102] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5108] <... munmap resumed>) = 0 [pid 5102] close(4 [pid 5108] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5107] +++ exited with 0 +++ [pid 5102] <... close resumed>) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5107, si_uid=0, si_status=0, si_utime=0, si_stime=10 /* 0.10 s */} --- [pid 5108] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5105] exit_group(0 [pid 5101] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5108] close(4) = 0 [pid 5106] <... close resumed>) = 0 [pid 5104] exit_group(0 [pid 5105] <... exit_group resumed>) = ? [pid 5101] <... openat resumed>) = 3 [pid 5104] <... exit_group resumed>) = ? [pid 5102] exit_group(0 [pid 5106] exit_group(0) = ? [pid 5106] +++ exited with 0 +++ [pid 5105] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5106, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5105, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5103] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5101] newfstatat(3, "", [pid 5102] <... exit_group resumed>) = ? [pid 5103] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5102] +++ exited with 0 +++ [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5102, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5104] +++ exited with 0 +++ [pid 5103] getdents64(3, [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] getdents64(3, [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5104, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5099] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5098] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5099] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./0/binderfs" [pid 5099] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] newfstatat(3, "", [pid 5097] newfstatat(3, "", [pid 5108] exit_group(0 [pid 5103] unlink("./0/binderfs" [pid 5108] <... exit_group resumed>) = ? [pid 5103] <... unlink resumed>) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5108] +++ exited with 0 +++ [pid 5103] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... openat resumed>) = 3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5108, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5101] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(3, "", [pid 5098] getdents64(3, [pid 5097] getdents64(3, [pid 5100] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(3, [pid 5100] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... openat resumed>) = 3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] getdents64(3, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5097] unlink("./0/binderfs" [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./0/binderfs" [pid 5097] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] unlink("./0/binderfs" [pid 5101] <... umount2 resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5099] <... unlink resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] unlink("./0/binderfs") = 0 [pid 5100] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./0/file1", [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./0/file1", [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5103] <... openat resumed>) = 4 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] newfstatat(4, "", [pid 5100] <... umount2 resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./0/file1", [pid 5100] newfstatat(AT_FDCWD, "./0/file1", [pid 5099] newfstatat(AT_FDCWD, "./0/file1", [pid 5103] getdents64(4, [pid 5101] newfstatat(4, "", [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] getdents64(4, [pid 5099] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... openat resumed>) = 4 [pid 5100] <... openat resumed>) = 4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] getdents64(4, [pid 5097] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] newfstatat(4, "", [pid 5099] newfstatat(4, "", [pid 5103] getdents64(4, [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5100] getdents64(4, [pid 5099] getdents64(4, [pid 5097] newfstatat(4, "", [pid 5103] close(4 [pid 5101] <... close resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(4, [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] getdents64(4, [pid 5100] close(4 [pid 5099] close(4 [pid 5103] <... close resumed>) = 0 [pid 5101] rmdir("./0/file1" [pid 5100] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] rmdir("./0/file1") = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] getdents64(3, [pid 5098] newfstatat(AT_FDCWD, "./0/file1", [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] rmdir("./0/file1" [pid 5099] rmdir("./0/file1" [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] close(3 [pid 5098] umount2("./0/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] rmdir("./0" [pid 5098] openat(AT_FDCWD, "./0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... rmdir resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5097] getdents64(4, [pid 5100] getdents64(3, [pid 5099] getdents64(3, [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] mkdir("./1", 0777 [pid 5101] getdents64(3, [pid 5100] close(3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] newfstatat(4, "", [pid 5097] close(4 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] close(3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... close resumed>) = 0 [pid 5101] close(3 [pid 5099] <... close resumed>) = 0 [pid 5098] getdents64(4, [pid 5097] rmdir("./0/file1" [pid 5101] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] rmdir("./0" [pid 5100] rmdir("./0" [pid 5099] rmdir("./0" [pid 5098] getdents64(4, [pid 5097] <... rmdir resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... rmdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] getdents64(3, [pid 5103] <... openat resumed>) = 3 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] close(4 [pid 5100] <... rmdir resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] mkdir("./1", 0777 [pid 5098] <... close resumed>) = 0 [pid 5097] close(3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5101] mkdir("./1", 0777 [pid 5098] rmdir("./0/file1" [pid 5101] <... mkdir resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5100] mkdir("./1", 0777 [pid 5099] <... mkdir resumed>) = 0 [pid 5097] rmdir("./0" [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... mkdir resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5097] <... rmdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] mkdir("./1", 0777 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5098] getdents64(3, [pid 5099] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5098] close(3 [pid 5097] <... openat resumed>) = 3 [pid 5098] <... close resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5098] rmdir("./0") = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5097] close(3 [pid 5098] mkdir("./1", 0777 [pid 5097] <... close resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5112 attached [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5112 [pid 5112] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5112] chdir("./1") = 0 [pid 5112] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... ioctl resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5112] <... prctl resumed>) = 0 [pid 5112] setpgid(0, 0) = 0 [pid 5112] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5112] write(3, "1000", 4) = 4 [pid 5112] close(3) = 0 [pid 5112] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5112] write(1, "executing program\n", 18) = 18 [pid 5112] memfd_create("syzkaller", 0) = 3 [pid 5112] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] close(3 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5101] close(3 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5112] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] <... close resumed>) = 0 [pid 5099] close(3 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] close(3 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5113 [pid 5100] <... close resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5113 attached [pid 5113] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5113] chdir("./1" [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5114 [pid 5113] <... chdir resumed>) = 0 [pid 5113] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 5114 attached ) = 0 [pid 5112] <... write resumed>) = 524288 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5115 ./strace-static-x86_64: Process 5115 attached [pid 5114] set_robust_list(0x55556fbaa660, 24 [pid 5113] setpgid(0, 0 [pid 5112] munmap(0x7f8438200000, 138412032 [pid 5098] close(3 [pid 5115] set_robust_list(0x55556fbaa660, 24 [pid 5114] <... set_robust_list resumed>) = 0 [pid 5113] <... setpgid resumed>) = 0 [pid 5112] <... munmap resumed>) = 0 [pid 5115] <... set_robust_list resumed>) = 0 [pid 5114] chdir("./1" [pid 5113] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5112] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5117 [pid 5098] <... close resumed>) = 0 ./strace-static-x86_64: Process 5117 attached [pid 5115] chdir("./1" [pid 5114] <... chdir resumed>) = 0 [pid 5113] <... openat resumed>) = 3 [pid 5112] <... openat resumed>) = 4 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5117] set_robust_list(0x55556fbaa660, 24 [pid 5115] <... chdir resumed>) = 0 [pid 5114] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5113] write(3, "1000", 4 [pid 5112] ioctl(4, LOOP_SET_FD, 3 [pid 5117] <... set_robust_list resumed>) = 0 [pid 5115] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5114] <... prctl resumed>) = 0 [pid 5113] <... write resumed>) = 4 [pid 5117] chdir("./1" [pid 5115] <... prctl resumed>) = 0 [pid 5117] <... chdir resumed>) = 0 [pid 5115] setpgid(0, 0 [pid 5114] setpgid(0, 0 [pid 5113] close(3 [pid 5117] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5115] <... setpgid resumed>) = 0 [pid 5114] <... setpgid resumed>) = 0 [pid 5113] <... close resumed>) = 0 [pid 5117] <... prctl resumed>) = 0 [pid 5115] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5117] setpgid(0, 0 [pid 5115] <... openat resumed>) = 3 [pid 5114] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5113] symlink("/dev/binderfs", "./binderfs" [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5118 [pid 5117] <... setpgid resumed>) = 0 [pid 5115] write(3, "1000", 4 [pid 5113] <... symlink resumed>) = 0 ./strace-static-x86_64: Process 5118 attached [pid 5117] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXECexecuting program [pid 5115] <... write resumed>) = 4 [pid 5113] write(1, "executing program\n", 18 [pid 5118] set_robust_list(0x55556fbaa660, 24 [pid 5117] <... openat resumed>) = 3 [pid 5115] close(3 [pid 5114] <... openat resumed>) = 3 [pid 5113] <... write resumed>) = 18 [pid 5118] <... set_robust_list resumed>) = 0 [pid 5117] write(3, "1000", 4 [pid 5115] <... close resumed>) = 0 [pid 5113] memfd_create("syzkaller", 0 [pid 5118] chdir("./1" [pid 5117] <... write resumed>) = 4 [pid 5115] symlink("/dev/binderfs", "./binderfs" [pid 5114] write(3, "1000", 4 [pid 5113] <... memfd_create resumed>) = 3 [pid 5118] <... chdir resumed>) = 0 [pid 5117] close(3 [pid 5115] <... symlink resumed>) = 0 [pid 5114] <... write resumed>) = 4 [pid 5113] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 executing program [pid 5118] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5117] <... close resumed>) = 0 [pid 5115] write(1, "executing program\n", 18 [pid 5114] close(3 [pid 5113] <... mmap resumed>) = 0x7f8438200000 [pid 5112] <... ioctl resumed>) = 0 [pid 5118] <... prctl resumed>) = 0 [pid 5117] symlink("/dev/binderfs", "./binderfs" [pid 5114] <... close resumed>) = 0 [pid 5113] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5118] setpgid(0, 0 [pid 5117] <... symlink resumed>) = 0 [pid 5115] <... write resumed>) = 18 [pid 5112] close(3executing program [pid 5118] <... setpgid resumed>) = 0 [pid 5117] write(1, "executing program\n", 18 [pid 5115] memfd_create("syzkaller", 0 [pid 5114] symlink("/dev/binderfs", "./binderfs" [pid 5112] <... close resumed>) = 0 [pid 5118] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5117] <... write resumed>) = 18 [pid 5115] <... memfd_create resumed>) = 3 [pid 5114] <... symlink resumed>) = 0 [pid 5112] close(4 [pid 5118] <... openat resumed>) = 3 [pid 5117] memfd_create("syzkaller", 0 [pid 5115] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program [pid 5114] write(1, "executing program\n", 18 [pid 5112] <... close resumed>) = 0 [ 108.329229][ T5112] loop0: detected capacity change from 0 to 1024 [pid 5118] write(3, "1000", 4 [pid 5117] <... memfd_create resumed>) = 3 [pid 5115] <... mmap resumed>) = 0x7f8438200000 [pid 5114] <... write resumed>) = 18 [pid 5112] mkdir("./file1", 0777 [pid 5118] <... write resumed>) = 4 [pid 5117] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5114] memfd_create("syzkaller", 0 [pid 5112] <... mkdir resumed>) = 0 [pid 5118] close(3 [pid 5117] <... mmap resumed>) = 0x7f8438200000 [pid 5114] <... memfd_create resumed>) = 3 [pid 5112] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5118] <... close resumed>) = 0 [pid 5114] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5118] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5115] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5114] <... mmap resumed>) = 0x7f8438200000 executing program [pid 5118] write(1, "executing program\n", 18) = 18 [pid 5118] memfd_create("syzkaller", 0 [pid 5117] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5114] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5113] <... write resumed>) = 524288 [pid 5118] <... memfd_create resumed>) = 3 [pid 5118] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5118] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5117] <... write resumed>) = 524288 [pid 5114] <... write resumed>) = 524288 [pid 5112] <... mount resumed>) = 0 [pid 5112] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5113] munmap(0x7f8438200000, 138412032 [pid 5112] chdir("./file1") = 0 [pid 5112] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5113] <... munmap resumed>) = 0 [pid 5114] munmap(0x7f8438200000, 138412032 [pid 5115] <... write resumed>) = 524288 [pid 5114] <... munmap resumed>) = 0 [pid 5112] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5114] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5115] munmap(0x7f8438200000, 138412032 [pid 5114] <... openat resumed>) = 4 [pid 5113] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5112] truncate("./file1", 0 [pid 5113] <... openat resumed>) = 4 [pid 5114] ioctl(4, LOOP_SET_FD, 3 [pid 5113] ioctl(4, LOOP_SET_FD, 3 [pid 5115] <... munmap resumed>) = 0 [pid 5112] <... truncate resumed>) = 0 [pid 5112] memfd_create("syzkaller", 0 [pid 5113] <... ioctl resumed>) = 0 [pid 5112] <... memfd_create resumed>) = 4 [pid 5118] <... write resumed>) = 524288 [pid 5115] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5112] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5117] munmap(0x7f8438200000, 138412032 [pid 5115] <... openat resumed>) = 4 [pid 5112] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5117] <... munmap resumed>) = 0 [pid 5115] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5117] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5118] munmap(0x7f8438200000, 138412032) = 0 [pid 5118] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 108.466919][ T5114] loop4: detected capacity change from 0 to 1024 [ 108.474152][ T5113] loop5: detected capacity change from 0 to 1024 [ 108.504438][ T5115] loop2: detected capacity change from 0 to 1024 [pid 5118] ioctl(4, LOOP_SET_FD, 3 [pid 5113] close(3 [pid 5114] <... ioctl resumed>) = 0 [pid 5114] close(3) = 0 [pid 5117] ioctl(4, LOOP_SET_FD, 3 [pid 5115] close(3 [pid 5114] close(4 [pid 5113] <... close resumed>) = 0 [pid 5115] <... close resumed>) = 0 [pid 5114] <... close resumed>) = 0 [pid 5115] close(4 [pid 5114] mkdir("./file1", 0777 [pid 5115] <... close resumed>) = 0 [pid 5115] mkdir("./file1", 0777) = 0 [pid 5114] <... mkdir resumed>) = 0 [pid 5113] close(4) = 0 [pid 5113] mkdir("./file1", 0777) = 0 [pid 5112] <... write resumed>) = 524288 [pid 5115] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5114] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5113] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5118] <... ioctl resumed>) = 0 [pid 5117] <... ioctl resumed>) = 0 [pid 5112] munmap(0x7f8438200000, 138412032 [pid 5118] close(3 [pid 5112] <... munmap resumed>) = 0 [pid 5118] <... close resumed>) = 0 [pid 5118] close(4) = 0 [pid 5117] close(3 [pid 5112] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5118] mkdir("./file1", 0777 [pid 5117] <... close resumed>) = 0 [pid 5115] <... mount resumed>) = 0 [pid 5112] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5118] <... mkdir resumed>) = 0 [pid 5117] close(4 [pid 5115] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5112] close(4 [pid 5117] <... close resumed>) = 0 [pid 5115] <... openat resumed>) = 3 [pid 5112] <... close resumed>) = 0 [pid 5118] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5117] mkdir("./file1", 0777 [pid 5115] chdir("./file1" [pid 5117] <... mkdir resumed>) = 0 [pid 5115] <... chdir resumed>) = 0 [ 108.533624][ T5118] loop1: detected capacity change from 0 to 1024 [ 108.547317][ T5117] loop3: detected capacity change from 0 to 1024 [pid 5117] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5115] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5115] truncate("./file1", 0 [pid 5113] <... mount resumed>) = 0 [pid 5113] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5115] <... truncate resumed>) = 0 [pid 5113] chdir("./file1" [pid 5115] memfd_create("syzkaller", 0) = 4 [pid 5115] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5115] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5113] <... chdir resumed>) = 0 [pid 5112] exit_group(0 [pid 5114] <... mount resumed>) = 0 [pid 5113] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5114] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5113] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5114] chdir("./file1" [pid 5113] truncate("./file1", 0 [pid 5112] <... exit_group resumed>) = ? [pid 5114] <... chdir resumed>) = 0 [pid 5112] +++ exited with 0 +++ [pid 5118] <... mount resumed>) = 0 [pid 5117] <... mount resumed>) = 0 [pid 5114] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5112, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5118] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5117] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5114] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5113] <... truncate resumed>) = 0 [pid 5118] <... openat resumed>) = 3 [pid 5117] <... openat resumed>) = 3 [pid 5114] truncate("./file1", 0 [pid 5113] memfd_create("syzkaller", 0 [pid 5118] chdir("./file1" [pid 5117] chdir("./file1" [pid 5113] <... memfd_create resumed>) = 4 [pid 5118] <... chdir resumed>) = 0 [pid 5117] <... chdir resumed>) = 0 [pid 5113] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5118] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5117] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5113] <... mmap resumed>) = 0x7f8438200000 [pid 5097] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5117] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5117] truncate("./file1", 0 [pid 5097] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5118] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5118] truncate("./file1", 0 [pid 5097] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5114] <... truncate resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5114] memfd_create("syzkaller", 0) = 4 [pid 5097] unlink("./1/binderfs" [pid 5113] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] <... unlink resumed>) = 0 [pid 5114] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5114] <... mmap resumed>) = 0x7f8438200000 [pid 5117] <... truncate resumed>) = 0 [pid 5117] memfd_create("syzkaller", 0 [pid 5115] <... write resumed>) = 524288 [pid 5117] <... memfd_create resumed>) = 4 [pid 5117] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5115] munmap(0x7f8438200000, 138412032 [pid 5114] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5118] <... truncate resumed>) = 0 [pid 5118] memfd_create("syzkaller", 0) = 4 [pid 5118] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5118] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5115] <... munmap resumed>) = 0 [pid 5113] <... write resumed>) = 524288 [pid 5117] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5115] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5115] close(4) = 0 [pid 5113] munmap(0x7f8438200000, 138412032) = 0 [pid 5117] <... write resumed>) = 524288 [pid 5114] <... write resumed>) = 524288 [pid 5113] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] <... umount2 resumed>) = 0 [pid 5113] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5114] munmap(0x7f8438200000, 138412032 [pid 5113] close(4 [pid 5118] <... write resumed>) = 524288 [pid 5114] <... munmap resumed>) = 0 [pid 5115] exit_group(0) = ? [pid 5114] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5114] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./1/file1", [pid 5118] munmap(0x7f8438200000, 138412032 [pid 5115] +++ exited with 0 +++ [pid 5114] close(4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5113] <... close resumed>) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5115, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5118] <... munmap resumed>) = 0 [pid 5099] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5118] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5117] munmap(0x7f8438200000, 138412032 [pid 5113] exit_group(0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5118] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5117] <... munmap resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 4 [pid 5113] <... exit_group resumed>) = ? [pid 5099] newfstatat(3, "", [pid 5097] newfstatat(4, "", [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5118] close(4 [pid 5099] getdents64(3, [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5118] <... close resumed>) = 0 [pid 5117] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5114] <... close resumed>) = 0 [pid 5113] +++ exited with 0 +++ [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] getdents64(4, [pid 5099] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5097] getdents64(4, [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5113, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] restart_syscall(<... resuming interrupted clone ...> [pid 5099] unlink("./1/binderfs" [pid 5097] close(4 [pid 5103] <... restart_syscall resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5099] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] rmdir("./1/file1" [pid 5117] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5114] exit_group(0 [pid 5097] <... rmdir resumed>) = 0 [pid 5117] close(4 [pid 5103] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] getdents64(3, [pid 5117] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5114] <... exit_group resumed>) = ? [pid 5103] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] close(3 [pid 5103] <... openat resumed>) = 3 [pid 5118] exit_group(0 [pid 5103] newfstatat(3, "", [pid 5118] <... exit_group resumed>) = ? [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5118] +++ exited with 0 +++ [pid 5103] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5118, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5103] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./1/binderfs" [pid 5114] +++ exited with 0 +++ [pid 5103] <... unlink resumed>) = 0 [pid 5098] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] rmdir("./1" [pid 5103] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5098] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... rmdir resumed>) = 0 [pid 5098] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5114, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] mkdir("./2", 0777 [pid 5101] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5117] exit_group(0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./1/file1", [pid 5098] unlink("./1/binderfs" [pid 5101] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5099] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... openat resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5117] <... exit_group resumed>) = ? [pid 5117] +++ exited with 0 +++ [pid 5101] newfstatat(3, "", [pid 5099] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5117, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5099] <... openat resumed>) = 4 [pid 5098] <... umount2 resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5101] getdents64(3, [pid 5099] newfstatat(4, "", [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, [pid 5100] umount2("./1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] getdents64(4, [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... openat resumed>) = 3 [pid 5098] newfstatat(AT_FDCWD, "./1/file1", [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] newfstatat(3, "", [pid 5099] close(4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] getdents64(3, [pid 5099] rmdir("./1/file1" [pid 5098] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./1/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(3, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5100] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5099] close(3 [pid 5098] <... openat resumed>) = 4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] newfstatat(4, "", [pid 5103] <... umount2 resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] rmdir("./1" [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] unlink("./1/binderfs" [pid 5099] <... rmdir resumed>) = 0 [pid 5098] getdents64(4, [pid 5101] unlink("./1/binderfs" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... unlink resumed>) = 0 [pid 5099] mkdir("./2", 0777 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... unlink resumed>) = 0 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5103] newfstatat(AT_FDCWD, "./1/file1", [pid 5099] <... mkdir resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... close resumed>) = 0 [pid 5103] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] rmdir("./1/file1" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... rmdir resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5103] <... openat resumed>) = 4 [pid 5099] <... ioctl resumed>) = 0 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... umount2 resumed>) = 0 [pid 5099] close(3 [pid 5098] close(3 [pid 5103] getdents64(4, [pid 5099] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./1" [pid 5103] close(4 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... rmdir resumed>) = 0 [pid 5103] <... close resumed>) = 0 ./strace-static-x86_64: Process 5120 attached [pid 5103] rmdir("./1/file1" [pid 5098] mkdir("./2", 0777) = 0 [pid 5120] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5120] chdir("./2" [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5120] <... chdir resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5120] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] close(3) = 0 [pid 5120] <... prctl resumed>) = 0 [pid 5120] setpgid(0, 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... rmdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5120 [pid 5120] <... setpgid resumed>) = 0 [pid 5120] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5120] write(3, "1000", 4) = 4 [pid 5120] close(3 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5121 [pid 5120] <... close resumed>) = 0 [pid 5120] symlink("/dev/binderfs", "./binderfs") = 0 ./strace-static-x86_64: Process 5121 attached [pid 5121] set_robust_list(0x55556fbaa660, 24executing program ) = 0 [pid 5120] write(1, "executing program\n", 18 [pid 5103] getdents64(3, [pid 5100] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... ioctl resumed>) = 0 [pid 5121] chdir("./2" [pid 5120] <... write resumed>) = 18 [pid 5120] memfd_create("syzkaller", 0 [pid 5121] <... chdir resumed>) = 0 [pid 5121] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5121] <... prctl resumed>) = 0 [pid 5120] <... memfd_create resumed>) = 3 [pid 5103] close(3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./1/file1", [pid 5121] setpgid(0, 0 [pid 5120] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... close resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./1/file1", [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5121] <... setpgid resumed>) = 0 [pid 5120] <... mmap resumed>) = 0x7f8438200000 [pid 5100] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5121] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] rmdir("./1" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] umount2("./1/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5121] <... openat resumed>) = 3 [pid 5103] mkdir("./2", 0777 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5121] write(3, "1000", 4) = 4 [pid 5101] openat(AT_FDCWD, "./1/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... openat resumed>) = 4 [pid 5121] close(3) = 0 [pid 5121] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5101] <... openat resumed>) = 4 [pid 5100] newfstatat(4, "", [pid 5101] newfstatat(4, "", [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(4, [pid 5101] getdents64(4, [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, [pid 5101] getdents64(4, [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5097] close(3 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] close(4 [pid 5100] <... close resumed>) = 0 [pid 5097] <... close resumed>) = 0 executing program [pid 5121] write(1, "executing program\n", 18 [pid 5120] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... close resumed>) = 0 [pid 5100] rmdir("./1/file1" [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] rmdir("./1/file1" [pid 5121] <... write resumed>) = 18 [pid 5121] memfd_create("syzkaller", 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5121] <... memfd_create resumed>) = 3 [pid 5120] <... write resumed>) = 524288 [pid 5121] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] <... openat resumed>) = 3 [pid 5101] getdents64(3, [pid 5121] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] getdents64(3, [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5101] close(3) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] rmdir("./1" [pid 5100] close(3 [pid 5101] <... rmdir resumed>) = 0 [pid 5101] mkdir("./2", 0777 [pid 5100] <... close resumed>) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5122 [pid 5100] rmdir("./1" [pid 5121] <... write resumed>) = 524288 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5100] mkdir("./2", 0777./strace-static-x86_64: Process 5122 attached [pid 5122] set_robust_list(0x55556fbaa660, 24 [pid 5100] <... mkdir resumed>) = 0 [pid 5122] <... set_robust_list resumed>) = 0 [pid 5122] chdir("./2") = 0 [pid 5120] munmap(0x7f8438200000, 138412032 [pid 5122] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5120] <... munmap resumed>) = 0 [pid 5122] <... prctl resumed>) = 0 [pid 5120] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5122] setpgid(0, 0 [pid 5120] <... openat resumed>) = 4 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5120] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... openat resumed>) = 3 [pid 5100] <... openat resumed>) = 3 [pid 5122] <... setpgid resumed>) = 0 [pid 5122] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... ioctl resumed>) = 0 [pid 5122] <... openat resumed>) = 3 [pid 5122] write(3, "1000", 4 [pid 5121] munmap(0x7f8438200000, 138412032 [pid 5122] <... write resumed>) = 4 [pid 5121] <... munmap resumed>) = 0 [pid 5103] close(3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5122] close(3 [pid 5121] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5122] <... close resumed>) = 0 [pid 5121] <... openat resumed>) = 4 [pid 5122] symlink("/dev/binderfs", "./binderfs" [pid 5121] ioctl(4, LOOP_SET_FD, 3 [pid 5122] <... symlink resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5122] write(1, "executing program\n", 18 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 5122] <... write resumed>) = 18 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5123 ./strace-static-x86_64: Process 5123 attached [pid 5122] memfd_create("syzkaller", 0 [pid 5123] set_robust_list(0x55556fbaa660, 24 [pid 5122] <... memfd_create resumed>) = 3 [pid 5120] <... ioctl resumed>) = 0 [pid 5122] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5120] close(3 [pid 5122] <... mmap resumed>) = 0x7f8438200000 [pid 5120] <... close resumed>) = 0 [pid 5123] <... set_robust_list resumed>) = 0 [pid 5120] close(4 [pid 5123] chdir("./2" [pid 5120] <... close resumed>) = 0 [pid 5120] mkdir("./file1", 0777 [pid 5123] <... chdir resumed>) = 0 [pid 5120] <... mkdir resumed>) = 0 [ 109.019464][ T5120] loop2: detected capacity change from 0 to 1024 [ 109.037032][ T5121] loop1: detected capacity change from 0 to 1024 [pid 5122] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5123] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5122] <... write resumed>) = 524288 [pid 5121] <... ioctl resumed>) = 0 [pid 5120] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... ioctl resumed>) = 0 [pid 5121] close(3) = 0 [pid 5121] close(4) = 0 [pid 5121] mkdir("./file1", 0777) = 0 [pid 5123] <... prctl resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5123] setpgid(0, 0) = 0 [pid 5121] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5123] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] close(3) = 0 [pid 5123] <... openat resumed>) = 3 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5123] write(3, "1000", 4 [pid 5120] <... mount resumed>) = 0 [pid 5101] close(3) = 0 [pid 5120] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5122] munmap(0x7f8438200000, 138412032 [pid 5120] chdir("./file1" [pid 5123] <... write resumed>) = 4 [pid 5122] <... munmap resumed>) = 0 [pid 5120] <... chdir resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5121] <... mount resumed>) = 0 [pid 5120] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5124 ./strace-static-x86_64: Process 5124 attached ./strace-static-x86_64: Process 5125 attached [pid 5123] close(3 [pid 5120] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5122] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5121] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5125 [pid 5125] set_robust_list(0x55556fbaa660, 24 [pid 5124] set_robust_list(0x55556fbaa660, 24 [pid 5122] <... openat resumed>) = 4 [pid 5121] <... openat resumed>) = 3 [pid 5125] <... set_robust_list resumed>) = 0 [pid 5124] <... set_robust_list resumed>) = 0 [pid 5123] <... close resumed>) = 0 [pid 5125] chdir("./2" [pid 5122] ioctl(4, LOOP_SET_FD, 3 [pid 5121] chdir("./file1" [pid 5124] chdir("./2" [pid 5123] symlink("/dev/binderfs", "./binderfs" [pid 5125] <... chdir resumed>) = 0 [pid 5124] <... chdir resumed>) = 0 [pid 5123] <... symlink resumed>) = 0 [pid 5121] <... chdir resumed>) = 0 [pid 5125] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5124] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5123] write(1, "executing program\n", 18 [pid 5125] <... prctl resumed>) = 0 executing program [pid 5124] setpgid(0, 0 [pid 5125] setpgid(0, 0 [pid 5123] <... write resumed>) = 18 [pid 5122] <... ioctl resumed>) = 0 [pid 5121] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5120] truncate("./file1", 0 [pid 5125] <... setpgid resumed>) = 0 [pid 5124] <... setpgid resumed>) = 0 [pid 5123] memfd_create("syzkaller", 0 [pid 5122] close(3 [pid 5121] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5120] <... truncate resumed>) = 0 [pid 5125] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5124] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5123] <... memfd_create resumed>) = 3 [pid 5122] <... close resumed>) = 0 [pid 5121] truncate("./file1", 0 [pid 5120] memfd_create("syzkaller", 0 [pid 5125] <... openat resumed>) = 3 [pid 5124] <... openat resumed>) = 3 [pid 5123] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5122] close(4 [pid 5120] <... memfd_create resumed>) = 4 [pid 5125] write(3, "1000", 4 [pid 5124] write(3, "1000", 4 [pid 5123] <... mmap resumed>) = 0x7f8438200000 [pid 5122] <... close resumed>) = 0 [pid 5121] <... truncate resumed>) = 0 [pid 5120] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5125] <... write resumed>) = 4 [pid 5122] mkdir("./file1", 0777 [pid 5121] memfd_create("syzkaller", 0 [pid 5120] <... mmap resumed>) = 0x7f8438200000 [pid 5125] close(3 [pid 5124] <... write resumed>) = 4 [pid 5123] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5122] <... mkdir resumed>) = 0 [pid 5121] <... memfd_create resumed>) = 4 [pid 5120] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5125] <... close resumed>) = 0 [pid 5124] close(3 [pid 5121] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5125] symlink("/dev/binderfs", "./binderfs" [pid 5124] <... close resumed>) = 0 [ 109.157681][ T5122] loop0: detected capacity change from 0 to 1024 [pid 5125] <... symlink resumed>) = 0 [pid 5124] symlink("/dev/binderfs", "./binderfs" [pid 5122] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5121] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288executing program executing program [pid 5125] write(1, "executing program\n", 18 [pid 5124] <... symlink resumed>) = 0 [pid 5125] <... write resumed>) = 18 [pid 5124] write(1, "executing program\n", 18 [pid 5121] <... write resumed>) = 524288 [pid 5125] memfd_create("syzkaller", 0 [pid 5124] <... write resumed>) = 18 [pid 5125] <... memfd_create resumed>) = 3 [pid 5125] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5124] memfd_create("syzkaller", 0 [pid 5123] <... write resumed>) = 524288 [pid 5120] <... write resumed>) = 524288 [pid 5125] <... mmap resumed>) = 0x7f8438200000 [pid 5124] <... memfd_create resumed>) = 3 [pid 5124] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5122] <... mount resumed>) = 0 [pid 5122] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5122] chdir("./file1") = 0 [pid 5122] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5124] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5122] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5122] truncate("./file1", 0 [pid 5125] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5121] munmap(0x7f8438200000, 138412032 [pid 5123] munmap(0x7f8438200000, 138412032 [pid 5121] <... munmap resumed>) = 0 [pid 5120] munmap(0x7f8438200000, 138412032 [pid 5123] <... munmap resumed>) = 0 [pid 5122] <... truncate resumed>) = 0 [pid 5120] <... munmap resumed>) = 0 [pid 5122] memfd_create("syzkaller", 0 [pid 5121] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5122] <... memfd_create resumed>) = 4 [pid 5123] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5122] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5123] <... openat resumed>) = 4 [pid 5121] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5122] <... mmap resumed>) = 0x7f8438200000 [pid 5121] close(4 [pid 5120] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5123] ioctl(4, LOOP_SET_FD, 3 [pid 5120] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5122] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5120] close(4 [pid 5125] <... write resumed>) = 524288 [pid 5121] <... close resumed>) = 0 [pid 5120] <... close resumed>) = 0 [pid 5125] munmap(0x7f8438200000, 138412032 [pid 5124] <... write resumed>) = 524288 [pid 5123] <... ioctl resumed>) = 0 [pid 5121] exit_group(0 [pid 5120] exit_group(0 [pid 5125] <... munmap resumed>) = 0 [pid 5122] <... write resumed>) = 524288 [pid 5123] close(3 [pid 5121] <... exit_group resumed>) = ? [ 109.285591][ T5123] loop5: detected capacity change from 0 to 1024 [pid 5120] <... exit_group resumed>) = ? [pid 5125] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5124] munmap(0x7f8438200000, 138412032 [pid 5123] <... close resumed>) = 0 [pid 5121] +++ exited with 0 +++ [pid 5120] +++ exited with 0 +++ [pid 5123] close(4 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5121, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5120, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5123] <... close resumed>) = 0 [pid 5099] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5123] mkdir("./file1", 0777 [pid 5125] <... openat resumed>) = 4 [pid 5124] <... munmap resumed>) = 0 [pid 5122] munmap(0x7f8438200000, 138412032 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5125] ioctl(4, LOOP_SET_FD, 3 [pid 5123] <... mkdir resumed>) = 0 [pid 5122] <... munmap resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5123] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... openat resumed>) = 3 [pid 5098] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5122] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] newfstatat(3, "", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, [pid 5124] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5122] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5122] close(4 [pid 5124] <... openat resumed>) = 4 [pid 5099] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 3 [pid 5124] ioctl(4, LOOP_SET_FD, 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(3, "", [pid 5099] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] unlink("./2/binderfs" [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] <... unlink resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5125] <... ioctl resumed>) = 0 [pid 5099] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] unlink("./2/binderfs") = 0 [pid 5125] close(3) = 0 [pid 5125] close(4 [pid 5122] <... close resumed>) = 0 [pid 5125] <... close resumed>) = 0 [pid 5098] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5125] mkdir("./file1", 0777) = 0 [pid 5123] <... mount resumed>) = 0 [pid 5125] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5124] <... ioctl resumed>) = 0 [pid 5123] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5122] exit_group(0 [pid 5099] <... umount2 resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5123] <... openat resumed>) = 3 [pid 5122] <... exit_group resumed>) = ? [pid 5124] close(3 [pid 5123] chdir("./file1" [pid 5122] +++ exited with 0 +++ [ 109.361326][ T5125] loop4: detected capacity change from 0 to 1024 [ 109.386503][ T5124] loop3: detected capacity change from 0 to 1024 [pid 5099] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5124] <... close resumed>) = 0 [pid 5123] <... chdir resumed>) = 0 [pid 5124] close(4 [pid 5123] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5125] <... mount resumed>) = 0 [pid 5124] <... close resumed>) = 0 [pid 5098] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5124] mkdir("./file1", 0777 [pid 5123] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] newfstatat(AT_FDCWD, "./2/file1", [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5122, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5125] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5124] <... mkdir resumed>) = 0 [pid 5123] truncate("./file1", 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5124] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./2/file1", [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5125] <... openat resumed>) = 3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5125] chdir("./file1" [pid 5098] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5125] <... chdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5125] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5125] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... openat resumed>) = 4 [pid 5097] <... openat resumed>) = 3 [pid 5097] newfstatat(3, "", [pid 5099] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5125] truncate("./file1", 0 [pid 5098] newfstatat(4, "", [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, [pid 5098] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5098] rmdir("./2/file1") = 0 [pid 5123] <... truncate resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5125] <... truncate resumed>) = 0 [pid 5123] memfd_create("syzkaller", 0 [pid 5099] newfstatat(4, "", [pid 5098] getdents64(3, [pid 5097] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5125] memfd_create("syzkaller", 0 [pid 5123] <... memfd_create resumed>) = 4 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5125] <... memfd_create resumed>) = 4 [pid 5123] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] getdents64(4, [pid 5098] close(3 [pid 5097] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5125] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5125] <... mmap resumed>) = 0x7f8438200000 [pid 5123] <... mmap resumed>) = 0x7f8438200000 [pid 5099] getdents64(4, [pid 5097] unlink("./2/binderfs" [pid 5123] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] rmdir("./2" [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5099] close(4 [pid 5097] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... close resumed>) = 0 [pid 5124] <... mount resumed>) = 0 [pid 5099] rmdir("./2/file1" [pid 5098] <... rmdir resumed>) = 0 [pid 5098] mkdir("./3", 0777 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5124] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] getdents64(3, [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... umount2 resumed>) = 0 [pid 5124] <... openat resumed>) = 3 [pid 5098] <... openat resumed>) = 3 [pid 5124] chdir("./file1" [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5125] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5124] <... chdir resumed>) = 0 [pid 5097] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5124] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5124] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... close resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./2/file1", [pid 5099] rmdir("./2") = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] mkdir("./3", 0777 [pid 5097] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5124] truncate("./file1", 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... openat resumed>) = 3 [pid 5097] getdents64(4, [pid 5125] <... write resumed>) = 524288 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5123] <... write resumed>) = 524288 [pid 5098] <... ioctl resumed>) = 0 [pid 5097] close(4 [pid 5124] <... truncate resumed>) = 0 [pid 5123] munmap(0x7f8438200000, 138412032 [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./2/file1") = 0 [pid 5124] memfd_create("syzkaller", 0 [pid 5123] <... munmap resumed>) = 0 [pid 5124] <... memfd_create resumed>) = 4 [pid 5123] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5125] munmap(0x7f8438200000, 138412032 [pid 5124] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5123] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] getdents64(3, [pid 5125] <... munmap resumed>) = 0 [pid 5124] <... mmap resumed>) = 0x7f8438200000 [pid 5123] close(4 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5125] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5124] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] close(3 [pid 5097] <... close resumed>) = 0 [pid 5125] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... close resumed>) = 0 [pid 5097] rmdir("./2" [pid 5125] close(4 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... rmdir resumed>) = 0 [pid 5123] <... close resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [ 109.571979][ T5109] I/O error, dev loop1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [pid 5097] mkdir("./3", 0777./strace-static-x86_64: Process 5126 attached [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5126 [pid 5097] <... mkdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5123] exit_group(0 [pid 5097] <... openat resumed>) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5123] <... exit_group resumed>) = ? [pid 5126] set_robust_list(0x55556fbaa660, 24 [pid 5125] <... close resumed>) = 0 [pid 5126] <... set_robust_list resumed>) = 0 [pid 5126] chdir("./3") = 0 [pid 5126] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5126] setpgid(0, 0) = 0 [pid 5126] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5125] exit_group(0 [pid 5126] write(3, "1000", 4 [pid 5125] <... exit_group resumed>) = ? [pid 5126] <... write resumed>) = 4 [pid 5125] +++ exited with 0 +++ [pid 5123] +++ exited with 0 +++ [pid 5126] close(3 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5123, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5126] <... close resumed>) = 0 [pid 5103] restart_syscall(<... resuming interrupted clone ...> [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5125, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5126] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... restart_syscall resumed>) = 0 [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5126] <... symlink resumed>) = 0 [pid 5099] close(3executing program [pid 5126] write(1, "executing program\n", 18 [pid 5101] <... restart_syscall resumed>) = 0 [pid 5126] <... write resumed>) = 18 [pid 5126] memfd_create("syzkaller", 0 [pid 5103] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5126] <... memfd_create resumed>) = 3 [pid 5103] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5126] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... openat resumed>) = 3 [pid 5101] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5126] <... mmap resumed>) = 0x7f8438200000 [pid 5103] newfstatat(3, "", [pid 5101] <... openat resumed>) = 3 [pid 5126] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5124] <... write resumed>) = 524288 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] newfstatat(3, "", [pid 5099] <... close resumed>) = 0 [pid 5124] munmap(0x7f8438200000, 138412032 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5124] <... munmap resumed>) = 0 [pid 5103] getdents64(3, [pid 5101] getdents64(3, [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5127 [pid 5101] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5127 attached [pid 5124] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5127] set_robust_list(0x55556fbaa660, 24 [pid 5124] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5127] <... set_robust_list resumed>) = 0 [pid 5103] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5127] chdir("./3" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5127] <... chdir resumed>) = 0 [pid 5124] close(4 [pid 5127] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5126] <... write resumed>) = 524288 [pid 5124] <... close resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5101] unlink("./2/binderfs" [pid 5127] <... prctl resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5127] setpgid(0, 0 [pid 5103] unlink("./2/binderfs" [pid 5101] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... unlink resumed>) = 0 [pid 5127] <... setpgid resumed>) = 0 [pid 5103] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5127] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5101] <... umount2 resumed>) = 0 [pid 5127] write(3, "1000", 4 [pid 5124] exit_group(0 [pid 5127] <... write resumed>) = 4 [pid 5127] close(3 [pid 5097] close(3 [pid 5127] <... close resumed>) = 0 [pid 5127] symlink("/dev/binderfs", "./binderfs" [pid 5124] <... exit_group resumed>) = ? [pid 5127] <... symlink resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5127] write(1, "executing program\n", 18executing program ) = 18 [pid 5101] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./2/file1", ./strace-static-x86_64: Process 5128 attached [pid 5126] munmap(0x7f8438200000, 138412032 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5127] memfd_create("syzkaller", 0 [pid 5124] +++ exited with 0 +++ [pid 5103] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5127] <... memfd_create resumed>) = 3 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5124, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5127] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./2/file1", [pid 5128] set_robust_list(0x55556fbaa660, 24 [pid 5127] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5128 [pid 5103] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5101] newfstatat(4, "", [pid 5128] <... set_robust_list resumed>) = 0 [pid 5128] chdir("./3" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5128] <... chdir resumed>) = 0 [pid 5128] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] getdents64(4, [pid 5128] <... prctl resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5128] setpgid(0, 0 [pid 5101] getdents64(4, [pid 5128] <... setpgid resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5128] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] close(4 [pid 5128] <... openat resumed>) = 3 [pid 5127] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5126] <... munmap resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... close resumed>) = 0 [pid 5100] umount2("./2", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5128] write(3, "1000", 4 [pid 5126] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] <... openat resumed>) = 4 [pid 5101] rmdir("./2/file1" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5128] <... write resumed>) = 4 [pid 5126] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5101] <... rmdir resumed>) = 0 [pid 5128] close(3 [pid 5126] ioctl(4, LOOP_SET_FD, 3 [pid 5128] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] getdents64(3, [pid 5100] <... openat resumed>) = 3 [pid 5103] getdents64(4, [pid 5128] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5128] <... symlink resumed>) = 0 [pid 5103] getdents64(4, [pid 5101] close(3 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4 [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./2") = 0 executing program [pid 5128] write(1, "executing program\n", 18) = 18 [pid 5128] memfd_create("syzkaller", 0 [pid 5101] mkdir("./3", 0777) = 0 [pid 5128] <... memfd_create resumed>) = 3 [pid 5128] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] newfstatat(3, "", [pid 5128] <... mmap resumed>) = 0x7f8438200000 [pid 5128] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... close resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] rmdir("./2/file1" [pid 5100] getdents64(3, [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5126] <... ioctl resumed>) = 0 [pid 5126] close(3 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] <... rmdir resumed>) = 0 [pid 5126] <... close resumed>) = 0 [pid 5126] close(4) = 0 [pid 5103] getdents64(3, [pid 5100] umount2("./2/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5126] mkdir("./file1", 0777 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5128] <... write resumed>) = 524288 [pid 5126] <... mkdir resumed>) = 0 [pid 5103] close(3 [pid 5100] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5127] <... write resumed>) = 524288 [pid 5126] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./2") = 0 [pid 5103] mkdir("./3", 0777 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5128] munmap(0x7f8438200000, 138412032 [ 109.775516][ T5126] loop1: detected capacity change from 0 to 1024 [pid 5127] munmap(0x7f8438200000, 138412032 [pid 5103] <... mkdir resumed>) = 0 [pid 5100] unlink("./2/binderfs" [pid 5128] <... munmap resumed>) = 0 [pid 5127] <... munmap resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... unlink resumed>) = 0 [pid 5126] <... mount resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5100] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5126] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5127] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5126] <... openat resumed>) = 3 [pid 5128] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5127] ioctl(4, LOOP_SET_FD, 3 [pid 5128] <... openat resumed>) = 4 [pid 5126] chdir("./file1" [pid 5101] <... ioctl resumed>) = 0 [pid 5126] <... chdir resumed>) = 0 [pid 5126] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5128] ioctl(4, LOOP_SET_FD, 3 [pid 5126] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5127] <... ioctl resumed>) = 0 [pid 5126] truncate("./file1", 0 [pid 5101] close(3) = 0 [pid 5127] close(3 [pid 5103] <... ioctl resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5127] <... close resumed>) = 0 [pid 5127] close(4) = 0 [pid 5127] mkdir("./file1", 0777 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5129 [pid 5100] <... umount2 resumed>) = 0 [pid 5127] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5129 attached [pid 5129] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5129] chdir("./3" [pid 5128] <... ioctl resumed>) = 0 [pid 5128] close(3) = 0 [pid 5129] <... chdir resumed>) = 0 [pid 5128] close(4) = 0 [pid 5129] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5128] mkdir("./file1", 0777) = 0 [pid 5127] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5126] <... truncate resumed>) = 0 [pid 5129] <... prctl resumed>) = 0 [pid 5129] setpgid(0, 0) = 0 [pid 5103] close(3 [pid 5100] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5129] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5129] <... openat resumed>) = 3 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] newfstatat(AT_FDCWD, "./2/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5126] memfd_create("syzkaller", 0 [pid 5129] write(3, "1000", 4 [pid 5128] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] umount2("./2/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5129] <... write resumed>) = 4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./2/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5129] close(3 [pid 5100] <... openat resumed>) = 4 [pid 5129] <... close resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5130 [pid 5100] newfstatat(4, "", [pid 5129] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4) = 0 [pid 5100] rmdir("./2/file1"./strace-static-x86_64: Process 5130 attached [pid 5129] <... symlink resumed>) = 0 [pid 5126] <... memfd_create resumed>) = 4 [pid 5100] <... rmdir resumed>) = 0 [ 109.843065][ T5127] loop2: detected capacity change from 0 to 1024 [ 109.863433][ T5128] loop0: detected capacity change from 0 to 1024 [pid 5130] set_robust_list(0x55556fbaa660, 24 [pid 5126] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5130] <... set_robust_list resumed>) = 0 [pid 5130] chdir("./3" [pid 5126] <... mmap resumed>) = 0x7f8438200000 [pid 5130] <... chdir resumed>) = 0 [pid 5129] write(1, "executing program\n", 18 [pid 5128] <... mount resumed>) = 0 executing program [pid 5100] getdents64(3, [pid 5130] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5129] <... write resumed>) = 18 [pid 5128] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5130] <... prctl resumed>) = 0 [pid 5129] memfd_create("syzkaller", 0 [pid 5128] <... openat resumed>) = 3 [pid 5100] close(3 [pid 5130] setpgid(0, 0 [pid 5129] <... memfd_create resumed>) = 3 [pid 5130] <... setpgid resumed>) = 0 [pid 5130] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5129] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... close resumed>) = 0 [pid 5129] <... mmap resumed>) = 0x7f8438200000 [pid 5100] rmdir("./2" [pid 5129] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5128] chdir("./file1" [pid 5126] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... rmdir resumed>) = 0 [pid 5130] write(3, "1000", 4 [pid 5128] <... chdir resumed>) = 0 [pid 5130] <... write resumed>) = 4 [pid 5128] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] mkdir("./3", 0777) = 0 [pid 5128] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5130] close(3 [pid 5128] truncate("./file1", 0 [pid 5130] <... close resumed>) = 0 [pid 5130] symlink("/dev/binderfs", "./binderfs" [pid 5127] <... mount resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5130] <... symlink resumed>) = 0 executing program [pid 5100] <... openat resumed>) = 3 [pid 5130] write(1, "executing program\n", 18) = 18 [pid 5127] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5130] memfd_create("syzkaller", 0) = 3 [pid 5127] <... openat resumed>) = 3 [pid 5127] chdir("./file1") = 0 [pid 5130] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5128] <... truncate resumed>) = 0 [pid 5127] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5130] <... mmap resumed>) = 0x7f8438200000 [pid 5128] memfd_create("syzkaller", 0 [pid 5130] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5128] <... memfd_create resumed>) = 4 [pid 5127] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5126] <... write resumed>) = 524288 [pid 5127] truncate("./file1", 0 [pid 5128] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5129] <... write resumed>) = 524288 [pid 5128] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5127] <... truncate resumed>) = 0 [pid 5127] memfd_create("syzkaller", 0 [pid 5129] munmap(0x7f8438200000, 138412032 [pid 5127] <... memfd_create resumed>) = 4 [pid 5126] munmap(0x7f8438200000, 138412032 [pid 5127] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5129] <... munmap resumed>) = 0 [pid 5128] <... write resumed>) = 524288 [pid 5127] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5126] <... munmap resumed>) = 0 [pid 5129] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5126] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] <... ioctl resumed>) = 0 [pid 5130] <... write resumed>) = 524288 [pid 5129] ioctl(4, LOOP_SET_FD, 3 [pid 5127] <... write resumed>) = 524288 [pid 5126] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5126] close(4 [pid 5127] munmap(0x7f8438200000, 138412032 [pid 5126] <... close resumed>) = 0 [pid 5130] munmap(0x7f8438200000, 138412032 [pid 5128] munmap(0x7f8438200000, 138412032 [pid 5127] <... munmap resumed>) = 0 [pid 5128] <... munmap resumed>) = 0 [pid 5130] <... munmap resumed>) = 0 [pid 5130] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] close(3 [pid 5130] <... openat resumed>) = 4 [pid 5128] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... close resumed>) = 0 [pid 5130] ioctl(4, LOOP_SET_FD, 3 [pid 5128] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5127] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5128] close(4 [pid 5127] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5129] <... ioctl resumed>) = 0 [pid 5128] <... close resumed>) = 0 [pid 5127] close(4 [pid 5126] exit_group(0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5131 [pid 5129] close(3./strace-static-x86_64: Process 5131 attached ) = 0 [pid 5131] set_robust_list(0x55556fbaa660, 24 [pid 5129] close(4 [pid 5126] <... exit_group resumed>) = ? [pid 5131] <... set_robust_list resumed>) = 0 [pid 5129] <... close resumed>) = 0 [pid 5131] chdir("./3" [pid 5129] mkdir("./file1", 0777 [pid 5131] <... chdir resumed>) = 0 [pid 5129] <... mkdir resumed>) = 0 [pid 5131] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5129] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5131] <... prctl resumed>) = 0 [pid 5131] setpgid(0, 0) = 0 [pid 5131] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5131] write(3, "1000", 4 [pid 5130] <... ioctl resumed>) = 0 [pid 5128] exit_group(0 [pid 5131] <... write resumed>) = 4 [pid 5130] close(3 [pid 5128] <... exit_group resumed>) = ? [pid 5131] close(3 [pid 5130] <... close resumed>) = 0 [pid 5129] <... mount resumed>) = 0 [pid 5128] +++ exited with 0 +++ [pid 5126] +++ exited with 0 +++ [pid 5131] <... close resumed>) = 0 [pid 5130] close(4 [pid 5129] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5126, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5128, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5131] symlink("/dev/binderfs", "./binderfs" [pid 5130] <... close resumed>) = 0 [pid 5129] <... openat resumed>) = 3 [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5129] chdir("./file1" [pid 5098] <... restart_syscall resumed>) = 0 [ 110.038836][ T5129] loop4: detected capacity change from 0 to 1024 [ 110.074229][ T5130] loop5: detected capacity change from 0 to 1024 [pid 5097] <... restart_syscall resumed>) = 0 [pid 5131] <... symlink resumed>) = 0 [pid 5130] mkdir("./file1", 0777 [pid 5129] <... chdir resumed>) = 0 [pid 5130] <... mkdir resumed>) = 0 [pid 5129] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5131] write(1, "executing program\n", 18 [pid 5129] <... openat resumed>) = -1 EBUSY (Device or resource busy) executing program [pid 5129] truncate("./file1", 0 [pid 5127] <... close resumed>) = 0 [pid 5097] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5131] <... write resumed>) = 18 [pid 5130] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5131] memfd_create("syzkaller", 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5131] <... memfd_create resumed>) = 3 [pid 5098] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", [pid 5097] newfstatat(3, "", [pid 5131] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5129] <... truncate resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5131] <... mmap resumed>) = 0x7f8438200000 [pid 5129] memfd_create("syzkaller", 0) = 4 [pid 5129] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5131] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5129] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5127] exit_group(0 [pid 5098] getdents64(3, [pid 5097] getdents64(3, [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5127] <... exit_group resumed>) = ? [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5098] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5130] <... mount resumed>) = 0 [pid 5127] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5127, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5130] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] <... restart_syscall resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./3/binderfs" [pid 5097] unlink("./3/binderfs" [pid 5099] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5099] newfstatat(3, "", [pid 5130] <... openat resumed>) = 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5130] chdir("./file1" [pid 5099] getdents64(3, [pid 5098] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5130] <... chdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5130] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5130] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5097] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./3/binderfs") = 0 [pid 5129] <... write resumed>) = 524288 [pid 5099] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5130] truncate("./file1", 0 [pid 5131] <... write resumed>) = 524288 [pid 5131] munmap(0x7f8438200000, 138412032) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5129] munmap(0x7f8438200000, 138412032 [pid 5130] <... truncate resumed>) = 0 [pid 5130] memfd_create("syzkaller", 0) = 4 [pid 5130] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5131] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5130] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5131] ioctl(4, LOOP_SET_FD, 3 [pid 5129] <... munmap resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = 0 [pid 5129] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5098] newfstatat(AT_FDCWD, "./3/file1", [pid 5129] close(4) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./3/file1", [pid 5130] <... write resumed>) = 524288 [pid 5098] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5097] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(4, "", [pid 5099] <... umount2 resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] getdents64(4, [pid 5131] <... ioctl resumed>) = 0 [pid 5131] close(3) = 0 [pid 5129] exit_group(0 [pid 5099] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5131] close(4 [pid 5129] <... exit_group resumed>) = ? [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5131] <... close resumed>) = 0 [pid 5129] +++ exited with 0 +++ [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... openat resumed>) = 4 [pid 5131] mkdir("./file1", 0777 [pid 5099] newfstatat(AT_FDCWD, "./3/file1", [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5129, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5098] getdents64(4, [pid 5097] newfstatat(4, "", [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5131] <... mkdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5131] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... restart_syscall resumed>) = 0 [pid 5099] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(4 [pid 5097] getdents64(4, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, [pid 5098] rmdir("./3/file1" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5130] munmap(0x7f8438200000, 138412032 [pid 5099] getdents64(4, [pid 5130] <... munmap resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] getdents64(4, [pid 5099] close(4) = 0 [ 110.249575][ T5131] loop3: detected capacity change from 0 to 1024 [pid 5099] rmdir("./3/file1" [pid 5101] <... openat resumed>) = 3 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] getdents64(3, [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4 [pid 5101] newfstatat(3, "", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... close resumed>) = 0 [pid 5130] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, [pid 5098] close(3 [pid 5097] rmdir("./3/file1" [pid 5130] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5130] close(4 [pid 5099] close(3 [pid 5101] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5098] rmdir("./3") = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] mkdir("./4", 0777 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5131] <... mount resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5131] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] <... mkdir resumed>) = 0 [pid 5131] <... openat resumed>) = 3 [pid 5099] rmdir("./3" [pid 5097] close(3 [pid 5099] <... rmdir resumed>) = 0 [pid 5131] chdir("./file1") = 0 [pid 5131] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5131] truncate("./file1", 0 [pid 5099] mkdir("./4", 0777 [pid 5101] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... mkdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5130] <... close resumed>) = 0 [pid 5097] rmdir("./3" [pid 5130] exit_group(0 [pid 5101] newfstatat(AT_FDCWD, "./3/binderfs", [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... openat resumed>) = 3 [pid 5130] <... exit_group resumed>) = ? [pid 5099] <... openat resumed>) = 3 [pid 5131] <... truncate resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5097] <... rmdir resumed>) = 0 [pid 5131] memfd_create("syzkaller", 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5101] unlink("./3/binderfs" [pid 5131] <... memfd_create resumed>) = 4 [pid 5130] +++ exited with 0 +++ [pid 5101] <... unlink resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] close(3 [pid 5097] mkdir("./4", 0777 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5130, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5131] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5131] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... mkdir resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 3 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./3/binderfs") = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5101] <... umount2 resumed>) = 0 [pid 5103] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5131] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./3/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5101] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5131] munmap(0x7f8438200000, 138412032 [pid 5101] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 ./strace-static-x86_64: Process 5132 attached [pid 5131] <... munmap resumed>) = 0 [pid 5103] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... ioctl resumed>) = 0 [pid 5132] set_robust_list(0x55556fbaa660, 24 [pid 5131] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] close(3 [pid 5132] <... set_robust_list resumed>) = 0 [pid 5131] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... close resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5132 [pid 5132] chdir("./4" [pid 5131] close(4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5132] <... chdir resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./3/file1", [pid 5097] <... ioctl resumed>) = 0 [pid 5132] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5133 [pid 5132] <... prctl resumed>) = 0 [pid 5103] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] close(4 [pid 5132] setpgid(0, 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... close resumed>) = 0 [pid 5132] <... setpgid resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] rmdir("./3/file1"./strace-static-x86_64: Process 5133 attached [pid 5132] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... openat resumed>) = 4 [pid 5101] <... rmdir resumed>) = 0 [pid 5133] set_robust_list(0x55556fbaa660, 24 [pid 5132] <... openat resumed>) = 3 [pid 5103] newfstatat(4, "", [pid 5101] getdents64(3, [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5133] <... set_robust_list resumed>) = 0 [pid 5103] getdents64(4, [pid 5101] close(3 [pid 5133] chdir("./4" [pid 5132] write(3, "1000", 4 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... close resumed>) = 0 [pid 5132] <... write resumed>) = 4 [pid 5103] getdents64(4, [pid 5101] rmdir("./3" [pid 5132] close(3 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5132] <... close resumed>) = 0 [pid 5103] close(4 [pid 5132] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... close resumed>) = 0 [pid 5133] <... chdir resumed>) = 0 [pid 5132] <... symlink resumed>) = 0 [pid 5103] rmdir("./3/file1" [pid 5101] mkdir("./4", 0777 [pid 5133] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5132] write(1, "executing program\n", 18 [pid 5131] <... close resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5133] <... prctl resumed>) = 0 [pid 5097] close(3 [pid 5133] setpgid(0, 0 [pid 5097] <... close resumed>) = 0 [pid 5133] <... setpgid resumed>) = 0 executing program [pid 5133] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5132] <... write resumed>) = 18 [pid 5132] memfd_create("syzkaller", 0 [pid 5103] getdents64(3, [pid 5133] <... openat resumed>) = 3 [pid 5131] exit_group(0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5133] write(3, "1000", 4 [pid 5132] <... memfd_create resumed>) = 3 [pid 5131] <... exit_group resumed>) = ? [pid 5103] close(3 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5133] <... write resumed>) = 4 [pid 5132] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5133] close(3 [pid 5132] <... mmap resumed>) = 0x7f8438200000 [pid 5103] rmdir("./3" [pid 5101] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5134 attached [pid 5133] <... close resumed>) = 0 [pid 5132] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... rmdir resumed>) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5134 [pid 5133] symlink("/dev/binderfs", "./binderfs" [pid 5134] set_robust_list(0x55556fbaa660, 24 [pid 5133] <... symlink resumed>) = 0 [pid 5131] +++ exited with 0 +++ [pid 5103] mkdir("./4", 0777 [pid 5134] <... set_robust_list resumed>) = 0 executing program [pid 5134] chdir("./4" [pid 5133] write(1, "executing program\n", 18 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5131, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5103] <... mkdir resumed>) = 0 [pid 5134] <... chdir resumed>) = 0 [pid 5133] <... write resumed>) = 18 [pid 5132] <... write resumed>) = 524288 [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5134] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5133] memfd_create("syzkaller", 0 [pid 5103] <... openat resumed>) = 3 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5134] <... prctl resumed>) = 0 [pid 5133] <... memfd_create resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5134] setpgid(0, 0) = 0 [pid 5133] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] umount2("./3", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5134] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5133] <... mmap resumed>) = 0x7f8438200000 [pid 5133] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5134] <... openat resumed>) = 3 [pid 5100] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5134] write(3, "1000", 4) = 4 [pid 5134] close(3) = 0 [pid 5134] symlink("/dev/binderfs", "./binderfs" [pid 5132] munmap(0x7f8438200000, 138412032 [pid 5134] <... symlink resumed>) = 0 [pid 5134] write(1, "executing program\n", 18 [pid 5133] <... write resumed>) = 524288 [pid 5132] <... munmap resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] <... openat resumed>) = 3 executing program [pid 5134] <... write resumed>) = 18 [pid 5132] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] newfstatat(3, "", [pid 5134] memfd_create("syzkaller", 0 [pid 5132] <... openat resumed>) = 4 [pid 5103] <... ioctl resumed>) = 0 [pid 5101] close(3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5133] munmap(0x7f8438200000, 138412032 [pid 5132] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... close resumed>) = 0 [pid 5133] <... munmap resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5133] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5133] ioctl(4, LOOP_SET_FD, 3 [pid 5134] <... memfd_create resumed>) = 3 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5134] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5135 [pid 5100] umount2("./3/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5134] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./3/binderfs", ./strace-static-x86_64: Process 5135 attached [pid 5135] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5135] chdir("./4" [pid 5133] <... ioctl resumed>) = 0 [pid 5135] <... chdir resumed>) = 0 [pid 5133] close(3 [pid 5135] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5133] <... close resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5135] <... prctl resumed>) = 0 [pid 5133] close(4 [pid 5132] <... ioctl resumed>) = 0 [pid 5133] <... close resumed>) = 0 [pid 5132] close(3 [pid 5100] unlink("./3/binderfs" [pid 5133] mkdir("./file1", 0777 [pid 5132] <... close resumed>) = 0 [pid 5134] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5133] <... mkdir resumed>) = 0 [pid 5132] close(4) = 0 [pid 5135] setpgid(0, 0 [pid 5133] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5132] mkdir("./file1", 0777 [pid 5103] close(3 [pid 5100] <... unlink resumed>) = 0 [pid 5132] <... mkdir resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5135] <... setpgid resumed>) = 0 [pid 5132] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5135] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5135] <... openat resumed>) = 3 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5136 ./strace-static-x86_64: Process 5136 attached [pid 5135] write(3, "1000", 4 [pid 5136] set_robust_list(0x55556fbaa660, 24 [pid 5135] <... write resumed>) = 4 [pid 5136] <... set_robust_list resumed>) = 0 [pid 5136] chdir("./4" [pid 5135] close(3) = 0 [ 110.563580][ T5132] loop1: detected capacity change from 0 to 1024 [ 110.573231][ T5133] loop2: detected capacity change from 0 to 1024 [pid 5135] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5136] <... chdir resumed>) = 0 [pid 5135] write(1, "executing program\n", 18 [pid 5136] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5135] <... write resumed>) = 18 [pid 5136] <... prctl resumed>) = 0 [pid 5135] memfd_create("syzkaller", 0 [pid 5136] setpgid(0, 0) = 0 [pid 5135] <... memfd_create resumed>) = 3 [pid 5136] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5135] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5136] <... openat resumed>) = 3 [pid 5133] <... mount resumed>) = 0 [pid 5136] write(3, "1000", 4 [pid 5135] <... mmap resumed>) = 0x7f8438200000 [pid 5133] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5136] <... write resumed>) = 4 [pid 5133] <... openat resumed>) = 3 [pid 5133] chdir("./file1" [pid 5100] <... umount2 resumed>) = 0 [pid 5136] close(3 [pid 5133] <... chdir resumed>) = 0 [pid 5136] <... close resumed>) = 0 [pid 5133] openat(AT_FDCWD, "/dev/loop2", O_RDWRexecuting program [pid 5136] symlink("/dev/binderfs", "./binderfs" [pid 5133] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5132] <... mount resumed>) = 0 [pid 5136] <... symlink resumed>) = 0 [pid 5133] truncate("./file1", 0 [pid 5132] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5134] <... write resumed>) = 524288 [pid 5132] <... openat resumed>) = 3 [pid 5135] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5132] chdir("./file1" [pid 5136] write(1, "executing program\n", 18 [pid 5132] <... chdir resumed>) = 0 [pid 5136] <... write resumed>) = 18 [pid 5135] <... write resumed>) = 524288 [pid 5134] munmap(0x7f8438200000, 138412032 [pid 5132] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5136] memfd_create("syzkaller", 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./3/file1", [pid 5136] <... memfd_create resumed>) = 3 [pid 5134] <... munmap resumed>) = 0 [pid 5133] <... truncate resumed>) = 0 [pid 5132] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5136] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5133] memfd_create("syzkaller", 0 [pid 5132] truncate("./file1", 0 [pid 5136] <... mmap resumed>) = 0x7f8438200000 [pid 5134] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5133] <... memfd_create resumed>) = 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5136] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5134] <... openat resumed>) = 4 [pid 5133] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] umount2("./3/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5133] <... mmap resumed>) = 0x7f8438200000 [pid 5134] ioctl(4, LOOP_SET_FD, 3 [pid 5133] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5132] <... truncate resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./3/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5132] memfd_create("syzkaller", 0) = 4 [pid 5100] <... openat resumed>) = 4 [pid 5132] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5135] munmap(0x7f8438200000, 138412032) = 0 [pid 5100] newfstatat(4, "", [pid 5136] <... write resumed>) = 524288 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(4, [pid 5134] <... ioctl resumed>) = 0 [pid 5132] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5135] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5134] close(3 [pid 5100] getdents64(4, [pid 5135] <... openat resumed>) = 4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5135] ioctl(4, LOOP_SET_FD, 3 [pid 5100] close(4 [pid 5134] <... close resumed>) = 0 [pid 5134] close(4 [pid 5100] <... close resumed>) = 0 [pid 5134] <... close resumed>) = 0 [pid 5133] <... write resumed>) = 524288 [pid 5100] rmdir("./3/file1") = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3 [pid 5136] munmap(0x7f8438200000, 138412032 [pid 5134] mkdir("./file1", 0777 [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./3" [pid 5133] munmap(0x7f8438200000, 138412032 [pid 5100] <... rmdir resumed>) = 0 [pid 5134] <... mkdir resumed>) = 0 [pid 5134] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5133] <... munmap resumed>) = 0 [pid 5135] <... ioctl resumed>) = 0 [pid 5135] close(3) = 0 [pid 5135] close(4) = 0 [pid 5136] <... munmap resumed>) = 0 [pid 5133] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5132] <... write resumed>) = 524288 [pid 5100] mkdir("./4", 0777 [pid 5135] mkdir("./file1", 0777 [pid 5133] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5132] munmap(0x7f8438200000, 138412032 [pid 5100] <... mkdir resumed>) = 0 [pid 5136] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5135] <... mkdir resumed>) = 0 [pid 5134] <... mount resumed>) = 0 [pid 5133] close(4 [pid 5132] <... munmap resumed>) = 0 [ 110.698905][ T5134] loop0: detected capacity change from 0 to 1024 [ 110.728052][ T5135] loop4: detected capacity change from 0 to 1024 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5134] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5136] <... openat resumed>) = 4 [pid 5134] <... openat resumed>) = 3 [pid 5100] <... openat resumed>) = 3 [pid 5136] ioctl(4, LOOP_SET_FD, 3 [pid 5134] chdir("./file1" [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5134] <... chdir resumed>) = 0 [pid 5135] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5134] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5136] <... ioctl resumed>) = 0 [pid 5132] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5134] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5132] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5134] truncate("./file1", 0 [pid 5132] close(4) = 0 [pid 5133] <... close resumed>) = 0 [pid 5136] close(3 [pid 5134] <... truncate resumed>) = 0 [pid 5134] memfd_create("syzkaller", 0) = 4 [pid 5134] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5136] <... close resumed>) = 0 [pid 5134] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5133] exit_group(0 [pid 5136] close(4) = 0 [pid 5135] <... mount resumed>) = 0 [pid 5133] <... exit_group resumed>) = ? [pid 5136] mkdir("./file1", 0777 [pid 5135] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5133] +++ exited with 0 +++ [pid 5135] <... openat resumed>) = 3 [pid 5132] exit_group(0 [pid 5135] chdir("./file1" [pid 5132] <... exit_group resumed>) = ? [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5133, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5136] <... mkdir resumed>) = 0 [pid 5135] <... chdir resumed>) = 0 [pid 5099] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5135] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5132] +++ exited with 0 +++ [pid 5099] getdents64(3, [pid 5135] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5132, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5135] truncate("./file1", 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... restart_syscall resumed>) = 0 [ 110.783998][ T5136] loop5: detected capacity change from 0 to 1024 [pid 5136] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5134] <... write resumed>) = 524288 [pid 5100] <... ioctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5135] <... truncate resumed>) = 0 [pid 5099] unlink("./4/binderfs" [pid 5135] memfd_create("syzkaller", 0 [pid 5099] <... unlink resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", [pid 5135] <... memfd_create resumed>) = 4 [pid 5100] close(3 [pid 5099] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5136] <... mount resumed>) = 0 [pid 5135] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... close resumed>) = 0 [pid 5098] getdents64(3, [pid 5135] <... mmap resumed>) = 0x7f8438200000 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... umount2 resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5135] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5136] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5136] <... openat resumed>) = 3 [pid 5134] munmap(0x7f8438200000, 138412032 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5136] chdir("./file1" [pid 5134] <... munmap resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5136] <... chdir resumed>) = 0 [pid 5136] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5136] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5136] truncate("./file1", 0 [pid 5134] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5134] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] unlink("./4/binderfs" [pid 5134] close(4 [pid 5099] newfstatat(AT_FDCWD, "./4/file1", ./strace-static-x86_64: Process 5137 attached [pid 5134] <... close resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5137] set_robust_list(0x55556fbaa660, 24 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5137 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5137] <... set_robust_list resumed>) = 0 [pid 5137] chdir("./4" [pid 5099] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5137] <... chdir resumed>) = 0 [pid 5137] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] <... openat resumed>) = 4 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5137] <... prctl resumed>) = 0 [pid 5135] <... write resumed>) = 524288 [pid 5099] getdents64(4, [pid 5137] setpgid(0, 0) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5137] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5137] <... openat resumed>) = 3 [pid 5136] <... truncate resumed>) = 0 [pid 5135] munmap(0x7f8438200000, 138412032 [pid 5134] exit_group(0 [pid 5099] close(4 [pid 5098] <... umount2 resumed>) = 0 executing program [pid 5137] write(3, "1000", 4 [pid 5135] <... munmap resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5137] <... write resumed>) = 4 [pid 5099] rmdir("./4/file1" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5137] close(3 [pid 5135] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... rmdir resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./4/file1", [pid 5137] <... close resumed>) = 0 [pid 5137] symlink("/dev/binderfs", "./binderfs" [pid 5136] memfd_create("syzkaller", 0 [pid 5135] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5134] <... exit_group resumed>) = ? [pid 5099] getdents64(3, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5137] <... symlink resumed>) = 0 [pid 5136] <... memfd_create resumed>) = 4 [pid 5135] close(4 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5137] write(1, "executing program\n", 18) = 18 [pid 5136] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5135] <... close resumed>) = 0 [pid 5099] close(3 [pid 5137] memfd_create("syzkaller", 0 [pid 5136] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5136] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5134] +++ exited with 0 +++ [pid 5099] rmdir("./4" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5134, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5137] <... memfd_create resumed>) = 3 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5137] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] mkdir("./5", 0777 [pid 5137] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5097] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5135] exit_group(0 [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5135] <... exit_group resumed>) = ? [pid 5135] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5135, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5098] getdents64(4, [pid 5097] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5137] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5136] <... write resumed>) = 524288 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... openat resumed>) = 3 [pid 5098] getdents64(4, [pid 5097] newfstatat(3, "", [pid 5136] munmap(0x7f8438200000, 138412032 [pid 5137] <... write resumed>) = 524288 [pid 5101] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] close(4 [pid 5101] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5098] rmdir("./4/file1" [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5136] <... munmap resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(3, [pid 5097] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5137] munmap(0x7f8438200000, 138412032 [pid 5101] newfstatat(3, "", [pid 5098] close(3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5136] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5136] close(4 [pid 5098] <... close resumed>) = 0 [pid 5097] unlink("./4/binderfs" [pid 5098] rmdir("./4" [pid 5137] <... munmap resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5101] getdents64(3, [pid 5097] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] mkdir("./5", 0777 [pid 5137] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5136] <... close resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5137] <... openat resumed>) = 4 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5136] exit_group(0) = ? [pid 5098] <... openat resumed>) = 3 [pid 5137] ioctl(4, LOOP_SET_FD, 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5136] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5136, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5103] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5103] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./4/file1", [pid 5137] <... ioctl resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5099] <... ioctl resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5101] unlink("./4/binderfs" [pid 5137] close(3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] unlink("./4/binderfs" [pid 5137] <... close resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5137] close(4 [pid 5103] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] close(3 [pid 5097] <... openat resumed>) = 4 [pid 5137] <... close resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5137] mkdir("./file1", 0777 [pid 5099] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5137] <... mkdir resumed>) = 0 [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5137] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] close(4) = 0 [pid 5097] rmdir("./4/file1") = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5138 ./strace-static-x86_64: Process 5138 attached [pid 5138] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5138] chdir("./5" [pid 5098] <... ioctl resumed>) = 0 [pid 5138] <... chdir resumed>) = 0 [pid 5138] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] getdents64(3, [pid 5138] <... prctl resumed>) = 0 [ 111.083179][ T5137] loop3: detected capacity change from 0 to 1024 [pid 5138] setpgid(0, 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5138] <... setpgid resumed>) = 0 [pid 5097] close(3 [pid 5138] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5138] write(3, "1000", 4) = 4 [pid 5138] close(3 [pid 5097] <... close resumed>) = 0 [pid 5138] <... close resumed>) = 0 [pid 5103] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... umount2 resumed>) = 0 [pid 5097] rmdir("./4" [pid 5098] close(3executing program ) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./4/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] mkdir("./5", 0777 [pid 5138] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5103] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5138] write(1, "executing program\n", 18 [pid 5103] newfstatat(4, "", [pid 5138] <... write resumed>) = 18 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5138] memfd_create("syzkaller", 0 [pid 5103] getdents64(4, [pid 5101] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... mkdir resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5138] <... memfd_create resumed>) = 3 [pid 5137] <... mount resumed>) = 0 [pid 5103] close(4 [pid 5101] newfstatat(AT_FDCWD, "./4/file1", [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5138] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5139 [pid 5138] <... mmap resumed>) = 0x7f8438200000 [pid 5103] rmdir("./4/file1" [pid 5097] <... openat resumed>) = 3 [pid 5138] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5137] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... rmdir resumed>) = 0 [pid 5101] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5139 attached [pid 5137] <... openat resumed>) = 3 [pid 5103] getdents64(3, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5139] set_robust_list(0x55556fbaa660, 24 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5137] chdir("./file1" [pid 5101] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5137] <... chdir resumed>) = 0 [pid 5139] <... set_robust_list resumed>) = 0 [pid 5137] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] close(3 [pid 5101] <... openat resumed>) = 4 [pid 5139] chdir("./5" [pid 5137] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... close resumed>) = 0 [pid 5101] newfstatat(4, "", [pid 5139] <... chdir resumed>) = 0 [pid 5137] truncate("./file1", 0 [pid 5103] rmdir("./4" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5139] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... rmdir resumed>) = 0 [pid 5139] <... prctl resumed>) = 0 [pid 5101] getdents64(4, [pid 5139] setpgid(0, 0 [pid 5103] mkdir("./5", 0777 [pid 5139] <... setpgid resumed>) = 0 [pid 5137] <... truncate resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, [pid 5097] <... ioctl resumed>) = 0 [pid 5139] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5139] write(3, "1000", 4) = 4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5139] close(3 [pid 5103] <... openat resumed>) = 3 [pid 5139] <... close resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5139] symlink("/dev/binderfs", "./binderfs" [pid 5138] <... write resumed>) = 524288 [pid 5137] memfd_create("syzkaller", 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5139] <... symlink resumed>) = 0 [pid 5137] <... memfd_create resumed>) = 4 [pid 5101] <... close resumed>) = 0 executing program [pid 5139] write(1, "executing program\n", 18 [pid 5101] rmdir("./4/file1" [pid 5139] <... write resumed>) = 18 [pid 5139] memfd_create("syzkaller", 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5138] munmap(0x7f8438200000, 138412032) = 0 [pid 5139] <... memfd_create resumed>) = 3 [pid 5137] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] getdents64(3, [pid 5097] close(3 [pid 5139] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... close resumed>) = 0 [pid 5137] <... mmap resumed>) = 0x7f8438200000 [pid 5101] close(3 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5139] <... mmap resumed>) = 0x7f8438200000 [pid 5138] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5140 [pid 5138] <... openat resumed>) = 4 [pid 5138] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./4"./strace-static-x86_64: Process 5140 attached [pid 5139] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5137] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... ioctl resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5140] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5139] <... write resumed>) = 524288 [pid 5101] mkdir("./5", 0777 [pid 5140] chdir("./5") = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5137] <... write resumed>) = 524288 [pid 5140] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5139] munmap(0x7f8438200000, 138412032 [pid 5138] <... ioctl resumed>) = 0 [ 111.240883][ T5138] loop2: detected capacity change from 0 to 1024 [pid 5103] close(3 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5140] <... prctl resumed>) = 0 [pid 5139] <... munmap resumed>) = 0 [pid 5138] close(3 [pid 5137] munmap(0x7f8438200000, 138412032 [pid 5103] <... close resumed>) = 0 [pid 5140] setpgid(0, 0 [pid 5138] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5140] <... setpgid resumed>) = 0 [pid 5138] close(4 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5140] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5139] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5138] <... close resumed>) = 0 [pid 5137] <... munmap resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5140] <... openat resumed>) = 3 [pid 5139] <... openat resumed>) = 4 [pid 5138] mkdir("./file1", 0777 [pid 5140] write(3, "1000", 4 [pid 5139] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5141 [pid 5140] <... write resumed>) = 4 [pid 5138] <... mkdir resumed>) = 0 [pid 5140] close(3 [pid 5138] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5140] <... close resumed>) = 0 [pid 5137] openat(AT_FDCWD, "/dev/loop3", O_RDWR./strace-static-x86_64: Process 5141 attached [pid 5140] symlink("/dev/binderfs", "./binderfs" [pid 5137] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5141] set_robust_list(0x55556fbaa660, 24 [pid 5140] <... symlink resumed>) = 0 [pid 5141] <... set_robust_list resumed>) = 0 executing program [pid 5140] write(1, "executing program\n", 18 [pid 5137] close(4 [pid 5141] chdir("./5" [pid 5140] <... write resumed>) = 18 [pid 5141] <... chdir resumed>) = 0 [pid 5140] memfd_create("syzkaller", 0 [pid 5141] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5140] <... memfd_create resumed>) = 3 [pid 5141] <... prctl resumed>) = 0 [pid 5140] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5138] <... mount resumed>) = 0 [pid 5141] setpgid(0, 0 [pid 5140] <... mmap resumed>) = 0x7f8438200000 [pid 5141] <... setpgid resumed>) = 0 [pid 5137] <... close resumed>) = 0 [pid 5141] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5138] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5141] <... openat resumed>) = 3 [pid 5138] <... openat resumed>) = 3 [pid 5138] chdir("./file1") = 0 [pid 5138] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5139] <... ioctl resumed>) = 0 [pid 5138] truncate("./file1", 0 [pid 5141] write(3, "1000", 4) = 4 [pid 5139] close(3 [pid 5141] close(3 [pid 5140] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5139] <... close resumed>) = 0 [pid 5138] <... truncate resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5141] <... close resumed>) = 0 [pid 5139] close(4 [pid 5141] symlink("/dev/binderfs", "./binderfs" [pid 5139] <... close resumed>) = 0 [pid 5141] <... symlink resumed>) = 0 [pid 5139] mkdir("./file1", 0777 [pid 5138] memfd_create("syzkaller", 0 [pid 5141] write(1, "executing program\n", 18 [pid 5139] <... mkdir resumed>) = 0 [pid 5137] exit_group(0 [pid 5101] close(3executing program [pid 5141] <... write resumed>) = 18 [pid 5139] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5137] <... exit_group resumed>) = ? [pid 5101] <... close resumed>) = 0 [pid 5141] memfd_create("syzkaller", 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5141] <... memfd_create resumed>) = 3 [ 111.315599][ T5139] loop1: detected capacity change from 0 to 1024 [pid 5141] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5138] <... memfd_create resumed>) = 4 [pid 5141] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5138] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5137] +++ exited with 0 +++ ./strace-static-x86_64: Process 5142 attached [pid 5138] <... mmap resumed>) = 0x7f8438200000 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5137, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5142] set_robust_list(0x55556fbaa660, 24 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5142 [pid 5142] <... set_robust_list resumed>) = 0 [pid 5142] chdir("./5" [pid 5139] <... mount resumed>) = 0 [pid 5142] <... chdir resumed>) = 0 [pid 5100] umount2("./4", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5142] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5138] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5142] <... prctl resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5142] setpgid(0, 0) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5142] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5139] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] newfstatat(3, "", [pid 5142] <... openat resumed>) = 3 [pid 5140] <... write resumed>) = 524288 [pid 5139] <... openat resumed>) = 3 [pid 5138] <... write resumed>) = 524288 [pid 5142] write(3, "1000", 4 [pid 5140] munmap(0x7f8438200000, 138412032 [pid 5139] chdir("./file1" [pid 5142] <... write resumed>) = 4 [pid 5140] <... munmap resumed>) = 0 [pid 5139] <... chdir resumed>) = 0 [pid 5142] close(3 [pid 5139] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5142] <... close resumed>) = 0 [pid 5139] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5142] symlink("/dev/binderfs", "./binderfs" [pid 5140] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5139] truncate("./file1", 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5141] <... write resumed>) = 524288 [pid 5140] <... openat resumed>) = 4 [pid 5140] ioctl(4, LOOP_SET_FD, 3 [pid 5142] <... symlink resumed>) = 0 [pid 5141] munmap(0x7f8438200000, 138412032 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./4/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5139] <... truncate resumed>) = 0 [pid 5138] munmap(0x7f8438200000, 138412032 [pid 5141] <... munmap resumed>) = 0 [pid 5142] write(1, "executing program\n", 18 executing program [pid 5141] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5139] memfd_create("syzkaller", 0 [pid 5138] <... munmap resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./4/binderfs", [pid 5141] <... openat resumed>) = 4 [pid 5142] <... write resumed>) = 18 [pid 5140] <... ioctl resumed>) = 0 [pid 5139] <... memfd_create resumed>) = 4 [pid 5138] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5142] memfd_create("syzkaller", 0 [pid 5139] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5138] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5142] <... memfd_create resumed>) = 3 [pid 5141] ioctl(4, LOOP_SET_FD, 3 [pid 5140] close(3 [pid 5139] <... mmap resumed>) = 0x7f8438200000 [pid 5138] close(4 [pid 5100] unlink("./4/binderfs" [pid 5142] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5140] <... close resumed>) = 0 [pid 5139] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5140] close(4) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5142] <... mmap resumed>) = 0x7f8438200000 [pid 5140] mkdir("./file1", 0777 [pid 5142] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5141] <... ioctl resumed>) = 0 [pid 5140] <... mkdir resumed>) = 0 [pid 5138] <... close resumed>) = 0 [pid 5100] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5141] close(3 [pid 5140] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... umount2 resumed>) = 0 [pid 5141] <... close resumed>) = 0 [pid 5141] close(4) = 0 [pid 5141] mkdir("./file1", 0777) = 0 [pid 5139] <... write resumed>) = 524288 [pid 5138] exit_group(0 [pid 5141] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5138] <... exit_group resumed>) = ? [ 111.428078][ T5140] loop0: detected capacity change from 0 to 1024 [ 111.455375][ T5141] loop5: detected capacity change from 0 to 1024 [pid 5142] <... write resumed>) = 524288 [pid 5141] <... mount resumed>) = 0 [pid 5138] +++ exited with 0 +++ [pid 5100] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5138, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5139] munmap(0x7f8438200000, 138412032) = 0 [pid 5141] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./5/binderfs" [pid 5141] <... openat resumed>) = 3 [pid 5100] newfstatat(AT_FDCWD, "./4/file1", [pid 5099] <... unlink resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5139] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5099] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./4/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5141] chdir("./file1" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5141] <... chdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./4/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5141] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5140] <... mount resumed>) = 0 [pid 5139] close(4 [pid 5100] <... openat resumed>) = 4 [pid 5141] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5140] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5139] <... close resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5141] truncate("./file1", 0 [pid 5140] <... openat resumed>) = 3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5140] chdir("./file1") = 0 [pid 5140] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] getdents64(4, [pid 5142] munmap(0x7f8438200000, 138412032 [pid 5140] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5142] <... munmap resumed>) = 0 [pid 5140] truncate("./file1", 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5140] <... truncate resumed>) = 0 [pid 5140] memfd_create("syzkaller", 0 [pid 5100] close(4 [pid 5099] <... umount2 resumed>) = 0 [pid 5140] <... memfd_create resumed>) = 4 [pid 5140] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5140] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... close resumed>) = 0 [pid 5099] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5142] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5139] exit_group(0 [pid 5100] rmdir("./4/file1" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5142] <... openat resumed>) = 4 [pid 5139] <... exit_group resumed>) = ? [pid 5100] <... rmdir resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./5/file1", [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5142] ioctl(4, LOOP_SET_FD, 3 [pid 5141] <... truncate resumed>) = 0 [pid 5100] close(3 [pid 5099] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5141] memfd_create("syzkaller", 0) = 4 [pid 5100] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5141] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] rmdir("./4" [pid 5099] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5141] <... mmap resumed>) = 0x7f8438200000 [pid 5140] <... write resumed>) = 524288 [pid 5139] +++ exited with 0 +++ [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5141] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5139, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=4 /* 0.04 s */} --- [pid 5098] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] mkdir("./5", 0777) = 0 [pid 5099] newfstatat(4, "", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5098] newfstatat(3, "", [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5142] <... ioctl resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5099] getdents64(4, [pid 5098] getdents64(3, [pid 5142] close(3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] getdents64(4, [pid 5142] <... close resumed>) = 0 [pid 5098] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4 [pid 5142] close(4 [pid 5099] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5142] <... close resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5142] mkdir("./file1", 0777 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5142] <... mkdir resumed>) = 0 [pid 5098] unlink("./5/binderfs" [pid 5099] rmdir("./5/file1" [pid 5098] <... unlink resumed>) = 0 [pid 5140] munmap(0x7f8438200000, 138412032 [pid 5098] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5142] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5140] <... munmap resumed>) = 0 [ 111.589639][ T5142] loop4: detected capacity change from 0 to 1024 [pid 5142] <... mount resumed>) = 0 [pid 5140] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5142] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5141] <... write resumed>) = 524288 [pid 5140] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5140] close(4 [pid 5142] <... openat resumed>) = 3 [pid 5140] <... close resumed>) = 0 [pid 5099] getdents64(3, [pid 5142] chdir("./file1" [pid 5141] munmap(0x7f8438200000, 138412032 [pid 5142] <... chdir resumed>) = 0 [pid 5141] <... munmap resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5142] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5141] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5142] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5141] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5142] truncate("./file1", 0 [pid 5141] close(4) = 0 [pid 5099] close(3) = 0 [pid 5099] rmdir("./5" [pid 5098] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./5/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5140] exit_group(0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5140] <... exit_group resumed>) = ? [pid 5098] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5099] mkdir("./6", 0777 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5141] exit_group(0 [pid 5140] +++ exited with 0 +++ [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] rmdir("./5/file1" [pid 5141] <... exit_group resumed>) = ? [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5140, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5099] <... openat resumed>) = 3 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5097] <... restart_syscall resumed>) = 0 [pid 5097] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, [pid 5097] getdents64(3, [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] close(3 [pid 5097] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] rmdir("./5" [pid 5097] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5142] <... truncate resumed>) = 0 [pid 5141] +++ exited with 0 +++ [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5142] memfd_create("syzkaller", 0 [pid 5097] unlink("./5/binderfs" [pid 5142] <... memfd_create resumed>) = 4 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5141, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5097] <... unlink resumed>) = 0 [pid 5142] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5142] <... mmap resumed>) = 0x7f8438200000 [pid 5098] mkdir("./6", 0777 [pid 5142] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... ioctl resumed>) = 0 [pid 5100] close(3 [pid 5098] <... mkdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5098] <... openat resumed>) = 3 [pid 5103] newfstatat(3, "", [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5143 attached [pid 5103] getdents64(3, [pid 5143] set_robust_list(0x55556fbaa660, 24 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5143 [pid 5097] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5143] <... set_robust_list resumed>) = 0 [pid 5103] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5143] chdir("./5" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5143] <... chdir resumed>) = 0 [pid 5142] <... write resumed>) = 524288 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5143] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] newfstatat(AT_FDCWD, "./5/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5143] <... prctl resumed>) = 0 [pid 5097] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5143] setpgid(0, 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5143] <... setpgid resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5143] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] unlink("./5/binderfs" [pid 5099] <... ioctl resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5103] <... unlink resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5143] <... openat resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5143] write(3, "1000", 4 [pid 5097] getdents64(4, [pid 5143] <... write resumed>) = 4 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] close(3 [pid 5143] close(3 [pid 5099] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 5143] <... close resumed>) = 0 [pid 5097] getdents64(4, [pid 5143] symlink("/dev/binderfs", "./binderfs" [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5143] <... symlink resumed>) = 0 [pid 5142] munmap(0x7f8438200000, 138412032 [pid 5097] close(4 [pid 5143] write(1, "executing program\n", 18 [pid 5142] <... munmap resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5143] <... write resumed>) = 18 [pid 5097] rmdir("./5/file1" [pid 5143] memfd_create("syzkaller", 0 [pid 5142] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 5144 attached [pid 5143] <... memfd_create resumed>) = 3 [pid 5142] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5144 [pid 5097] getdents64(3, [pid 5143] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5143] <... mmap resumed>) = 0x7f8438200000 [pid 5097] close(3 [pid 5144] set_robust_list(0x55556fbaa660, 24 [pid 5143] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] <... close resumed>) = 0 [pid 5144] <... set_robust_list resumed>) = 0 [pid 5142] close(4 [pid 5103] <... umount2 resumed>) = 0 [pid 5098] close(3 [pid 5097] rmdir("./5" [pid 5144] chdir("./6" [pid 5142] <... close resumed>) = 0 [pid 5103] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... rmdir resumed>) = 0 [pid 5097] mkdir("./6", 0777./strace-static-x86_64: Process 5145 attached [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... mkdir resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5145 [pid 5145] set_robust_list(0x55556fbaa660, 24 [pid 5103] newfstatat(AT_FDCWD, "./5/file1", [pid 5145] <... set_robust_list resumed>) = 0 [pid 5145] chdir("./6" [pid 5144] <... chdir resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5145] <... chdir resumed>) = 0 [pid 5144] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5145] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5144] <... prctl resumed>) = 0 [pid 5103] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 3 [pid 5145] <... prctl resumed>) = 0 [pid 5144] setpgid(0, 0 [pid 5145] setpgid(0, 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5144] <... setpgid resumed>) = 0 [pid 5143] <... write resumed>) = 524288 [pid 5142] exit_group(0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5142] <... exit_group resumed>) = ? [pid 5145] <... setpgid resumed>) = 0 [pid 5144] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5142] +++ exited with 0 +++ [pid 5103] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5143] munmap(0x7f8438200000, 138412032 [pid 5145] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5144] <... openat resumed>) = 3 [pid 5143] <... munmap resumed>) = 0 [pid 5103] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5142, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5145] <... openat resumed>) = 3 [pid 5144] write(3, "1000", 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5103] getdents64(4, [pid 5101] <... restart_syscall resumed>) = 0 [pid 5145] write(3, "1000", 4 [pid 5144] <... write resumed>) = 4 [pid 5143] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5145] <... write resumed>) = 4 [pid 5143] <... openat resumed>) = 4 [pid 5145] close(3 [pid 5101] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5145] <... close resumed>) = 0 [pid 5103] getdents64(4, [pid 5145] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5144] close(3 [pid 5103] close(4 [pid 5143] ioctl(4, LOOP_SET_FD, 3 [pid 5145] <... symlink resumed>) = 0 [pid 5144] <... close resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5145] write(1, "executing program\n", 18 [pid 5144] symlink("/dev/binderfs", "./binderfs" [pid 5143] <... ioctl resumed>) = 0 [pid 5103] rmdir("./5/file1" [pid 5101] <... openat resumed>) = 3 [pid 5145] <... write resumed>) = 18 [pid 5144] <... symlink resumed>) = 0 [pid 5143] close(3 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] newfstatat(3, "", [pid 5143] <... close resumed>) = 0 [pid 5143] close(4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5143] <... close resumed>) = 0 [pid 5143] mkdir("./file1", 0777 [pid 5145] memfd_create("syzkaller", 0 [pid 5144] write(1, "executing program\n", 18 [pid 5103] getdents64(3, executing program [pid 5144] <... write resumed>) = 18 [pid 5143] <... mkdir resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3 [pid 5145] <... memfd_create resumed>) = 3 [pid 5144] memfd_create("syzkaller", 0 [pid 5143] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5145] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] rmdir("./5" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... ioctl resumed>) = 0 [pid 5097] close(3 [pid 5145] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 111.884477][ T5143] loop3: detected capacity change from 0 to 1024 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5144] <... memfd_create resumed>) = 3 [pid 5103] mkdir("./6", 0777 [pid 5101] newfstatat(AT_FDCWD, "./5/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5144] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] unlink("./5/binderfs" [pid 5143] <... mount resumed>) = 0 [pid 5143] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... unlink resumed>) = 0 [pid 5144] <... mmap resumed>) = 0x7f8438200000 [pid 5143] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5146 attached [pid 5144] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5146 [pid 5146] set_robust_list(0x55556fbaa660, 24 [pid 5143] chdir("./file1" [pid 5146] <... set_robust_list resumed>) = 0 [pid 5143] <... chdir resumed>) = 0 [pid 5146] chdir("./6" [pid 5143] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5146] <... chdir resumed>) = 0 [pid 5143] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5146] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5145] <... write resumed>) = 524288 [pid 5144] <... write resumed>) = 524288 [pid 5143] truncate("./file1", 0 [pid 5103] <... openat resumed>) = 3 [pid 5146] setpgid(0, 0 [pid 5145] munmap(0x7f8438200000, 138412032 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5145] <... munmap resumed>) = 0 [pid 5146] <... setpgid resumed>) = 0 [pid 5144] munmap(0x7f8438200000, 138412032 [pid 5146] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5144] <... munmap resumed>) = 0 [pid 5146] <... openat resumed>) = 3 [pid 5145] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5146] write(3, "1000", 4 [pid 5145] <... openat resumed>) = 4 [pid 5144] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5146] <... write resumed>) = 4 [pid 5145] ioctl(4, LOOP_SET_FD, 3 [pid 5144] <... openat resumed>) = 4 [pid 5146] close(3 [pid 5144] ioctl(4, LOOP_SET_FD, 3 [pid 5146] <... close resumed>) = 0 [pid 5146] symlink("/dev/binderfs", "./binderfs" [pid 5143] <... truncate resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5143] memfd_create("syzkaller", 0 [pid 5101] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5143] <... memfd_create resumed>) = 4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5146] <... symlink resumed>) = 0 [pid 5143] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5146] write(1, "executing program\n", 18 [pid 5101] newfstatat(AT_FDCWD, "./5/file1", executing program [pid 5146] <... write resumed>) = 18 [pid 5146] memfd_create("syzkaller", 0) = 3 [pid 5143] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5146] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5145] <... ioctl resumed>) = 0 [pid 5145] close(3 [pid 5144] <... ioctl resumed>) = 0 [pid 5144] close(3 [pid 5101] newfstatat(4, "", [pid 5146] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5145] <... close resumed>) = 0 [pid 5144] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5145] close(4 [pid 5144] close(4 [pid 5101] getdents64(4, [pid 5145] <... close resumed>) = 0 [pid 5144] <... close resumed>) = 0 [pid 5144] mkdir("./file1", 0777 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5145] mkdir("./file1", 0777 [pid 5144] <... mkdir resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5145] <... mkdir resumed>) = 0 [pid 5144] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5145] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] close(3 [pid 5101] getdents64(4, [pid 5103] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [ 111.994038][ T5145] loop1: detected capacity change from 0 to 1024 [ 112.000743][ T5144] loop2: detected capacity change from 0 to 1024 [pid 5143] <... write resumed>) = 524288 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] close(4 [pid 5146] <... write resumed>) = 524288 [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./5/file1" [pid 5145] <... mount resumed>) = 0 [pid 5144] <... mount resumed>) = 0 [pid 5143] munmap(0x7f8438200000, 138412032 [pid 5145] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... rmdir resumed>) = 0 [pid 5145] <... openat resumed>) = 3 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5147 ./strace-static-x86_64: Process 5147 attached [pid 5145] chdir("./file1" [pid 5144] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5143] <... munmap resumed>) = 0 [pid 5147] set_robust_list(0x55556fbaa660, 24 [pid 5145] <... chdir resumed>) = 0 [pid 5144] <... openat resumed>) = 3 [pid 5147] <... set_robust_list resumed>) = 0 [pid 5146] munmap(0x7f8438200000, 138412032 [pid 5145] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5144] chdir("./file1" [pid 5143] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5147] chdir("./6" [pid 5146] <... munmap resumed>) = 0 [pid 5145] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5144] <... chdir resumed>) = 0 [pid 5147] <... chdir resumed>) = 0 [pid 5143] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5147] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5145] truncate("./file1", 0 [pid 5147] <... prctl resumed>) = 0 [pid 5144] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5143] close(4 [pid 5144] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] getdents64(3, [pid 5147] setpgid(0, 0 [pid 5146] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5147] <... setpgid resumed>) = 0 [pid 5146] <... openat resumed>) = 4 [pid 5145] <... truncate resumed>) = 0 [pid 5144] truncate("./file1", 0 [pid 5147] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5146] ioctl(4, LOOP_SET_FD, 3 [pid 5145] memfd_create("syzkaller", 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3 [pid 5147] <... openat resumed>) = 3 [pid 5145] <... memfd_create resumed>) = 4 [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./5" [pid 5147] write(3, "1000", 4 [pid 5145] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5145] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] <... rmdir resumed>) = 0 [pid 5147] <... write resumed>) = 4 [pid 5144] <... truncate resumed>) = 0 [pid 5147] close(3) = 0 [pid 5147] symlink("/dev/binderfs", "./binderfs" [pid 5144] memfd_create("syzkaller", 0 [pid 5143] <... close resumed>) = 0 [pid 5101] mkdir("./6", 0777 [pid 5147] <... symlink resumed>) = 0 [pid 5144] <... memfd_create resumed>) = 4 executing program [pid 5147] write(1, "executing program\n", 18 [pid 5144] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5143] exit_group(0 [pid 5147] <... write resumed>) = 18 [pid 5147] memfd_create("syzkaller", 0 [pid 5144] <... mmap resumed>) = 0x7f8438200000 [pid 5143] <... exit_group resumed>) = ? [pid 5101] <... mkdir resumed>) = 0 [pid 5147] <... memfd_create resumed>) = 3 [pid 5144] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5143] +++ exited with 0 +++ [pid 5147] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5147] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5143, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5146] <... ioctl resumed>) = 0 [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5146] close(3 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5146] <... close resumed>) = 0 [pid 5146] close(4) = 0 [pid 5146] mkdir("./file1", 0777) = 0 [ 112.089855][ T5146] loop0: detected capacity change from 0 to 1024 [pid 5146] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] umount2("./5", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5145] <... write resumed>) = 524288 [pid 5144] <... write resumed>) = 524288 [pid 5101] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5145] munmap(0x7f8438200000, 138412032) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5145] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] umount2("./5/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5145] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./5/binderfs", [pid 5145] close(4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5145] <... close resumed>) = 0 [pid 5100] unlink("./5/binderfs") = 0 [pid 5147] <... write resumed>) = 524288 [pid 5144] munmap(0x7f8438200000, 138412032 [pid 5100] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5144] <... munmap resumed>) = 0 [pid 5147] munmap(0x7f8438200000, 138412032) = 0 [pid 5147] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5147] ioctl(4, LOOP_SET_FD, 3 [pid 5144] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5144] close(4 [pid 5146] <... mount resumed>) = 0 [pid 5146] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5145] exit_group(0 [pid 5100] <... umount2 resumed>) = 0 [pid 5146] <... openat resumed>) = 3 [pid 5145] <... exit_group resumed>) = ? [pid 5145] +++ exited with 0 +++ [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5145, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [pid 5146] chdir("./file1" [pid 5144] <... close resumed>) = 0 [pid 5100] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5146] <... chdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5146] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] newfstatat(AT_FDCWD, "./5/file1", [pid 5098] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5146] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5146] truncate("./file1", 0 [pid 5100] umount2("./5/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5147] <... ioctl resumed>) = 0 [pid 5147] close(3) = 0 [pid 5144] exit_group(0 [pid 5147] close(4) = 0 [pid 5147] mkdir("./file1", 0777 [pid 5146] <... truncate resumed>) = 0 [pid 5144] <... exit_group resumed>) = ? [pid 5101] <... ioctl resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5146] memfd_create("syzkaller", 0 [pid 5100] openat(AT_FDCWD, "./5/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5147] <... mkdir resumed>) = 0 [pid 5146] <... memfd_create resumed>) = 4 [pid 5101] close(3 [pid 5100] <... openat resumed>) = 4 [pid 5098] <... openat resumed>) = 3 [pid 5100] newfstatat(4, "", [pid 5098] newfstatat(3, "", [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(4, [pid 5101] <... close resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5147] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5146] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] getdents64(3, [pid 5100] getdents64(4, [pid 5146] <... mmap resumed>) = 0x7f8438200000 [pid 5144] +++ exited with 0 +++ [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5148 [pid 5100] close(4 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5144, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [ 112.189860][ T5147] loop5: detected capacity change from 0 to 1024 ./strace-static-x86_64: Process 5148 attached [pid 5147] <... mount resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5148] set_robust_list(0x55556fbaa660, 24 [pid 5100] rmdir("./5/file1" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5148] <... set_robust_list resumed>) = 0 [pid 5147] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5148] chdir("./6" [pid 5147] <... openat resumed>) = 3 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5148] <... chdir resumed>) = 0 [pid 5147] chdir("./file1" [pid 5146] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] getdents64(3, [pid 5099] newfstatat(3, "", [pid 5148] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5147] <... chdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5148] <... prctl resumed>) = 0 [pid 5147] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] close(3 [pid 5099] getdents64(3, [pid 5098] unlink("./6/binderfs" [pid 5100] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5148] setpgid(0, 0 [pid 5147] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5148] <... setpgid resumed>) = 0 [pid 5147] truncate("./file1", 0 [pid 5146] <... write resumed>) = 524288 [pid 5100] rmdir("./5" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... unlink resumed>) = 0 [pid 5148] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] <... rmdir resumed>) = 0 [pid 5098] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] mkdir("./6", 0777 [pid 5099] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./6/binderfs" [pid 5100] <... mkdir resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5148] write(3, "1000", 4) = 4 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5148] close(3) = 0 [pid 5148] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5100] <... openat resumed>) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5148] write(1, "executing program\n", 18 [pid 5147] <... truncate resumed>) = 0 [pid 5148] <... write resumed>) = 18 [pid 5147] memfd_create("syzkaller", 0 [pid 5148] memfd_create("syzkaller", 0 [pid 5147] <... memfd_create resumed>) = 4 [pid 5147] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5148] <... memfd_create resumed>) = 3 [pid 5147] <... mmap resumed>) = 0x7f8438200000 [pid 5098] <... umount2 resumed>) = 0 [pid 5148] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5147] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5148] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5146] munmap(0x7f8438200000, 138412032 [pid 5098] newfstatat(AT_FDCWD, "./6/file1", [pid 5146] <... munmap resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./6/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5148] <... write resumed>) = 524288 [pid 5146] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] <... openat resumed>) = 4 [pid 5146] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] newfstatat(4, "", [pid 5099] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5146] close(4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5146] <... close resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./6/file1", [pid 5098] getdents64(4, [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... ioctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] close(4 [pid 5147] <... write resumed>) = 524288 [pid 5099] openat(AT_FDCWD, "./6/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] rmdir("./6/file1" [pid 5099] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4 [pid 5147] munmap(0x7f8438200000, 138412032 [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./6/file1") = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5148] munmap(0x7f8438200000, 138412032 [pid 5147] <... munmap resumed>) = 0 [pid 5146] exit_group(0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5148] <... munmap resumed>) = 0 [pid 5146] <... exit_group resumed>) = ? [pid 5146] +++ exited with 0 +++ [pid 5099] close(3) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5146, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5099] rmdir("./6") = 0 [pid 5097] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5148] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5148] <... openat resumed>) = 4 [pid 5147] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] <... openat resumed>) = 3 [pid 5148] ioctl(4, LOOP_SET_FD, 3 [pid 5147] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] getdents64(3, [pid 5097] newfstatat(3, "", [pid 5148] <... ioctl resumed>) = 0 [pid 5147] close(4 [pid 5100] close(3 [pid 5099] mkdir("./7", 0777 [pid 5100] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] close(3./strace-static-x86_64: Process 5149 attached [pid 5147] <... close resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5097] getdents64(3, [pid 5149] set_robust_list(0x55556fbaa660, 24 [pid 5098] <... close resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5149 [pid 5098] rmdir("./6" [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... openat resumed>) = 3 [pid 5097] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... ioctl resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5098] mkdir("./7", 0777 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./6/binderfs" [pid 5099] close(3 [pid 5097] <... unlink resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5149] <... set_robust_list resumed>) = 0 [pid 5148] close(3 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5149] chdir("./6" [pid 5148] <... close resumed>) = 0 [pid 5148] close(4) = 0 [pid 5148] mkdir("./file1", 0777 [pid 5149] <... chdir resumed>) = 0 [pid 5148] <... mkdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5149] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5148] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5147] exit_group(0 [pid 5098] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5150 attached [pid 5149] <... prctl resumed>) = 0 [pid 5147] <... exit_group resumed>) = ? [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5150] set_robust_list(0x55556fbaa660, 24 [pid 5149] setpgid(0, 0 [pid 5147] +++ exited with 0 +++ [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5150 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5147, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5150] <... set_robust_list resumed>) = 0 [pid 5148] <... mount resumed>) = 0 [ 112.373123][ T5148] loop4: detected capacity change from 0 to 1024 [pid 5150] chdir("./7" [pid 5149] <... setpgid resumed>) = 0 [pid 5103] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5150] <... chdir resumed>) = 0 [pid 5149] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5148] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = 0 [pid 5150] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5148] <... openat resumed>) = 3 [pid 5103] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5150] <... prctl resumed>) = 0 [pid 5148] chdir("./file1" [pid 5103] <... openat resumed>) = 3 [pid 5150] setpgid(0, 0 [pid 5148] <... chdir resumed>) = 0 [pid 5150] <... setpgid resumed>) = 0 [pid 5148] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5150] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5148] <... openat resumed>) = -1 EBUSY (Device or resource busy) executing program [pid 5150] <... openat resumed>) = 3 [pid 5149] <... openat resumed>) = 3 [pid 5148] truncate("./file1", 0 [pid 5149] write(3, "1000", 4 [pid 5097] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] newfstatat(3, "", [pid 5149] <... write resumed>) = 4 [pid 5150] write(3, "1000", 4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5150] <... write resumed>) = 4 [pid 5097] newfstatat(AT_FDCWD, "./6/file1", [pid 5150] close(3 [pid 5148] <... truncate resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5148] memfd_create("syzkaller", 0 [pid 5097] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5150] <... close resumed>) = 0 [pid 5148] <... memfd_create resumed>) = 4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5148] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] openat(AT_FDCWD, "./6/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5150] symlink("/dev/binderfs", "./binderfs" [pid 5148] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... openat resumed>) = 4 [pid 5150] <... symlink resumed>) = 0 [pid 5149] close(3 [pid 5148] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] newfstatat(4, "", [pid 5149] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, [pid 5150] write(1, "executing program\n", 18 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5150] <... write resumed>) = 18 [pid 5149] symlink("/dev/binderfs", "./binderfs" [pid 5097] getdents64(4, [pid 5103] getdents64(3, [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4 [pid 5150] memfd_create("syzkaller", 0 [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./6/file1" [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... rmdir resumed>) = 0 [pid 5149] <... symlink resumed>) = 0 [pid 5150] <... memfd_create resumed>) = 3 [pid 5150] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5097] getdents64(3, [pid 5150] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5149] write(1, "executing program\n", 18 [pid 5148] <... write resumed>) = 524288 [pid 5103] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... ioctl resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 executing program [pid 5149] <... write resumed>) = 18 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5149] memfd_create("syzkaller", 0 [pid 5103] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5097] close(3 [pid 5149] <... memfd_create resumed>) = 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... close resumed>) = 0 [pid 5103] unlink("./6/binderfs" [pid 5149] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] rmdir("./6") = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5149] <... mmap resumed>) = 0x7f8438200000 [pid 5097] mkdir("./7", 0777 [pid 5103] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(3 [pid 5097] <... mkdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... openat resumed>) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5151 [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5151 attached [pid 5151] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5151] chdir("./7") = 0 [pid 5151] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5151] setpgid(0, 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5152 [pid 5151] <... setpgid resumed>) = 0 [pid 5151] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5148] munmap(0x7f8438200000, 138412032./strace-static-x86_64: Process 5152 attached executing program ) = 0 [pid 5152] set_robust_list(0x55556fbaa660, 24 [pid 5151] write(3, "1000", 4 [pid 5152] <... set_robust_list resumed>) = 0 [pid 5151] <... write resumed>) = 4 [pid 5152] chdir("./7" [pid 5151] close(3 [pid 5152] <... chdir resumed>) = 0 [pid 5151] <... close resumed>) = 0 [pid 5152] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5151] symlink("/dev/binderfs", "./binderfs" [pid 5152] <... prctl resumed>) = 0 [pid 5151] <... symlink resumed>) = 0 [pid 5152] setpgid(0, 0 [pid 5151] write(1, "executing program\n", 18 [pid 5150] <... write resumed>) = 524288 [pid 5152] <... setpgid resumed>) = 0 [pid 5151] <... write resumed>) = 18 [pid 5152] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5151] memfd_create("syzkaller", 0 [pid 5148] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5152] <... openat resumed>) = 3 [pid 5151] <... memfd_create resumed>) = 3 [pid 5150] munmap(0x7f8438200000, 138412032 [pid 5148] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5152] write(3, "1000", 4 [pid 5151] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5150] <... munmap resumed>) = 0 [pid 5149] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5148] close(4 [pid 5152] <... write resumed>) = 4 [pid 5151] <... mmap resumed>) = 0x7f8438200000 [pid 5148] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5150] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5152] close(3 [pid 5150] <... openat resumed>) = 4 [pid 5103] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5152] <... close resumed>) = 0 [pid 5150] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5152] symlink("/dev/binderfs", "./binderfs" [pid 5150] <... ioctl resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./6/file1", [pid 5152] <... symlink resumed>) = 0 [pid 5151] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5149] <... write resumed>) = 524288 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 executing program [pid 5152] write(1, "executing program\n", 18 [pid 5149] munmap(0x7f8438200000, 138412032 [pid 5103] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5148] exit_group(0 [pid 5149] <... munmap resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5152] <... write resumed>) = 18 [pid 5148] <... exit_group resumed>) = ? [pid 5152] memfd_create("syzkaller", 0 [pid 5103] openat(AT_FDCWD, "./6/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5152] <... memfd_create resumed>) = 3 [pid 5149] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] newfstatat(4, "", [pid 5152] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5150] close(3 [pid 5149] <... openat resumed>) = 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5152] <... mmap resumed>) = 0x7f8438200000 [pid 5150] <... close resumed>) = 0 [pid 5152] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5150] close(4 [pid 5149] ioctl(4, LOOP_SET_FD, 3 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5150] <... close resumed>) = 0 [pid 5150] mkdir("./file1", 0777 [pid 5151] <... write resumed>) = 524288 [pid 5150] <... mkdir resumed>) = 0 [pid 5148] +++ exited with 0 +++ [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5148, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5101] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5150] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] rmdir("./6/file1") = 0 [pid 5101] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5151] munmap(0x7f8438200000, 138412032 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5151] <... munmap resumed>) = 0 [pid 5149] <... ioctl resumed>) = 0 [pid 5103] getdents64(3, [pid 5101] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5149] close(3 [pid 5101] newfstatat(3, "", [pid 5103] close(3 [pid 5152] <... write resumed>) = 524288 [pid 5151] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5150] <... mount resumed>) = 0 [pid 5149] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 112.574274][ T5150] loop2: detected capacity change from 0 to 1024 [ 112.610542][ T5149] loop3: detected capacity change from 0 to 1024 [pid 5151] <... openat resumed>) = 4 [pid 5101] getdents64(3, [pid 5151] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5149] close(4 [pid 5103] <... close resumed>) = 0 [pid 5101] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5149] <... close resumed>) = 0 [pid 5103] rmdir("./6" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5150] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5150] <... openat resumed>) = 3 [pid 5149] mkdir("./file1", 0777 [pid 5103] <... rmdir resumed>) = 0 [pid 5150] chdir("./file1" [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5150] <... chdir resumed>) = 0 [pid 5149] <... mkdir resumed>) = 0 [pid 5103] mkdir("./7", 0777 [pid 5152] munmap(0x7f8438200000, 138412032 [pid 5150] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5149] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... mkdir resumed>) = 0 [pid 5101] unlink("./6/binderfs" [pid 5152] <... munmap resumed>) = 0 [pid 5150] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5152] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5150] truncate("./file1", 0 [pid 5152] <... openat resumed>) = 4 [pid 5151] <... ioctl resumed>) = 0 [pid 5151] close(3 [pid 5152] ioctl(4, LOOP_SET_FD, 3 [pid 5151] <... close resumed>) = 0 [pid 5151] close(4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... unlink resumed>) = 0 [pid 5151] <... close resumed>) = 0 [pid 5151] mkdir("./file1", 0777 [pid 5101] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... openat resumed>) = 3 [pid 5151] <... mkdir resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5150] <... truncate resumed>) = 0 [pid 5150] memfd_create("syzkaller", 0) = 4 [pid 5150] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5151] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5150] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = 0 [pid 5150] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5149] <... mount resumed>) = 0 [pid 5101] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./6/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5149] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5152] <... ioctl resumed>) = 0 [pid 5101] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [ 112.683920][ T5151] loop1: detected capacity change from 0 to 1024 [ 112.696849][ T5152] loop0: detected capacity change from 0 to 1024 [pid 5149] chdir("./file1" [pid 5152] close(3 [pid 5149] <... chdir resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5149] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] openat(AT_FDCWD, "./6/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5152] <... close resumed>) = 0 [pid 5152] close(4) = 0 [pid 5152] mkdir("./file1", 0777) = 0 [pid 5149] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... openat resumed>) = 4 [pid 5150] <... write resumed>) = 524288 [pid 5149] truncate("./file1", 0 [pid 5101] newfstatat(4, "", [pid 5103] close(3 [pid 5152] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5151] <... mount resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(4, [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5151] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5101] getdents64(4, [pid 5151] chdir("./file1") = 0 [pid 5151] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5151] truncate("./file1", 0 [pid 5101] <... close resumed>) = 0 ./strace-static-x86_64: Process 5153 attached [pid 5150] munmap(0x7f8438200000, 138412032 [pid 5149] <... truncate resumed>) = 0 [pid 5101] rmdir("./6/file1" [pid 5153] set_robust_list(0x55556fbaa660, 24 [pid 5150] <... munmap resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5153 [pid 5101] <... rmdir resumed>) = 0 [pid 5153] <... set_robust_list resumed>) = 0 [pid 5149] memfd_create("syzkaller", 0 [pid 5101] getdents64(3, [pid 5153] chdir("./7" [pid 5150] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5149] <... memfd_create resumed>) = 4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5153] <... chdir resumed>) = 0 [pid 5150] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5149] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] close(3 [pid 5153] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5149] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... close resumed>) = 0 [pid 5153] <... prctl resumed>) = 0 [pid 5150] close(4 [pid 5149] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] rmdir("./6" [pid 5153] setpgid(0, 0) = 0 [pid 5153] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5101] <... rmdir resumed>) = 0 [pid 5101] mkdir("./7", 0777 [pid 5152] <... mount resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5153] write(3, "1000", 4) = 4 [pid 5152] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5151] <... truncate resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5152] <... openat resumed>) = 3 [pid 5151] memfd_create("syzkaller", 0 [pid 5101] <... openat resumed>) = 3 [pid 5153] close(3 [pid 5151] <... memfd_create resumed>) = 4 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5153] <... close resumed>) = 0 [pid 5151] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5153] symlink("/dev/binderfs", "./binderfs" [pid 5151] <... mmap resumed>) = 0x7f8438200000 executing program [pid 5153] <... symlink resumed>) = 0 [pid 5151] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5153] write(1, "executing program\n", 18 [pid 5152] chdir("./file1" [pid 5153] <... write resumed>) = 18 [pid 5152] <... chdir resumed>) = 0 [pid 5150] <... close resumed>) = 0 [pid 5153] memfd_create("syzkaller", 0 [pid 5152] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5153] <... memfd_create resumed>) = 3 [pid 5152] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5153] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5152] truncate("./file1", 0 [pid 5153] <... mmap resumed>) = 0x7f8438200000 [pid 5153] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5151] <... write resumed>) = 524288 [pid 5150] exit_group(0 [pid 5149] <... write resumed>) = 524288 [pid 5152] <... truncate resumed>) = 0 [pid 5152] memfd_create("syzkaller", 0) = 4 [pid 5150] <... exit_group resumed>) = ? [pid 5152] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5150] +++ exited with 0 +++ [pid 5152] <... mmap resumed>) = 0x7f8438200000 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5150, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5152] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5099] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./7/binderfs") = 0 [pid 5099] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5151] munmap(0x7f8438200000, 138412032 [pid 5101] <... ioctl resumed>) = 0 [pid 5149] munmap(0x7f8438200000, 138412032 [pid 5151] <... munmap resumed>) = 0 [pid 5149] <... munmap resumed>) = 0 [ 112.871804][ T5119] I/O error, dev loop4, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [pid 5101] close(3 [pid 5153] <... write resumed>) = 524288 [pid 5152] <... write resumed>) = 524288 [pid 5151] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5149] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5153] munmap(0x7f8438200000, 138412032 [pid 5151] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5149] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5153] <... munmap resumed>) = 0 [pid 5151] close(4) = 0 [pid 5149] close(4./strace-static-x86_64: Process 5154 attached [pid 5152] munmap(0x7f8438200000, 138412032 [pid 5099] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5153] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5152] <... munmap resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5153] <... openat resumed>) = 4 [pid 5099] newfstatat(AT_FDCWD, "./7/file1", [pid 5153] ioctl(4, LOOP_SET_FD, 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5154] set_robust_list(0x55556fbaa660, 24 [pid 5153] <... ioctl resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5154 [pid 5099] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5152] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5152] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5152] close(4 [pid 5099] <... openat resumed>) = 4 [pid 5154] <... set_robust_list resumed>) = 0 [pid 5152] <... close resumed>) = 0 [pid 5149] <... close resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5154] chdir("./7" [pid 5149] exit_group(0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5151] exit_group(0) = ? [ 112.961663][ T5153] loop5: detected capacity change from 0 to 1024 [pid 5154] <... chdir resumed>) = 0 [pid 5151] +++ exited with 0 +++ [pid 5149] <... exit_group resumed>) = ? [pid 5154] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5099] rmdir("./7/file1") = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3 [pid 5149] +++ exited with 0 +++ [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./7" [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5151, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5154] <... prctl resumed>) = 0 [pid 5098] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5154] setpgid(0, 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5154] <... setpgid resumed>) = 0 [pid 5154] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5153] close(3 [pid 5152] exit_group(0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5149, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5153] <... close resumed>) = 0 [pid 5152] <... exit_group resumed>) = ? [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5099] mkdir("./8", 0777 [pid 5154] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", [pid 5154] write(3, "1000", 4 [pid 5153] close(4 [pid 5152] +++ exited with 0 +++ [pid 5100] <... restart_syscall resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5154] <... write resumed>) = 4 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5152, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5154] close(3 [pid 5153] <... close resumed>) = 0 [pid 5154] <... close resumed>) = 0 [pid 5098] getdents64(3, [pid 5154] symlink("/dev/binderfs", "./binderfs" [pid 5153] mkdir("./file1", 0777 [pid 5154] <... symlink resumed>) = 0 [pid 5153] <... mkdir resumed>) = 0 executing program [pid 5100] umount2("./6", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5154] write(1, "executing program\n", 18 [pid 5153] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5154] <... write resumed>) = 18 [pid 5154] memfd_create("syzkaller", 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... openat resumed>) = 3 [pid 5098] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5154] <... memfd_create resumed>) = 3 [pid 5097] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5154] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5154] <... mmap resumed>) = 0x7f8438200000 [pid 5100] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5097] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... openat resumed>) = 3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5097] newfstatat(3, "", [pid 5098] unlink("./7/binderfs" [pid 5100] newfstatat(3, "", [pid 5098] <... unlink resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5153] <... mount resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] getdents64(3, [pid 5100] getdents64(3, [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5153] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] umount2("./6/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5154] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5153] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5153] chdir("./file1" [pid 5100] newfstatat(AT_FDCWD, "./6/binderfs", [pid 5153] <... chdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./6/binderfs") = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5097] unlink("./7/binderfs" [pid 5153] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5153] truncate("./file1", 0 [pid 5100] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... unlink resumed>) = 0 [pid 5097] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./7/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, [pid 5154] <... write resumed>) = 524288 [pid 5153] <... truncate resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5153] memfd_create("syzkaller", 0 [pid 5098] getdents64(4, [pid 5097] <... umount2 resumed>) = 0 [pid 5153] <... memfd_create resumed>) = 4 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5153] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... close resumed>) = 0 [pid 5153] <... mmap resumed>) = 0x7f8438200000 [pid 5098] rmdir("./7/file1" [pid 5153] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5099] close(3 [pid 5098] <... rmdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] getdents64(3, [pid 5154] munmap(0x7f8438200000, 138412032 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5154] <... munmap resumed>) = 0 [pid 5098] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... close resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./7/file1", [pid 5098] rmdir("./7" [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5154] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] mkdir("./8", 0777 [pid 5097] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5154] <... openat resumed>) = 4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5155 [pid 5098] <... mkdir resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", [pid 5100] newfstatat(AT_FDCWD, "./6/file1", [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 ./strace-static-x86_64: Process 5155 attached [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] getdents64(4, [pid 5154] ioctl(4, LOOP_SET_FD, 3 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5155] set_robust_list(0x55556fbaa660, 24 [pid 5100] umount2("./6/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] getdents64(4, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] openat(AT_FDCWD, "./6/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] close(4 [pid 5155] <... set_robust_list resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5098] <... openat resumed>) = 3 [pid 5097] <... close resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5097] rmdir("./7/file1" [pid 5155] chdir("./8" [pid 5098] <... ioctl resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5098] close(3 [pid 5097] getdents64(3, [pid 5155] <... chdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5155] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] getdents64(4, [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] close(3 [pid 5155] <... prctl resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... close resumed>) = 0 [pid 5155] setpgid(0, 0 [pid 5100] getdents64(4, [pid 5097] rmdir("./7" [pid 5155] <... setpgid resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5155] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5153] <... write resumed>) = 524288 [pid 5100] close(4 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5156 [pid 5097] mkdir("./8", 0777 [pid 5155] <... openat resumed>) = 3 [pid 5100] <... close resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5155] write(3, "1000", 4 [pid 5100] rmdir("./6/file1" [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR./strace-static-x86_64: Process 5156 attached [pid 5155] <... write resumed>) = 4 [pid 5100] <... rmdir resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5156] set_robust_list(0x55556fbaa660, 24 [pid 5155] close(3 [pid 5154] <... ioctl resumed>) = 0 [pid 5153] munmap(0x7f8438200000, 138412032 [pid 5100] getdents64(3, [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5156] <... set_robust_list resumed>) = 0 [pid 5155] <... close resumed>) = 0 [pid 5154] close(3 [pid 5153] <... munmap resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5156] chdir("./8" [pid 5155] symlink("/dev/binderfs", "./binderfs" [pid 5154] <... close resumed>) = 0 [pid 5153] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] close(3 [pid 5097] close(3executing program [pid 5156] <... chdir resumed>) = 0 [pid 5155] <... symlink resumed>) = 0 [pid 5154] close(4 [pid 5153] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... close resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5156] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5155] write(1, "executing program\n", 18 [pid 5153] close(4 [pid 5100] rmdir("./6" [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5156] <... prctl resumed>) = 0 [pid 5155] <... write resumed>) = 18 [pid 5154] <... close resumed>) = 0 [pid 5153] <... close resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5156] setpgid(0, 0 [pid 5155] memfd_create("syzkaller", 0 [pid 5154] mkdir("./file1", 0777 [pid 5156] <... setpgid resumed>) = 0 [pid 5155] <... memfd_create resumed>) = 3 [pid 5156] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5155] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5157 [pid 5155] <... mmap resumed>) = 0x7f8438200000 [pid 5154] <... mkdir resumed>) = 0 [ 113.172070][ T5154] loop4: detected capacity change from 0 to 1024 [pid 5100] mkdir("./7", 0777executing program [pid 5155] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5154] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5157 attached [pid 5156] <... openat resumed>) = 3 [pid 5157] set_robust_list(0x55556fbaa660, 24 [pid 5156] write(3, "1000", 4 [pid 5157] <... set_robust_list resumed>) = 0 [pid 5156] <... write resumed>) = 4 [pid 5157] chdir("./8" [pid 5156] close(3 [pid 5157] <... chdir resumed>) = 0 [pid 5156] <... close resumed>) = 0 [pid 5156] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5157] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] <... openat resumed>) = 3 [pid 5157] <... prctl resumed>) = 0 [pid 5156] write(1, "executing program\n", 18 [pid 5153] exit_group(0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5157] setpgid(0, 0 [pid 5156] <... write resumed>) = 18 [pid 5153] <... exit_group resumed>) = ? [pid 5157] <... setpgid resumed>) = 0 [pid 5156] memfd_create("syzkaller", 0 [pid 5153] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5153, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5157] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5156] <... memfd_create resumed>) = 3 [pid 5156] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5156] <... mmap resumed>) = 0x7f8438200000 executing program [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5156] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5157] write(3, "1000", 4) = 4 [pid 5103] <... openat resumed>) = 3 [pid 5157] close(3 [pid 5103] newfstatat(3, "", [pid 5157] <... close resumed>) = 0 [pid 5157] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5157] <... symlink resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5157] write(1, "executing program\n", 18 [pid 5155] <... write resumed>) = 524288 [pid 5103] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5157] <... write resumed>) = 18 [pid 5103] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5157] memfd_create("syzkaller", 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5157] <... memfd_create resumed>) = 3 [pid 5103] unlink("./7/binderfs" [pid 5100] <... ioctl resumed>) = 0 [pid 5157] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] <... unlink resumed>) = 0 [pid 5156] <... write resumed>) = 524288 [pid 5103] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5157] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5155] munmap(0x7f8438200000, 138412032 [pid 5154] <... mount resumed>) = 0 [pid 5154] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5155] <... munmap resumed>) = 0 [pid 5155] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5154] <... openat resumed>) = 3 [pid 5155] <... openat resumed>) = 4 [pid 5155] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... umount2 resumed>) = 0 [pid 5154] chdir("./file1") = 0 [pid 5154] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5156] munmap(0x7f8438200000, 138412032 [pid 5154] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] close(3 [pid 5156] <... munmap resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5154] truncate("./file1", 0 [pid 5157] <... write resumed>) = 524288 [pid 5156] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5158 attached [pid 5156] <... openat resumed>) = 4 [pid 5103] newfstatat(AT_FDCWD, "./7/file1", [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5158 [pid 5158] set_robust_list(0x55556fbaa660, 24 [pid 5156] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5156] <... ioctl resumed>) = 0 [pid 5158] <... set_robust_list resumed>) = 0 [pid 5155] <... ioctl resumed>) = 0 [pid 5103] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5155] close(3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5158] chdir("./7" [pid 5155] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5158] <... chdir resumed>) = 0 [pid 5155] close(4 [pid 5103] <... openat resumed>) = 4 [pid 5158] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5155] <... close resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5158] <... prctl resumed>) = 0 [pid 5155] mkdir("./file1", 0777 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5158] setpgid(0, 0 [pid 5157] munmap(0x7f8438200000, 138412032 [pid 5155] <... mkdir resumed>) = 0 [pid 5103] getdents64(4, [pid 5158] <... setpgid resumed>) = 0 [pid 5157] <... munmap resumed>) = 0 [pid 5155] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5158] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] getdents64(4, [pid 5158] <... openat resumed>) = 3 [pid 5157] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5158] write(3, "1000", 4 [pid 5157] <... openat resumed>) = 4 [pid 5155] <... mount resumed>) = 0 [pid 5154] <... truncate resumed>) = 0 [pid 5103] close(4 [pid 5157] ioctl(4, LOOP_SET_FD, 3 [pid 5158] <... write resumed>) = 4 [pid 5103] <... close resumed>) = 0 [pid 5158] close(3 [pid 5103] rmdir("./7/file1" [pid 5154] memfd_create("syzkaller", 0 [pid 5158] <... close resumed>) = 0 [pid 5156] close(3 [pid 5103] <... rmdir resumed>) = 0 [pid 5158] symlink("/dev/binderfs", "./binderfs" [pid 5156] <... close resumed>) = 0 [ 113.296529][ T5155] loop2: detected capacity change from 0 to 1024 [ 113.322605][ T5156] loop1: detected capacity change from 0 to 1024 [pid 5158] <... symlink resumed>) = 0 [pid 5156] close(4 [pid 5154] <... memfd_create resumed>) = 4 [pid 5156] <... close resumed>) = 0 [pid 5155] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] getdents64(3, [pid 5156] mkdir("./file1", 0777 [pid 5155] <... openat resumed>) = 3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5158] write(1, "executing program\n", 18 [pid 5156] <... mkdir resumed>) = 0 [pid 5155] chdir("./file1" executing program [pid 5154] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] close(3 [pid 5158] <... write resumed>) = 18 [pid 5155] <... chdir resumed>) = 0 [pid 5154] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... close resumed>) = 0 [pid 5158] memfd_create("syzkaller", 0 [pid 5155] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] rmdir("./7" [pid 5158] <... memfd_create resumed>) = 3 [pid 5155] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... rmdir resumed>) = 0 [pid 5158] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5155] truncate("./file1", 0 [pid 5103] mkdir("./8", 0777 [pid 5158] <... mmap resumed>) = 0x7f8438200000 [pid 5156] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5154] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... mkdir resumed>) = 0 [pid 5155] <... truncate resumed>) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5155] memfd_create("syzkaller", 0 [pid 5103] <... openat resumed>) = 3 [pid 5155] <... memfd_create resumed>) = 4 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5155] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5157] <... ioctl resumed>) = 0 [pid 5155] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5157] close(3 [pid 5158] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5157] <... close resumed>) = 0 [pid 5157] close(4) = 0 [ 113.366457][ T5157] loop0: detected capacity change from 0 to 1024 [pid 5157] mkdir("./file1", 0777 [pid 5154] <... write resumed>) = 524288 [pid 5157] <... mkdir resumed>) = 0 [pid 5157] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5154] munmap(0x7f8438200000, 138412032 [pid 5158] <... write resumed>) = 524288 [pid 5154] <... munmap resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5158] munmap(0x7f8438200000, 138412032) = 0 [pid 5154] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5155] <... write resumed>) = 524288 [pid 5154] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5158] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5157] <... mount resumed>) = 0 [pid 5155] munmap(0x7f8438200000, 138412032 [pid 5158] <... openat resumed>) = 4 [pid 5155] <... munmap resumed>) = 0 [pid 5154] close(4 [pid 5158] ioctl(4, LOOP_SET_FD, 3 [pid 5157] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5155] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] close(3 [pid 5157] <... openat resumed>) = 3 [pid 5155] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... close resumed>) = 0 [pid 5157] chdir("./file1" [pid 5155] close(4 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5156] <... mount resumed>) = 0 [pid 5154] <... close resumed>) = 0 [pid 5156] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5157] <... chdir resumed>) = 0 [pid 5156] <... openat resumed>) = 3 [pid 5154] exit_group(0 [pid 5156] chdir("./file1" [pid 5154] <... exit_group resumed>) = ? [pid 5156] <... chdir resumed>) = 0 [pid 5157] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5156] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5155] <... close resumed>) = 0 [pid 5154] +++ exited with 0 +++ ./strace-static-x86_64: Process 5159 attached [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5154, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5159] set_robust_list(0x55556fbaa660, 24 [pid 5156] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5159] <... set_robust_list resumed>) = 0 [pid 5157] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5156] truncate("./file1", 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5159 [pid 5159] chdir("./8" [pid 5157] truncate("./file1", 0 [pid 5159] <... chdir resumed>) = 0 [pid 5155] exit_group(0 [pid 5101] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5159] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5159] <... prctl resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5159] setpgid(0, 0 [pid 5101] <... openat resumed>) = 3 [pid 5159] <... setpgid resumed>) = 0 [pid 5159] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5155] <... exit_group resumed>) = ? [pid 5101] newfstatat(3, "", [pid 5159] <... openat resumed>) = 3 [pid 5158] <... ioctl resumed>) = 0 [pid 5157] <... truncate resumed>) = 0 [pid 5156] <... truncate resumed>) = 0 [pid 5155] +++ exited with 0 +++ [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5159] write(3, "1000", 4 [pid 5157] memfd_create("syzkaller", 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5155, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5159] <... write resumed>) = 4 [ 113.498921][ T5158] loop3: detected capacity change from 0 to 1024 [pid 5158] close(3 [pid 5156] memfd_create("syzkaller", 0 [pid 5101] getdents64(3, [pid 5159] close(3executing program [pid 5158] <... close resumed>) = 0 [pid 5157] <... memfd_create resumed>) = 4 [pid 5159] <... close resumed>) = 0 [pid 5158] close(4 [pid 5157] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5156] <... memfd_create resumed>) = 4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5159] symlink("/dev/binderfs", "./binderfs" [pid 5158] <... close resumed>) = 0 [pid 5157] <... mmap resumed>) = 0x7f8438200000 [pid 5156] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5159] <... symlink resumed>) = 0 [pid 5157] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5156] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5159] write(1, "executing program\n", 18 [pid 5158] mkdir("./file1", 0777 [pid 5101] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5099] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5159] <... write resumed>) = 18 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5159] memfd_create("syzkaller", 0 [pid 5158] <... mkdir resumed>) = 0 [pid 5101] unlink("./7/binderfs" [pid 5159] <... memfd_create resumed>) = 3 [pid 5099] newfstatat(3, "", [pid 5159] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5101] <... unlink resumed>) = 0 [pid 5159] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5158] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5156] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./8/binderfs") = 0 [pid 5099] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5159] <... write resumed>) = 524288 [pid 5101] <... umount2 resumed>) = 0 [pid 5156] <... write resumed>) = 524288 [pid 5101] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5157] <... write resumed>) = 524288 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5157] munmap(0x7f8438200000, 138412032) = 0 [pid 5157] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5157] close(4 [pid 5159] munmap(0x7f8438200000, 138412032 [pid 5101] newfstatat(AT_FDCWD, "./7/file1", [pid 5156] munmap(0x7f8438200000, 138412032 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5159] <... munmap resumed>) = 0 [pid 5156] <... munmap resumed>) = 0 [pid 5101] <... openat resumed>) = 4 [pid 5158] <... mount resumed>) = 0 [pid 5156] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] newfstatat(4, "", [pid 5099] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] newfstatat(AT_FDCWD, "./8/file1", [pid 5159] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5156] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] getdents64(4, [pid 5159] <... openat resumed>) = 4 [pid 5158] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5156] close(4 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] getdents64(4, [pid 5157] <... close resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5158] <... openat resumed>) = 3 [pid 5159] ioctl(4, LOOP_SET_FD, 3 [pid 5158] chdir("./file1" [pid 5101] <... close resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./8/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5158] <... chdir resumed>) = 0 [pid 5101] rmdir("./7/file1" [pid 5158] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5157] exit_group(0 [pid 5156] <... close resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5157] <... exit_group resumed>) = ? [pid 5158] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5157] +++ exited with 0 +++ [pid 5101] getdents64(3, [pid 5099] newfstatat(4, "", [pid 5158] truncate("./file1", 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5157, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] close(3) = 0 [pid 5101] rmdir("./7" [pid 5099] getdents64(4, [pid 5101] <... rmdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, [pid 5097] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5156] exit_group(0 [pid 5101] mkdir("./8", 0777 [pid 5156] <... exit_group resumed>) = ? [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5159] <... ioctl resumed>) = 0 [pid 5158] <... truncate resumed>) = 0 [pid 5156] +++ exited with 0 +++ [pid 5101] <... mkdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5158] memfd_create("syzkaller", 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] close(4 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5156, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5159] close(3 [pid 5158] <... memfd_create resumed>) = 4 [pid 5101] <... openat resumed>) = 3 [pid 5099] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5159] <... close resumed>) = 0 [ 113.666750][ T5159] loop5: detected capacity change from 0 to 1024 [pid 5158] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] rmdir("./8/file1" [pid 5097] newfstatat(3, "", [pid 5159] close(4 [pid 5158] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5159] <... close resumed>) = 0 [pid 5158] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] getdents64(3, [pid 5098] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... openat resumed>) = 3 [pid 5097] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5159] mkdir("./file1", 0777 [pid 5098] newfstatat(3, "", [pid 5159] <... mkdir resumed>) = 0 [pid 5099] getdents64(3, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] getdents64(3, [pid 5099] close(3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5099] <... close resumed>) = 0 [pid 5098] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5159] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] rmdir("./8" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5158] <... write resumed>) = 524288 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5097] unlink("./8/binderfs" [pid 5099] mkdir("./9", 0777 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5158] munmap(0x7f8438200000, 138412032 [pid 5099] <... mkdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] unlink("./8/binderfs" [pid 5097] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5158] <... munmap resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... unlink resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5158] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5159] <... mount resumed>) = 0 [pid 5158] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5159] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5158] close(4 [pid 5159] <... openat resumed>) = 3 [pid 5101] <... ioctl resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5159] chdir("./file1" [pid 5101] close(3) = 0 [pid 5159] <... chdir resumed>) = 0 [pid 5159] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5159] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5158] <... close resumed>) = 0 ./strace-static-x86_64: Process 5160 attached [pid 5159] truncate("./file1", 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5097] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(AT_FDCWD, "./8/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(AT_FDCWD, "./8/file1", [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5160 [pid 5158] exit_group(0 [pid 5160] set_robust_list(0x55556fbaa660, 24 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5160] <... set_robust_list resumed>) = 0 [pid 5159] <... truncate resumed>) = 0 [pid 5158] <... exit_group resumed>) = ? [pid 5099] <... ioctl resumed>) = 0 [pid 5098] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] openat(AT_FDCWD, "./8/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5160] chdir("./8" [pid 5159] memfd_create("syzkaller", 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... openat resumed>) = 4 [pid 5160] <... chdir resumed>) = 0 [pid 5159] <... memfd_create resumed>) = 4 [pid 5099] close(3 [pid 5098] openat(AT_FDCWD, "./8/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5160] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5159] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", [pid 5160] <... prctl resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5098] newfstatat(4, "", [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5160] setpgid(0, 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5159] <... mmap resumed>) = 0x7f8438200000 [pid 5160] <... setpgid resumed>) = 0 [pid 5098] getdents64(4, [pid 5097] getdents64(4, [pid 5160] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5160] <... openat resumed>) = 3 [pid 5098] getdents64(4, [pid 5097] getdents64(4, [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5160] write(3, "1000", 4 [pid 5098] close(4 [pid 5097] close(4./strace-static-x86_64: Process 5161 attached [pid 5160] <... write resumed>) = 4 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5161 [pid 5098] <... close resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5161] set_robust_list(0x55556fbaa660, 24 [pid 5160] close(3 [pid 5158] +++ exited with 0 +++ [pid 5098] rmdir("./8/file1" [pid 5097] rmdir("./8/file1" [pid 5161] <... set_robust_list resumed>) = 0 [pid 5160] <... close resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5158, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5161] chdir("./9" [pid 5160] symlink("/dev/binderfs", "./binderfs" [pid 5100] umount2("./7", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... rmdir resumed>) = 0 [pid 5161] <... chdir resumed>) = 0 [pid 5160] <... symlink resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(3, [pid 5100] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5161] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5160] write(1, "executing program\n", 18 [pid 5100] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5161] <... prctl resumed>) = 0 [pid 5160] <... write resumed>) = 18 [pid 5100] newfstatat(3, "", [pid 5097] getdents64(3, [pid 5161] setpgid(0, 0 [pid 5160] memfd_create("syzkaller", 0 [pid 5159] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] close(3 [pid 5161] <... setpgid resumed>) = 0 [pid 5160] <... memfd_create resumed>) = 3 [pid 5100] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5161] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5160] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] rmdir("./8" [pid 5097] close(3 [pid 5161] <... openat resumed>) = 3 [pid 5160] <... mmap resumed>) = 0x7f8438200000 [pid 5100] umount2("./7/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5161] write(3, "1000", 4 [pid 5160] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./7/binderfs", [pid 5161] <... write resumed>) = 4 [pid 5161] close(3) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5161] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5097] rmdir("./8") = 0 executing program [pid 5161] write(1, "executing program\n", 18 [pid 5098] mkdir("./9", 0777 [pid 5161] <... write resumed>) = 18 [pid 5098] <... mkdir resumed>) = 0 [pid 5097] mkdir("./9", 0777 [pid 5161] memfd_create("syzkaller", 0 [pid 5100] unlink("./7/binderfs" [pid 5097] <... mkdir resumed>) = 0 [pid 5161] <... memfd_create resumed>) = 3 [pid 5100] <... unlink resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5161] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 3 [pid 5161] <... mmap resumed>) = 0x7f8438200000 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5161] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5159] <... write resumed>) = 524288 [pid 5097] <... openat resumed>) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5159] munmap(0x7f8438200000, 138412032 [pid 5160] <... write resumed>) = 524288 [pid 5100] <... umount2 resumed>) = 0 [pid 5100] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5159] <... munmap resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./7/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5159] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] umount2("./7/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5160] munmap(0x7f8438200000, 138412032 [pid 5161] <... write resumed>) = 524288 [pid 5159] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... ioctl resumed>) = 0 [pid 5161] munmap(0x7f8438200000, 138412032 [pid 5159] close(4 [pid 5100] openat(AT_FDCWD, "./7/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5161] <... munmap resumed>) = 0 [pid 5160] <... munmap resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5097] close(3 [pid 5100] newfstatat(4, "", [pid 5097] <... close resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5160] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5100] getdents64(4, [pid 5161] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5160] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5161] ioctl(4, LOOP_SET_FD, 3 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5162 [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./7/file1"./strace-static-x86_64: Process 5162 attached ) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5162] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5162] chdir("./9") = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5162] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] close(3 [pid 5162] <... prctl resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5162] setpgid(0, 0 [pid 5100] rmdir("./7" [pid 5162] <... setpgid resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5162] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] mkdir("./8", 0777 [pid 5159] <... close resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] close(3 [pid 5162] write(3, "1000", 4) = 4 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5162] close(3) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5162] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5098] <... close resumed>) = 0 [pid 5159] exit_group(0 [pid 5160] <... ioctl resumed>) = 0 [pid 5159] <... exit_group resumed>) = ? [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5160] close(3executing program [pid 5162] write(1, "executing program\n", 18 [pid 5161] <... ioctl resumed>) = 0 [pid 5162] <... write resumed>) = 18 [pid 5161] close(3 [pid 5162] memfd_create("syzkaller", 0 [pid 5161] <... close resumed>) = 0 [pid 5160] <... close resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5163 ./strace-static-x86_64: Process 5163 attached [pid 5162] <... memfd_create resumed>) = 3 [pid 5161] close(4 [pid 5163] set_robust_list(0x55556fbaa660, 24 [pid 5162] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5161] <... close resumed>) = 0 [pid 5163] <... set_robust_list resumed>) = 0 [pid 5162] <... mmap resumed>) = 0x7f8438200000 [pid 5161] mkdir("./file1", 0777 [pid 5163] chdir("./9" [pid 5161] <... mkdir resumed>) = 0 [pid 5160] close(4 [pid 5159] +++ exited with 0 +++ [pid 5163] <... chdir resumed>) = 0 [pid 5160] <... close resumed>) = 0 [pid 5163] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5162] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5161] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5160] mkdir("./file1", 0777 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5159, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5163] <... prctl resumed>) = 0 [pid 5103] restart_syscall(<... resuming interrupted clone ...> [pid 5163] setpgid(0, 0 [pid 5103] <... restart_syscall resumed>) = 0 [ 113.936114][ T5161] loop2: detected capacity change from 0 to 1024 [ 113.936181][ T5160] loop4: detected capacity change from 0 to 1024 [pid 5163] <... setpgid resumed>) = 0 [pid 5160] <... mkdir resumed>) = 0 [pid 5163] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5160] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5163] write(3, "1000", 4 [pid 5103] getdents64(3, [pid 5163] <... write resumed>) = 4 [pid 5161] <... mount resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5163] close(3 [pid 5161] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5163] <... close resumed>) = 0 [pid 5161] <... openat resumed>) = 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5163] symlink("/dev/binderfs", "./binderfs" [pid 5161] chdir("./file1" [pid 5103] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5163] <... symlink resumed>) = 0 [pid 5161] <... chdir resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5163] write(1, "executing program\n", 18 [pid 5162] <... write resumed>) = 524288 [pid 5161] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5160] <... mount resumed>) = 0 [pid 5103] unlink("./8/binderfs") = 0 executing program [pid 5163] <... write resumed>) = 18 [pid 5161] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... ioctl resumed>) = 0 [pid 5160] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5163] memfd_create("syzkaller", 0 [pid 5161] truncate("./file1", 0 [pid 5160] <... openat resumed>) = 3 [pid 5100] close(3 [pid 5163] <... memfd_create resumed>) = 3 [pid 5160] chdir("./file1" [pid 5100] <... close resumed>) = 0 [pid 5163] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5162] munmap(0x7f8438200000, 138412032 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5163] <... mmap resumed>) = 0x7f8438200000 [pid 5160] <... chdir resumed>) = 0 [pid 5163] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5160] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] <... umount2 resumed>) = 0 [pid 5162] <... munmap resumed>) = 0 [pid 5103] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5162] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5161] <... truncate resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5164 [pid 5162] <... openat resumed>) = 4 [pid 5161] memfd_create("syzkaller", 0 [pid 5160] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5164 attached [pid 5161] <... memfd_create resumed>) = 4 [pid 5164] set_robust_list(0x55556fbaa660, 24 [pid 5162] ioctl(4, LOOP_SET_FD, 3 [pid 5161] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5160] truncate("./file1", 0 [pid 5103] newfstatat(AT_FDCWD, "./8/file1", [pid 5164] <... set_robust_list resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5164] chdir("./8" [pid 5161] <... mmap resumed>) = 0x7f8438200000 [pid 5164] <... chdir resumed>) = 0 [pid 5164] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5164] <... prctl resumed>) = 0 [pid 5164] setpgid(0, 0) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5164] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] openat(AT_FDCWD, "./8/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5164] <... openat resumed>) = 3 [pid 5103] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5164] write(3, "1000", 4) = 4 [pid 5163] <... write resumed>) = 524288 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5164] close(3 [pid 5162] <... ioctl resumed>) = 0 [pid 5103] getdents64(4, [pid 5164] <... close resumed>) = 0 [pid 5162] close(3 [pid 5164] symlink("/dev/binderfs", "./binderfs" [pid 5162] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5164] <... symlink resumed>) = 0 [pid 5162] close(4 [pid 5103] getdents64(4, executing program [pid 5162] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5164] write(1, "executing program\n", 18 [pid 5162] mkdir("./file1", 0777 [pid 5103] close(4 [pid 5161] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5164] <... write resumed>) = 18 [pid 5162] <... mkdir resumed>) = 0 [pid 5160] <... truncate resumed>) = 0 [pid 5164] memfd_create("syzkaller", 0) = 3 [pid 5103] <... close resumed>) = 0 [pid 5164] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5163] munmap(0x7f8438200000, 138412032 [pid 5162] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5160] memfd_create("syzkaller", 0 [pid 5103] rmdir("./8/file1" [pid 5164] <... mmap resumed>) = 0x7f8438200000 [pid 5163] <... munmap resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5160] <... memfd_create resumed>) = 4 [pid 5160] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] getdents64(3, [pid 5163] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [ 114.078661][ T5162] loop0: detected capacity change from 0 to 1024 [pid 5103] close(3 [pid 5163] <... openat resumed>) = 4 [pid 5103] <... close resumed>) = 0 [pid 5163] ioctl(4, LOOP_SET_FD, 3 [pid 5103] rmdir("./8" [pid 5160] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... rmdir resumed>) = 0 [pid 5164] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5161] <... write resumed>) = 524288 [pid 5103] mkdir("./9", 0777 [pid 5162] <... mount resumed>) = 0 [pid 5162] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... mkdir resumed>) = 0 [pid 5162] <... openat resumed>) = 3 [pid 5161] munmap(0x7f8438200000, 138412032 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5164] <... write resumed>) = 524288 [pid 5162] chdir("./file1" [pid 5161] <... munmap resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5162] <... chdir resumed>) = 0 [pid 5163] <... ioctl resumed>) = 0 [pid 5162] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5163] close(3 [pid 5162] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5163] <... close resumed>) = 0 [pid 5162] truncate("./file1", 0 [pid 5164] munmap(0x7f8438200000, 138412032 [pid 5163] close(4 [pid 5162] <... truncate resumed>) = 0 [pid 5163] <... close resumed>) = 0 [pid 5162] memfd_create("syzkaller", 0 [pid 5161] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5164] <... munmap resumed>) = 0 [pid 5163] mkdir("./file1", 0777 [pid 5162] <... memfd_create resumed>) = 4 [pid 5161] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 114.135856][ T5163] loop1: detected capacity change from 0 to 1024 [pid 5163] <... mkdir resumed>) = 0 [pid 5162] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5161] close(4 [pid 5162] <... mmap resumed>) = 0x7f8438200000 [pid 5162] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5164] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5163] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5164] <... openat resumed>) = 4 [pid 5161] <... close resumed>) = 0 [pid 5164] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5160] <... write resumed>) = 524288 [pid 5160] munmap(0x7f8438200000, 138412032) = 0 [pid 5160] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5161] exit_group(0 [pid 5160] close(4 [pid 5103] <... ioctl resumed>) = 0 [pid 5164] close(3) = 0 [pid 5164] close(4 [pid 5160] <... close resumed>) = 0 [pid 5164] <... close resumed>) = 0 [pid 5164] mkdir("./file1", 0777) = 0 [pid 5163] <... mount resumed>) = 0 [pid 5163] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5164] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5163] <... openat resumed>) = 3 [pid 5162] <... write resumed>) = 524288 [pid 5163] chdir("./file1") = 0 [ 114.202205][ T5164] loop3: detected capacity change from 0 to 1024 [pid 5163] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5161] <... exit_group resumed>) = ? [pid 5103] close(3 [pid 5162] munmap(0x7f8438200000, 138412032 [pid 5103] <... close resumed>) = 0 [pid 5162] <... munmap resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5163] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5162] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5163] truncate("./file1", 0 [pid 5162] close(4 [pid 5164] <... mount resumed>) = 0 [pid 5161] +++ exited with 0 +++ [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5165 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5161, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- ./strace-static-x86_64: Process 5165 attached [pid 5164] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5163] <... truncate resumed>) = 0 [pid 5162] <... close resumed>) = 0 [pid 5160] exit_group(0 [pid 5165] set_robust_list(0x55556fbaa660, 24 [pid 5164] <... openat resumed>) = 3 [pid 5099] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5160] <... exit_group resumed>) = ? [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5165] <... set_robust_list resumed>) = 0 [pid 5164] chdir("./file1" [pid 5163] memfd_create("syzkaller", 0 [pid 5099] <... openat resumed>) = 3 [pid 5165] chdir("./9" [pid 5164] <... chdir resumed>) = 0 [pid 5163] <... memfd_create resumed>) = 4 [pid 5099] newfstatat(3, "", [pid 5165] <... chdir resumed>) = 0 [pid 5164] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5163] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5165] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5164] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5163] <... mmap resumed>) = 0x7f8438200000 [pid 5099] getdents64(3, [pid 5165] <... prctl resumed>) = 0 [pid 5164] truncate("./file1", 0 [pid 5163] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5162] exit_group(0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5165] setpgid(0, 0 [pid 5160] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5160, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5165] <... setpgid resumed>) = 0 [pid 5162] <... exit_group resumed>) = ? [pid 5099] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5162] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5162, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5165] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5101] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5165] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] unlink("./9/binderfs" [pid 5097] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5165] write(3, "1000", 4 [pid 5164] <... truncate resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5099] <... unlink resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(3, "", [pid 5165] <... write resumed>) = 4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5165] close(3 [pid 5101] getdents64(3, [pid 5165] <... close resumed>) = 0 [pid 5164] memfd_create("syzkaller", 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5165] symlink("/dev/binderfs", "./binderfs" [pid 5164] <... memfd_create resumed>) = 4 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 3 [pid 5101] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5165] <... symlink resumed>) = 0 [pid 5164] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] newfstatat(3, "", [pid 5101] unlink("./8/binderfs"executing program [pid 5164] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, [pid 5165] write(1, "executing program\n", 18 [pid 5164] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] <... unlink resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5165] <... write resumed>) = 18 [pid 5097] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5165] memfd_create("syzkaller", 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5165] <... memfd_create resumed>) = 3 [pid 5101] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5165] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5165] <... mmap resumed>) = 0x7f8438200000 [pid 5163] <... write resumed>) = 524288 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] unlink("./9/binderfs" [pid 5165] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5163] munmap(0x7f8438200000, 138412032 [pid 5097] <... unlink resumed>) = 0 [pid 5163] <... munmap resumed>) = 0 [pid 5097] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5163] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5163] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5163] close(4 [pid 5099] newfstatat(AT_FDCWD, "./9/file1", [pid 5101] <... umount2 resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] openat(AT_FDCWD, "./9/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... openat resumed>) = 4 [pid 5164] <... write resumed>) = 524288 [pid 5101] newfstatat(AT_FDCWD, "./8/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(4, [pid 5101] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5163] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] openat(AT_FDCWD, "./8/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] close(4 [pid 5097] <... umount2 resumed>) = 0 [pid 5164] munmap(0x7f8438200000, 138412032 [pid 5163] exit_group(0 [pid 5101] <... openat resumed>) = 4 [pid 5099] <... close resumed>) = 0 [pid 5101] newfstatat(4, "", [pid 5164] <... munmap resumed>) = 0 [pid 5163] <... exit_group resumed>) = ? [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] rmdir("./9/file1" [pid 5101] getdents64(4, [pid 5164] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5163] +++ exited with 0 +++ [pid 5099] <... rmdir resumed>) = 0 [pid 5164] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] getdents64(3, [pid 5164] close(4 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5163, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5165] <... write resumed>) = 524288 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5165] munmap(0x7f8438200000, 138412032 [pid 5099] <... close resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./9/file1", [pid 5165] <... munmap resumed>) = 0 [pid 5101] getdents64(4, [pid 5099] rmdir("./9" [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] close(4 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... close resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] rmdir("./8/file1" [pid 5165] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5164] <... close resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5099] mkdir("./10", 0777 [pid 5098] <... openat resumed>) = 3 [pid 5097] openat(AT_FDCWD, "./9/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] getdents64(3, [pid 5098] newfstatat(3, "", [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5165] <... openat resumed>) = 4 [pid 5101] close(3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5101] <... close resumed>) = 0 [pid 5098] getdents64(3, [pid 5101] rmdir("./8" [pid 5165] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... rmdir resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] newfstatat(4, "", [pid 5101] mkdir("./9", 0777 [pid 5098] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] getdents64(4, [pid 5101] <... mkdir resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] getdents64(4, [pid 5098] unlink("./9/binderfs" [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5164] exit_group(0 [pid 5097] close(4 [pid 5098] <... unlink resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5164] <... exit_group resumed>) = ? [pid 5097] rmdir("./9/file1" [pid 5164] +++ exited with 0 +++ [pid 5097] <... rmdir resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5164, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3) = 0 [pid 5097] rmdir("./9") = 0 [pid 5100] umount2("./8", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] mkdir("./10", 0777 [pid 5165] <... ioctl resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = 0 [pid 5165] close(3 [pid 5097] <... mkdir resumed>) = 0 [pid 5165] <... close resumed>) = 0 [pid 5165] close(4) = 0 [pid 5165] mkdir("./file1", 0777) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... openat resumed>) = 3 [ 114.478774][ T5165] loop5: detected capacity change from 0 to 1024 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5165] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] newfstatat(3, "", [pid 5099] <... ioctl resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5098] newfstatat(AT_FDCWD, "./9/file1", [pid 5100] getdents64(3, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./8/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] close(3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... ioctl resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./8/binderfs", [pid 5098] openat(AT_FDCWD, "./9/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5097] close(3 [pid 5165] <... mount resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] unlink("./8/binderfs" [pid 5099] <... close resumed>) = 0 [pid 5098] newfstatat(4, "", [pid 5165] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... close resumed>) = 0 [pid 5165] <... openat resumed>) = 3 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5165] chdir("./file1") = 0 [pid 5165] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5165] truncate("./file1", 0 [pid 5100] <... unlink resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(4, [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5167 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 ./strace-static-x86_64: Process 5167 attached [pid 5098] getdents64(4, [pid 5167] set_robust_list(0x55556fbaa660, 24 [pid 5101] close(3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5166 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./9/file1"./strace-static-x86_64: Process 5166 attached [pid 5166] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5166] chdir("./10" [pid 5098] <... rmdir resumed>) = 0 [pid 5167] <... set_robust_list resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5098] getdents64(3, [pid 5166] <... chdir resumed>) = 0 [pid 5166] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5167] chdir("./10" [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3 [pid 5166] <... prctl resumed>) = 0 [pid 5166] setpgid(0, 0) = 0 [pid 5166] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5098] <... close resumed>) = 0 [pid 5167] <... chdir resumed>) = 0 [pid 5165] <... truncate resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5098] rmdir("./9" [pid 5167] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5166] write(3, "1000", 4 [pid 5165] memfd_create("syzkaller", 0 [pid 5166] <... write resumed>) = 4 [pid 5165] <... memfd_create resumed>) = 4 [pid 5166] close(3 [pid 5167] <... prctl resumed>) = 0 [pid 5165] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5166] <... close resumed>) = 0 [pid 5167] setpgid(0, 0 [pid 5165] <... mmap resumed>) = 0x7f8438200000 [pid 5098] mkdir("./10", 0777 [pid 5167] <... setpgid resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5168 [pid 5166] symlink("/dev/binderfs", "./binderfs" [pid 5167] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5165] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5168 attached [pid 5166] <... symlink resumed>) = 0 [pid 5167] <... openat resumed>) = 3 [pid 5100] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5168] set_robust_list(0x55556fbaa660, 24 [pid 5166] write(1, "executing program\n", 18 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5168] <... set_robust_list resumed>) = 0 [pid 5166] <... write resumed>) = 18 [pid 5167] write(3, "1000", 4 [pid 5100] newfstatat(AT_FDCWD, "./8/file1", [pid 5098] <... openat resumed>) = 3 [pid 5166] memfd_create("syzkaller", 0 [pid 5165] <... write resumed>) = 524288 [pid 5166] <... memfd_create resumed>) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5166] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5167] <... write resumed>) = 4 [pid 5168] chdir("./9" [pid 5166] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5167] close(3 [pid 5100] umount2("./8/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5167] <... close resumed>) = 0 [pid 5167] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./8/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5168] <... chdir resumed>) = 0 [pid 5167] <... symlink resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5100] newfstatat(4, "", [pid 5168] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5167] write(1, "executing program\n", 18 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5168] <... prctl resumed>) = 0 [pid 5167] <... write resumed>) = 18 [pid 5100] getdents64(4, [pid 5168] setpgid(0, 0 [pid 5167] memfd_create("syzkaller", 0 [pid 5168] <... setpgid resumed>) = 0 [pid 5167] <... memfd_create resumed>) = 3 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5168] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5167] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] getdents64(4, [pid 5168] <... openat resumed>) = 3 [pid 5167] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5168] write(3, "1000", 4 [pid 5100] close(4 [pid 5165] munmap(0x7f8438200000, 138412032) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./8/file1" [pid 5168] <... write resumed>) = 4 [pid 5165] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5100] <... rmdir resumed>) = 0 [pid 5168] close(3) = 0 [pid 5167] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5165] close(4 [pid 5100] getdents64(3, [pid 5168] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5165] <... close resumed>) = 0 [pid 5166] <... write resumed>) = 524288 [pid 5166] munmap(0x7f8438200000, 138412032) = 0 executing program [pid 5168] write(1, "executing program\n", 18 [pid 5166] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5168] <... write resumed>) = 18 [pid 5166] <... openat resumed>) = 4 [pid 5100] close(3 [pid 5168] memfd_create("syzkaller", 0 [pid 5166] ioctl(4, LOOP_SET_FD, 3 [pid 5165] exit_group(0 [pid 5168] <... memfd_create resumed>) = 3 [pid 5165] <... exit_group resumed>) = ? [pid 5100] <... close resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5098] close(3 [pid 5100] rmdir("./8" [pid 5098] <... close resumed>) = 0 [pid 5168] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5167] <... write resumed>) = 524288 [pid 5100] <... rmdir resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5165] +++ exited with 0 +++ [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5169 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5165, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5168] <... mmap resumed>) = 0x7f8438200000 [pid 5167] munmap(0x7f8438200000, 138412032 [pid 5103] restart_syscall(<... resuming interrupted clone ...> [pid 5100] mkdir("./9", 0777./strace-static-x86_64: Process 5169 attached [pid 5168] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5166] <... ioctl resumed>) = 0 [pid 5167] <... munmap resumed>) = 0 [pid 5103] <... restart_syscall resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5169] set_robust_list(0x55556fbaa660, 24 [pid 5166] close(3 [pid 5100] <... openat resumed>) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5169] <... set_robust_list resumed>) = 0 [pid 5166] <... close resumed>) = 0 [pid 5103] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5169] chdir("./10" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5166] close(4 [pid 5169] <... chdir resumed>) = 0 [pid 5166] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5167] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5167] <... openat resumed>) = 4 [pid 5167] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 114.760676][ T5166] loop0: detected capacity change from 0 to 1024 [pid 5169] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5166] mkdir("./file1", 0777 [pid 5103] unlink("./9/binderfs") = 0 [pid 5103] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5169] <... prctl resumed>) = 0 [pid 5166] <... mkdir resumed>) = 0 [pid 5169] setpgid(0, 0 [pid 5166] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5168] <... write resumed>) = 524288 [pid 5169] <... setpgid resumed>) = 0 [pid 5168] munmap(0x7f8438200000, 138412032 [pid 5166] <... mount resumed>) = 0 [pid 5167] <... ioctl resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5169] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5168] <... munmap resumed>) = 0 [pid 5166] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5167] close(3 [pid 5103] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5169] <... openat resumed>) = 3 [pid 5168] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5167] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5168] <... openat resumed>) = 4 [pid 5166] <... openat resumed>) = 3 [pid 5167] close(4 [pid 5103] newfstatat(AT_FDCWD, "./9/file1", [pid 5168] ioctl(4, LOOP_SET_FD, 3 [pid 5166] chdir("./file1" [pid 5167] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5169] write(3, "1000", 4 [pid 5167] mkdir("./file1", 0777 [pid 5169] <... write resumed>) = 4 [pid 5166] <... chdir resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5166] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5167] <... mkdir resumed>) = 0 [pid 5166] truncate("./file1", 0 [pid 5103] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./9/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5103] newfstatat(4, "", [pid 5169] close(3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5169] <... close resumed>) = 0 [pid 5103] getdents64(4, [pid 5169] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5167] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4 [pid 5168] <... ioctl resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5168] close(3 [pid 5103] rmdir("./9/file1" [pid 5168] <... close resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5169] <... symlink resumed>) = 0 [pid 5168] close(4 [pid 5167] <... mount resumed>) = 0 executing program [pid 5169] write(1, "executing program\n", 18 [pid 5167] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5169] <... write resumed>) = 18 [pid 5168] <... close resumed>) = 0 [pid 5166] <... truncate resumed>) = 0 [pid 5167] <... openat resumed>) = 3 [pid 5103] getdents64(3, [pid 5100] close(3 [pid 5168] mkdir("./file1", 0777 [ 114.811221][ T5167] loop2: detected capacity change from 0 to 1024 [ 114.840825][ T5168] loop4: detected capacity change from 0 to 1024 [pid 5167] chdir("./file1" [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5169] memfd_create("syzkaller", 0 [pid 5168] <... mkdir resumed>) = 0 [pid 5166] memfd_create("syzkaller", 0 [pid 5167] <... chdir resumed>) = 0 [pid 5103] close(3 [pid 5100] <... close resumed>) = 0 [pid 5169] <... memfd_create resumed>) = 3 [pid 5166] <... memfd_create resumed>) = 4 [pid 5169] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5167] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5166] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5169] <... mmap resumed>) = 0x7f8438200000 [pid 5167] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... close resumed>) = 0 [pid 5168] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5167] truncate("./file1", 0 [pid 5103] rmdir("./9") = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5170 [pid 5166] <... mmap resumed>) = 0x7f8438200000 [pid 5103] mkdir("./10", 0777./strace-static-x86_64: Process 5170 attached [pid 5169] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... mkdir resumed>) = 0 [pid 5170] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5167] <... truncate resumed>) = 0 [pid 5167] memfd_create("syzkaller", 0 [pid 5170] chdir("./9" [pid 5167] <... memfd_create resumed>) = 4 [pid 5170] <... chdir resumed>) = 0 [pid 5167] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5170] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5168] <... mount resumed>) = 0 [pid 5167] <... mmap resumed>) = 0x7f8438200000 [pid 5170] <... prctl resumed>) = 0 [pid 5168] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5166] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5168] <... openat resumed>) = 3 [pid 5168] chdir("./file1" [pid 5170] setpgid(0, 0 [pid 5168] <... chdir resumed>) = 0 [pid 5170] <... setpgid resumed>) = 0 [pid 5168] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5170] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5168] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... openat resumed>) = 3 [pid 5168] truncate("./file1", 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5170] <... openat resumed>) = 3 [pid 5167] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5170] write(3, "1000", 4) = 4 [pid 5169] <... write resumed>) = 524288 [pid 5170] close(3) = 0 [pid 5170] symlink("/dev/binderfs", "./binderfs" [pid 5168] <... truncate resumed>) = 0 [pid 5168] memfd_create("syzkaller", 0 [pid 5170] <... symlink resumed>) = 0 [pid 5168] <... memfd_create resumed>) = 4 [pid 5168] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 executing program [pid 5168] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5170] write(1, "executing program\n", 18) = 18 [pid 5170] memfd_create("syzkaller", 0 [pid 5169] munmap(0x7f8438200000, 138412032 [pid 5166] <... write resumed>) = 524288 [pid 5169] <... munmap resumed>) = 0 [pid 5167] <... write resumed>) = 524288 [pid 5170] <... memfd_create resumed>) = 3 [pid 5170] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5169] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5166] munmap(0x7f8438200000, 138412032 [pid 5167] munmap(0x7f8438200000, 138412032 [pid 5170] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... ioctl resumed>) = 0 [pid 5167] <... munmap resumed>) = 0 [pid 5167] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5167] close(4 [pid 5169] <... openat resumed>) = 4 [pid 5169] ioctl(4, LOOP_SET_FD, 3 [pid 5168] <... write resumed>) = 524288 [pid 5166] <... munmap resumed>) = 0 [pid 5103] close(3 [pid 5169] <... ioctl resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5166] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5168] munmap(0x7f8438200000, 138412032) = 0 [pid 5166] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5166] close(4 [pid 5168] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5171 [pid 5168] close(4./strace-static-x86_64: Process 5171 attached [pid 5171] set_robust_list(0x55556fbaa660, 24 [pid 5167] <... close resumed>) = 0 [pid 5171] <... set_robust_list resumed>) = 0 [pid 5167] exit_group(0 [pid 5171] chdir("./10" [pid 5167] <... exit_group resumed>) = ? [pid 5171] <... chdir resumed>) = 0 [pid 5167] +++ exited with 0 +++ [pid 5171] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5167, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5171] <... prctl resumed>) = 0 [pid 5171] setpgid(0, 0) = 0 [pid 5171] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5166] <... close resumed>) = 0 [pid 5171] <... openat resumed>) = 3 [pid 5170] <... write resumed>) = 524288 [ 114.992698][ T5169] loop1: detected capacity change from 0 to 1024 [pid 5169] close(3 [pid 5171] write(3, "1000", 4 [pid 5170] munmap(0x7f8438200000, 138412032executing program [pid 5169] <... close resumed>) = 0 [pid 5166] exit_group(0 [pid 5169] close(4 [pid 5166] <... exit_group resumed>) = ? [pid 5099] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5171] <... write resumed>) = 4 [pid 5099] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5171] close(3 [pid 5099] <... openat resumed>) = 3 [pid 5171] <... close resumed>) = 0 [pid 5099] newfstatat(3, "", [pid 5171] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5171] write(1, "executing program\n", 18 [pid 5166] +++ exited with 0 +++ [pid 5099] getdents64(3, [pid 5171] <... write resumed>) = 18 [pid 5169] <... close resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5166, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5171] memfd_create("syzkaller", 0 [pid 5170] <... munmap resumed>) = 0 [pid 5169] mkdir("./file1", 0777 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5171] <... memfd_create resumed>) = 3 [pid 5099] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5171] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5171] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5170] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5169] <... mkdir resumed>) = 0 [pid 5168] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5170] <... openat resumed>) = 4 [pid 5168] exit_group(0 [pid 5169] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5097] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5168] <... exit_group resumed>) = ? [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./10/binderfs" [pid 5097] <... openat resumed>) = 3 [pid 5099] <... unlink resumed>) = 0 [pid 5097] newfstatat(3, "", [pid 5170] ioctl(4, LOOP_SET_FD, 3 [pid 5168] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5168, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5099] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, [pid 5101] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] newfstatat(3, "", [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./9/binderfs") = 0 [pid 5101] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5171] <... write resumed>) = 524288 [pid 5170] <... ioctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5170] close(3 [pid 5097] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5170] <... close resumed>) = 0 [pid 5170] close(4) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5170] mkdir("./file1", 0777 [pid 5169] <... mount resumed>) = 0 [pid 5097] unlink("./10/binderfs" [pid 5099] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... unlink resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./10/file1", [pid 5170] <... mkdir resumed>) = 0 [pid 5169] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5170] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5169] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = 0 [pid 5099] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5169] chdir("./file1" [pid 5171] munmap(0x7f8438200000, 138412032 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5171] <... munmap resumed>) = 0 [pid 5169] <... chdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./10/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5169] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] <... openat resumed>) = 4 [pid 5099] newfstatat(4, "", [pid 5171] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5169] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5169] truncate("./file1", 0 [pid 5171] <... openat resumed>) = 4 [pid 5099] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] close(4 [pid 5171] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 115.083226][ T5170] loop3: detected capacity change from 0 to 1024 [pid 5099] <... close resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./9/file1", [pid 5170] <... mount resumed>) = 0 [pid 5169] <... truncate resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] rmdir("./10/file1" [pid 5170] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5169] memfd_create("syzkaller", 0 [pid 5101] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... rmdir resumed>) = 0 [pid 5097] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5169] <... memfd_create resumed>) = 4 [pid 5171] <... ioctl resumed>) = 0 [pid 5170] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(3, [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5170] chdir("./file1" [pid 5169] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] openat(AT_FDCWD, "./9/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] newfstatat(AT_FDCWD, "./10/file1", [pid 5171] close(3 [pid 5170] <... chdir resumed>) = 0 [pid 5169] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... openat resumed>) = 4 [pid 5099] close(3 [pid 5171] <... close resumed>) = 0 [pid 5170] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5169] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] newfstatat(4, "", [pid 5099] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] rmdir("./10" [pid 5170] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] getdents64(4, [pid 5099] <... rmdir resumed>) = 0 [pid 5171] close(4 [pid 5170] truncate("./file1", 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] mkdir("./11", 0777 [pid 5171] <... close resumed>) = 0 [pid 5101] getdents64(4, [pid 5099] <... mkdir resumed>) = 0 [pid 5171] mkdir("./file1", 0777) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] close(4) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5171] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] rmdir("./9/file1") = 0 [pid 5097] openat(AT_FDCWD, "./10/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] getdents64(3, [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5097] <... openat resumed>) = 4 [ 115.148732][ T5171] loop5: detected capacity change from 0 to 1024 [pid 5101] close(3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5171] <... mount resumed>) = 0 [pid 5170] <... truncate resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5171] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] rmdir("./9" [pid 5171] <... openat resumed>) = 3 [pid 5101] <... rmdir resumed>) = 0 [pid 5171] chdir("./file1") = 0 [pid 5171] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] mkdir("./10", 0777 [pid 5171] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5171] truncate("./file1", 0 [pid 5170] memfd_create("syzkaller", 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5170] <... memfd_create resumed>) = 4 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] getdents64(4, [pid 5170] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5170] <... mmap resumed>) = 0x7f8438200000 [pid 5171] <... truncate resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5171] memfd_create("syzkaller", 0) = 4 [pid 5171] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5171] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5170] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4 [pid 5169] <... write resumed>) = 524288 [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./10/file1" [pid 5171] <... write resumed>) = 524288 [pid 5097] <... rmdir resumed>) = 0 [pid 5169] munmap(0x7f8438200000, 138412032 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5171] munmap(0x7f8438200000, 138412032 [pid 5169] <... munmap resumed>) = 0 [pid 5097] close(3) = 0 [pid 5171] <... munmap resumed>) = 0 [pid 5097] rmdir("./10" [pid 5171] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5097] <... rmdir resumed>) = 0 [pid 5170] <... write resumed>) = 524288 [pid 5169] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] mkdir("./11", 0777 [pid 5171] close(4 [pid 5169] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... ioctl resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5171] <... close resumed>) = 0 [pid 5170] munmap(0x7f8438200000, 138412032 [pid 5169] close(4 [pid 5099] <... ioctl resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] close(3) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5170] <... munmap resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5169] <... close resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5172 [pid 5171] exit_group(0) = ? [pid 5101] close(3) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5170] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) ./strace-static-x86_64: Process 5172 attached [pid 5172] set_robust_list(0x55556fbaa660, 24 [pid 5170] close(4 [pid 5171] +++ exited with 0 +++ [pid 5169] exit_group(0 [pid 5172] <... set_robust_list resumed>) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5171, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5173 ./strace-static-x86_64: Process 5173 attached [pid 5173] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5173] chdir("./10" [pid 5170] <... close resumed>) = 0 [pid 5172] chdir("./11" [pid 5169] <... exit_group resumed>) = ? [pid 5172] <... chdir resumed>) = 0 [pid 5173] <... chdir resumed>) = 0 [pid 5173] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5173] setpgid(0, 0) = 0 [pid 5172] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5173] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5172] <... prctl resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5172] setpgid(0, 0 [pid 5103] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5172] <... setpgid resumed>) = 0 [pid 5170] exit_group(0 [pid 5169] +++ exited with 0 +++ [pid 5103] <... openat resumed>) = 3 executing program executing program [pid 5173] <... openat resumed>) = 3 [pid 5172] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5170] <... exit_group resumed>) = ? [pid 5103] newfstatat(3, "", [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5169, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5173] write(3, "1000", 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5173] <... write resumed>) = 4 [pid 5172] <... openat resumed>) = 3 [pid 5103] getdents64(3, [pid 5098] <... restart_syscall resumed>) = 0 [pid 5173] close(3 [pid 5172] write(3, "1000", 4 [pid 5173] <... close resumed>) = 0 [pid 5172] <... write resumed>) = 4 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5173] symlink("/dev/binderfs", "./binderfs" [pid 5172] close(3 [pid 5173] <... symlink resumed>) = 0 [pid 5172] <... close resumed>) = 0 [pid 5098] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5172] symlink("/dev/binderfs", "./binderfs" [pid 5103] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5173] write(1, "executing program\n", 18 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5173] <... write resumed>) = 18 [pid 5172] <... symlink resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5098] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5173] memfd_create("syzkaller", 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5173] <... memfd_create resumed>) = 3 [pid 5103] unlink("./10/binderfs" [pid 5098] newfstatat(3, "", [pid 5103] <... unlink resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5173] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5098] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5172] write(1, "executing program\n", 18 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5172] <... write resumed>) = 18 [pid 5170] +++ exited with 0 +++ [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./10/binderfs" [pid 5172] memfd_create("syzkaller", 0 [pid 5098] <... unlink resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5170, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5172] <... memfd_create resumed>) = 3 [pid 5100] umount2("./9", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5172] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5173] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5172] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... umount2 resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5098] <... umount2 resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5173] <... write resumed>) = 524288 [pid 5172] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] newfstatat(3, "", [pid 5097] close(3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... close resumed>) = 0 [pid 5100] getdents64(3, [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./9/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5174 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./10/file1", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./10/file1", [pid 5100] newfstatat(AT_FDCWD, "./9/binderfs", [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5174 attached [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5174] set_robust_list(0x55556fbaa660, 24 [pid 5103] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] unlink("./9/binderfs" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./10/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] openat(AT_FDCWD, "./10/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... unlink resumed>) = 0 [pid 5098] <... openat resumed>) = 4 [pid 5103] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5174] <... set_robust_list resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5100] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, [pid 5098] getdents64(4, [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] getdents64(4, [pid 5103] close(4) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] rmdir("./10/file1" [pid 5098] close(4 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5174] chdir("./11" [pid 5103] getdents64(3, [pid 5098] rmdir("./10/file1" [pid 5174] <... chdir resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5174] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] close(3 [pid 5098] <... rmdir resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5174] <... prctl resumed>) = 0 [pid 5103] rmdir("./10" [pid 5174] setpgid(0, 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] getdents64(3, [pid 5174] <... setpgid resumed>) = 0 [pid 5173] munmap(0x7f8438200000, 138412032 [pid 5103] mkdir("./11", 0777 [pid 5174] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5174] <... openat resumed>) = 3 [pid 5173] <... munmap resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5098] close(3) = 0 [pid 5174] write(3, "1000", 4 [pid 5098] rmdir("./10") = 0 [pid 5174] <... write resumed>) = 4 [pid 5173] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... umount2 resumed>) = 0 [pid 5174] close(3) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5174] symlink("/dev/binderfs", "./binderfs" [pid 5173] <... openat resumed>) = 4 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] mkdir("./11", 0777 [pid 5174] <... symlink resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5173] ioctl(4, LOOP_SET_FD, 3 [pid 5174] write(1, "executing program\n", 18 [pid 5172] <... write resumed>) = 524288 [pid 5100] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5174] <... write resumed>) = 18 [pid 5172] munmap(0x7f8438200000, 138412032 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5174] memfd_create("syzkaller", 0 [pid 5100] newfstatat(AT_FDCWD, "./9/file1", [pid 5174] <... memfd_create resumed>) = 3 [pid 5172] <... munmap resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5100] umount2("./9/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5174] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5174] <... mmap resumed>) = 0x7f8438200000 [pid 5172] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5173] <... ioctl resumed>) = 0 [pid 5174] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5172] <... openat resumed>) = 4 [pid 5100] openat(AT_FDCWD, "./9/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5173] close(3 [pid 5172] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... openat resumed>) = 4 [pid 5173] <... close resumed>) = 0 [pid 5173] close(4) = 0 [pid 5173] mkdir("./file1", 0777) = 0 [pid 5174] <... write resumed>) = 524288 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5173] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5172] <... ioctl resumed>) = 0 [pid 5100] getdents64(4, [pid 5172] close(3) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5172] close(4 [pid 5100] getdents64(4, [pid 5174] munmap(0x7f8438200000, 138412032 [pid 5172] <... close resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5172] mkdir("./file1", 0777 [pid 5174] <... munmap resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [ 115.470968][ T5173] loop4: detected capacity change from 0 to 1024 [ 115.504950][ T5172] loop2: detected capacity change from 0 to 1024 [pid 5174] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5172] <... mkdir resumed>) = 0 [pid 5174] ioctl(4, LOOP_SET_FD, 3 [pid 5173] <... mount resumed>) = 0 [pid 5172] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] close(3 [pid 5100] close(4 [pid 5098] <... ioctl resumed>) = 0 [pid 5174] <... ioctl resumed>) = 0 [pid 5173] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./9/file1" [pid 5173] <... openat resumed>) = 3 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5173] chdir("./file1" [pid 5100] <... rmdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5173] <... chdir resumed>) = 0 [pid 5173] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3 [pid 5174] close(3 [pid 5173] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... close resumed>) = 0 [pid 5174] <... close resumed>) = 0 [pid 5174] close(4) = 0 [pid 5174] mkdir("./file1", 0777) = 0 [pid 5100] rmdir("./9" [pid 5173] truncate("./file1", 0 [pid 5172] <... mount resumed>) = 0 [pid 5098] close(3 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5175 [pid 5098] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5172] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... rmdir resumed>) = 0 [pid 5173] <... truncate resumed>) = 0 [pid 5172] <... openat resumed>) = 3 [pid 5173] memfd_create("syzkaller", 0 [pid 5100] mkdir("./10", 0777./strace-static-x86_64: Process 5175 attached [pid 5174] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5173] <... memfd_create resumed>) = 4 [pid 5173] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5173] <... mmap resumed>) = 0x7f8438200000 [pid 5175] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5175] chdir("./11" [pid 5172] chdir("./file1" [pid 5175] <... chdir resumed>) = 0 [pid 5174] <... mount resumed>) = 0 [pid 5172] <... chdir resumed>) = 0 [pid 5175] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5176 [pid 5174] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY./strace-static-x86_64: Process 5176 attached [pid 5175] setpgid(0, 0 [pid 5174] <... openat resumed>) = 3 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5175] <... setpgid resumed>) = 0 [pid 5174] chdir("./file1" [ 115.542044][ T5174] loop0: detected capacity change from 0 to 1024 [pid 5176] set_robust_list(0x55556fbaa660, 24 [pid 5175] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5174] <... chdir resumed>) = 0 [pid 5173] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5172] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... openat resumed>) = 3 [pid 5176] <... set_robust_list resumed>) = 0 [pid 5172] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5172] truncate("./file1", 0 [pid 5176] chdir("./11" [pid 5175] <... openat resumed>) = 3 [pid 5175] write(3, "1000", 4 [pid 5174] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5175] <... write resumed>) = 4 [pid 5174] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5176] <... chdir resumed>) = 0 [pid 5175] close(3 [pid 5174] truncate("./file1", 0 [pid 5175] <... close resumed>) = 0 [pid 5176] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5175] symlink("/dev/binderfs", "./binderfs" [pid 5176] setpgid(0, 0 [pid 5175] <... symlink resumed>) = 0 [pid 5172] <... truncate resumed>) = 0 [pid 5176] <... setpgid resumed>) = 0 [pid 5175] write(1, "executing program\n", 18executing program [pid 5176] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5172] memfd_create("syzkaller", 0 [pid 5175] <... write resumed>) = 18 [pid 5176] <... openat resumed>) = 3 [pid 5175] memfd_create("syzkaller", 0 [pid 5172] <... memfd_create resumed>) = 4 [pid 5175] <... memfd_create resumed>) = 3 [pid 5176] write(3, "1000", 4 [pid 5175] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5172] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5175] <... mmap resumed>) = 0x7f8438200000 [pid 5174] <... truncate resumed>) = 0 [pid 5176] <... write resumed>) = 4 [pid 5175] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5174] memfd_create("syzkaller", 0 [pid 5173] <... write resumed>) = 524288 [pid 5172] <... mmap resumed>) = 0x7f8438200000 [pid 5176] close(3) = 0 [pid 5174] <... memfd_create resumed>) = 4 [pid 5174] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5172] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5176] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5174] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5173] munmap(0x7f8438200000, 138412032 [pid 5176] write(1, "executing program\n", 18executing program ) = 18 [pid 5173] <... munmap resumed>) = 0 [pid 5176] memfd_create("syzkaller", 0 [pid 5173] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5176] <... memfd_create resumed>) = 3 [pid 5173] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5176] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5174] <... write resumed>) = 524288 [pid 5100] <... ioctl resumed>) = 0 [pid 5175] <... write resumed>) = 524288 [pid 5175] munmap(0x7f8438200000, 138412032 [pid 5176] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5175] <... munmap resumed>) = 0 [pid 5174] munmap(0x7f8438200000, 138412032 [pid 5173] close(4 [pid 5172] <... write resumed>) = 524288 [pid 5100] close(3 [pid 5175] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5174] <... munmap resumed>) = 0 [pid 5172] munmap(0x7f8438200000, 138412032 [pid 5100] <... close resumed>) = 0 [pid 5175] <... openat resumed>) = 4 [pid 5175] ioctl(4, LOOP_SET_FD, 3 [pid 5173] <... close resumed>) = 0 [pid 5172] <... munmap resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5174] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5172] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5174] close(4 [pid 5172] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5173] exit_group(0 [pid 5172] close(4./strace-static-x86_64: Process 5177 attached [pid 5176] <... write resumed>) = 524288 [pid 5173] <... exit_group resumed>) = ? [pid 5172] <... close resumed>) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5177 [pid 5177] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5177] chdir("./10") = 0 [pid 5177] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5176] munmap(0x7f8438200000, 138412032 [pid 5177] <... prctl resumed>) = 0 [pid 5177] setpgid(0, 0) = 0 [pid 5173] +++ exited with 0 +++ [pid 5175] <... ioctl resumed>) = 0 [pid 5177] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5176] <... munmap resumed>) = 0 [pid 5175] close(3 [pid 5174] <... close resumed>) = 0 [pid 5175] <... close resumed>) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5173, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5177] <... openat resumed>) = 3 [pid 5176] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5175] close(4 [pid 5101] <... restart_syscall resumed>) = 0 [pid 5175] <... close resumed>) = 0 [pid 5177] write(3, "1000", 4 [pid 5176] <... openat resumed>) = 4 [ 115.681156][ T5175] loop5: detected capacity change from 0 to 1024 [pid 5174] exit_group(0 [pid 5177] <... write resumed>) = 4 [pid 5176] ioctl(4, LOOP_SET_FD, 3 [pid 5175] mkdir("./file1", 0777 [pid 5174] <... exit_group resumed>) = ? [pid 5177] close(3 [pid 5175] <... mkdir resumed>) = 0 [pid 5174] +++ exited with 0 +++ [pid 5101] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5172] exit_group(0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5172] <... exit_group resumed>) = ? [pid 5101] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5177] <... close resumed>) = 0 [pid 5175] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... openat resumed>) = 3 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5174, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5177] symlink("/dev/binderfs", "./binderfs" [pid 5101] newfstatat(3, "", executing program {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5177] <... symlink resumed>) = 0 [pid 5101] getdents64(3, [pid 5177] write(1, "executing program\n", 18 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5177] <... write resumed>) = 18 [pid 5101] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5177] memfd_create("syzkaller", 0 [pid 5176] <... ioctl resumed>) = 0 [pid 5172] +++ exited with 0 +++ [pid 5101] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5097] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5177] <... memfd_create resumed>) = 3 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5172, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5177] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5176] close(3 [pid 5175] <... mount resumed>) = 0 [pid 5101] unlink("./10/binderfs" [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5177] <... mmap resumed>) = 0x7f8438200000 [pid 5176] <... close resumed>) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5177] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5176] close(4 [pid 5175] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... openat resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5176] <... close resumed>) = 0 [pid 5175] <... openat resumed>) = 3 [pid 5099] <... openat resumed>) = 3 [ 115.736416][ T5176] loop1: detected capacity change from 0 to 1024 [pid 5097] newfstatat(3, "", [pid 5176] mkdir("./file1", 0777 [pid 5175] chdir("./file1" [pid 5099] newfstatat(3, "", [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5176] <... mkdir resumed>) = 0 [pid 5099] getdents64(3, [pid 5175] <... chdir resumed>) = 0 [pid 5097] getdents64(3, [pid 5175] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5176] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5175] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5175] truncate("./file1", 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] unlink("./11/binderfs") = 0 [pid 5097] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5099] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5177] <... write resumed>) = 524288 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5175] <... truncate resumed>) = 0 [pid 5176] <... mount resumed>) = 0 [pid 5097] unlink("./11/binderfs" [pid 5176] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5175] memfd_create("syzkaller", 0 [pid 5101] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... unlink resumed>) = 0 [pid 5176] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5176] chdir("./file1" [pid 5175] <... memfd_create resumed>) = 4 [pid 5101] newfstatat(AT_FDCWD, "./10/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5177] munmap(0x7f8438200000, 138412032 [pid 5176] <... chdir resumed>) = 0 [pid 5175] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5176] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] openat(AT_FDCWD, "./10/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5176] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... openat resumed>) = 4 [pid 5101] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5177] <... munmap resumed>) = 0 [pid 5176] truncate("./file1", 0 [pid 5175] <... mmap resumed>) = 0x7f8438200000 [pid 5101] getdents64(4, [pid 5099] <... umount2 resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4) = 0 [pid 5101] rmdir("./10/file1") = 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3) = 0 [pid 5101] rmdir("./10" [pid 5175] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5099] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5177] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] <... umount2 resumed>) = 0 [pid 5176] <... truncate resumed>) = 0 [pid 5177] <... openat resumed>) = 4 [pid 5176] memfd_create("syzkaller", 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5097] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5177] ioctl(4, LOOP_SET_FD, 3 [pid 5176] <... memfd_create resumed>) = 4 [pid 5101] mkdir("./11", 0777 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5176] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./11/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./11/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5099] newfstatat(4, "", [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5097] newfstatat(AT_FDCWD, "./11/file1", [pid 5176] <... mmap resumed>) = 0x7f8438200000 [pid 5099] rmdir("./11/file1" [pid 5176] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5175] <... write resumed>) = 524288 [pid 5097] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5175] munmap(0x7f8438200000, 138412032 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5175] <... munmap resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./11/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5175] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] getdents64(3, [pid 5097] newfstatat(4, "", [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] close(3 [pid 5097] getdents64(4, [pid 5099] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5175] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] close(4 [pid 5177] <... ioctl resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5177] close(3 [pid 5097] rmdir("./11/file1" [pid 5177] <... close resumed>) = 0 [pid 5177] close(4 [pid 5099] rmdir("./11" [pid 5177] <... close resumed>) = 0 [pid 5175] close(4 [pid 5099] <... rmdir resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5177] mkdir("./file1", 0777 [pid 5099] mkdir("./12", 0777 [pid 5177] <... mkdir resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD) = 0 [pid 5099] close(3) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5177] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... ioctl resumed>) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [ 115.882938][ T5177] loop3: detected capacity change from 0 to 1024 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5178 [pid 5097] close(3) = 0 ./strace-static-x86_64: Process 5178 attached [pid 5178] set_robust_list(0x55556fbaa660, 24 [pid 5097] rmdir("./11" [pid 5178] <... set_robust_list resumed>) = 0 [pid 5178] chdir("./12") = 0 [pid 5178] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5175] <... close resumed>) = 0 [pid 5178] setpgid(0, 0) = 0 [pid 5178] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] <... rmdir resumed>) = 0 [pid 5178] <... openat resumed>) = 3 [pid 5178] write(3, "1000", 4 [pid 5097] mkdir("./12", 0777 [pid 5178] <... write resumed>) = 4 [pid 5101] close(3 [pid 5178] close(3 [pid 5101] <... close resumed>) = 0 [pid 5178] <... close resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5178] symlink("/dev/binderfs", "./binderfs" [pid 5177] <... mount resumed>) = 0 [pid 5176] <... write resumed>) = 524288 [pid 5175] exit_group(0 [pid 5097] <... mkdir resumed>) = 0 [pid 5178] <... symlink resumed>) = 0 executing program [pid 5177] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5176] munmap(0x7f8438200000, 138412032 [pid 5175] <... exit_group resumed>) = ? [pid 5178] write(1, "executing program\n", 18 [pid 5177] <... openat resumed>) = 3 [pid 5178] <... write resumed>) = 18 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5179 [pid 5178] memfd_create("syzkaller", 0 [pid 5176] <... munmap resumed>) = 0 [pid 5178] <... memfd_create resumed>) = 3 [pid 5178] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 5179 attached ) = 0x7f8438200000 [pid 5177] chdir("./file1" [pid 5176] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5175] +++ exited with 0 +++ [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5177] <... chdir resumed>) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5175, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5179] set_robust_list(0x55556fbaa660, 24 [pid 5178] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5177] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5176] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... openat resumed>) = 3 [pid 5179] <... set_robust_list resumed>) = 0 [pid 5177] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5176] close(4 [pid 5103] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5176] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5177] truncate("./file1", 0 [pid 5103] <... openat resumed>) = 3 [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5179] chdir("./11" [pid 5178] <... write resumed>) = 524288 [pid 5103] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./11/binderfs" [pid 5177] <... truncate resumed>) = 0 [pid 5179] <... chdir resumed>) = 0 [pid 5177] memfd_create("syzkaller", 0 [pid 5103] <... unlink resumed>) = 0 [pid 5177] <... memfd_create resumed>) = 4 [pid 5179] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5177] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5176] exit_group(0 [pid 5177] <... mmap resumed>) = 0x7f8438200000 [pid 5176] <... exit_group resumed>) = ? [pid 5179] <... prctl resumed>) = 0 [pid 5176] +++ exited with 0 +++ [pid 5179] setpgid(0, 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5176, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5179] <... setpgid resumed>) = 0 [pid 5178] munmap(0x7f8438200000, 138412032 [pid 5177] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5179] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5178] <... munmap resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5178] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] newfstatat(3, "", [pid 5178] <... openat resumed>) = 4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5178] ioctl(4, LOOP_SET_FD, 3 [pid 5098] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] <... ioctl resumed>) = 0 [pid 5179] <... openat resumed>) = 3 [pid 5098] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./11/binderfs" [pid 5179] write(3, "1000", 4 [pid 5103] <... umount2 resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5179] <... write resumed>) = 4 executing program [pid 5179] close(3 [pid 5103] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5179] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5179] symlink("/dev/binderfs", "./binderfs" [pid 5103] newfstatat(AT_FDCWD, "./11/file1", [pid 5179] <... symlink resumed>) = 0 [pid 5179] write(1, "executing program\n", 18 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5179] <... write resumed>) = 18 [pid 5103] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5179] memfd_create("syzkaller", 0 [pid 5103] openat(AT_FDCWD, "./11/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5177] <... write resumed>) = 524288 [pid 5179] <... memfd_create resumed>) = 3 [pid 5177] munmap(0x7f8438200000, 138412032 [pid 5103] <... openat resumed>) = 4 [pid 5097] close(3 [pid 5179] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] newfstatat(4, "", [pid 5179] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... close resumed>) = 0 [pid 5178] <... ioctl resumed>) = 0 [pid 5177] <... munmap resumed>) = 0 [pid 5179] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5178] close(3 [pid 5103] getdents64(4, [pid 5098] <... umount2 resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5178] <... close resumed>) = 0 [ 116.059551][ T5178] loop2: detected capacity change from 0 to 1024 [pid 5178] close(4 [pid 5098] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5178] <... close resumed>) = 0 [pid 5178] mkdir("./file1", 0777 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5178] <... mkdir resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5177] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5098] newfstatat(AT_FDCWD, "./11/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5178] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] getdents64(4, [pid 5098] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5180 ./strace-static-x86_64: Process 5180 attached [pid 5177] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5180] set_robust_list(0x55556fbaa660, 24 [pid 5177] close(4 [pid 5103] close(4 [pid 5098] openat(AT_FDCWD, "./11/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] <... close resumed>) = 0 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5098] rmdir("./11/file1" [pid 5180] <... set_robust_list resumed>) = 0 [pid 5177] <... close resumed>) = 0 [pid 5103] rmdir("./11/file1" [pid 5180] chdir("./12" [pid 5179] <... write resumed>) = 524288 [pid 5177] exit_group(0 [pid 5180] <... chdir resumed>) = 0 [pid 5179] munmap(0x7f8438200000, 138412032 [pid 5177] <... exit_group resumed>) = ? [pid 5180] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5180] setpgid(0, 0 [pid 5179] <... munmap resumed>) = 0 [pid 5178] <... mount resumed>) = 0 [pid 5177] +++ exited with 0 +++ [pid 5180] <... setpgid resumed>) = 0 [pid 5179] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5180] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5178] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5177, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5179] <... openat resumed>) = 4 [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5180] <... openat resumed>) = 3 [pid 5179] ioctl(4, LOOP_SET_FD, 3 [pid 5178] <... openat resumed>) = 3 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5178] chdir("./file1") = 0 [pid 5178] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5178] truncate("./file1", 0) = 0 [pid 5178] memfd_create("syzkaller", 0) = 4 [pid 5178] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5180] write(3, "1000", 4) = 4 [pid 5178] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] umount2("./10", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5180] close(3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5180] <... close resumed>) = 0 [pid 5180] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... openat resumed>) = 3 [pid 5103] <... rmdir resumed>) = 0 executing program [pid 5180] <... symlink resumed>) = 0 [pid 5179] <... ioctl resumed>) = 0 [pid 5103] getdents64(3, [pid 5100] newfstatat(3, "", [pid 5098] <... rmdir resumed>) = 0 [pid 5180] write(1, "executing program\n", 18 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5180] <... write resumed>) = 18 [pid 5179] close(3 [pid 5103] close(3 [pid 5180] memfd_create("syzkaller", 0 [pid 5179] <... close resumed>) = 0 [pid 5178] <... write resumed>) = 524288 [pid 5103] <... close resumed>) = 0 [pid 5100] getdents64(3, [pid 5098] getdents64(3, [pid 5180] <... memfd_create resumed>) = 3 [pid 5179] close(4 [pid 5178] munmap(0x7f8438200000, 138412032 [pid 5103] rmdir("./11" [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5180] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5179] <... close resumed>) = 0 [pid 5178] <... munmap resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5100] umount2("./10/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5180] <... mmap resumed>) = 0x7f8438200000 [pid 5179] mkdir("./file1", 0777 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5179] <... mkdir resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./10/binderfs", [pid 5098] close(3 [ 116.180394][ T5179] loop4: detected capacity change from 0 to 1024 [pid 5179] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5180] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] mkdir("./12", 0777 [pid 5100] unlink("./10/binderfs" [pid 5098] <... close resumed>) = 0 [pid 5178] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5098] rmdir("./11" [pid 5100] <... unlink resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5178] close(4 [pid 5103] <... mkdir resumed>) = 0 [pid 5100] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] mkdir("./12", 0777) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5179] <... mount resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5100] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./10/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./10/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5179] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] openat(AT_FDCWD, "./10/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5179] <... openat resumed>) = 3 [pid 5178] <... close resumed>) = 0 [pid 5100] <... openat resumed>) = 4 [pid 5179] chdir("./file1") = 0 [pid 5179] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5179] truncate("./file1", 0 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(4, [pid 5180] <... write resumed>) = 524288 [pid 5179] <... truncate resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5179] memfd_create("syzkaller", 0 [pid 5178] exit_group(0 [pid 5100] <... close resumed>) = 0 [pid 5178] <... exit_group resumed>) = ? [pid 5100] rmdir("./10/file1" [pid 5179] <... memfd_create resumed>) = 4 [pid 5179] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5178] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5178, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5179] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... rmdir resumed>) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3 [pid 5180] munmap(0x7f8438200000, 138412032 [pid 5100] <... close resumed>) = 0 [pid 5180] <... munmap resumed>) = 0 [pid 5100] rmdir("./10") = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5100] mkdir("./11", 0777 [pid 5098] <... ioctl resumed>) = 0 [pid 5099] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5180] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... mkdir resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5180] <... openat resumed>) = 4 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... openat resumed>) = 3 [pid 5099] newfstatat(3, "", [pid 5180] ioctl(4, LOOP_SET_FD, 3 [pid 5100] <... openat resumed>) = 3 [pid 5179] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5098] close(3 [pid 5103] close(3) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... close resumed>) = 0 [pid 5099] unlink("./12/binderfs" [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5181 [pid 5180] <... ioctl resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 ./strace-static-x86_64: Process 5181 attached ./strace-static-x86_64: Process 5182 attached [pid 5180] close(3 [pid 5099] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5180] <... close resumed>) = 0 [pid 5180] close(4) = 0 [pid 5181] set_robust_list(0x55556fbaa660, 24 [pid 5182] set_robust_list(0x55556fbaa660, 24 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5182 [pid 5181] <... set_robust_list resumed>) = 0 [pid 5180] mkdir("./file1", 0777 [pid 5181] chdir("./12" [pid 5182] <... set_robust_list resumed>) = 0 [pid 5180] <... mkdir resumed>) = 0 [pid 5182] chdir("./12" [pid 5181] <... chdir resumed>) = 0 [pid 5181] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5181] setpgid(0, 0) = 0 [pid 5181] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 116.315699][ T5180] loop0: detected capacity change from 0 to 1024 [pid 5180] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5181] write(3, "1000", 4) = 4 [pid 5181] close(3) = 0 [pid 5182] <... chdir resumed>) = 0 [pid 5180] <... mount resumed>) = 0 [pid 5179] <... write resumed>) = 524288 [pid 5099] <... umount2 resumed>) = 0 [pid 5182] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5180] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5182] <... prctl resumed>) = 0 [pid 5181] symlink("/dev/binderfs", "./binderfs" [pid 5180] <... openat resumed>) = 3 [pid 5179] munmap(0x7f8438200000, 138412032 [pid 5100] <... ioctl resumed>) = 0 [pid 5099] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5181] <... symlink resumed>) = 0 [pid 5180] chdir("./file1" [pid 5179] <... munmap resumed>) = 0 [pid 5182] setpgid(0, 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 5182] <... setpgid resumed>) = 0 [pid 5180] <... chdir resumed>) = 0 [pid 5179] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] newfstatat(AT_FDCWD, "./12/file1", [pid 5182] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5179] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5181] write(1, "executing program\n", 18 [pid 5182] <... openat resumed>) = 3 [pid 5181] <... write resumed>) = 18 [pid 5180] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5179] close(4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5181] memfd_create("syzkaller", 0 [pid 5180] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] openat(AT_FDCWD, "./12/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5180] truncate("./file1", 0 [pid 5099] <... openat resumed>) = 4 [pid 5099] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(4, [pid 5181] <... memfd_create resumed>) = 3 [pid 5180] <... truncate resumed>) = 0 [pid 5181] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5180] memfd_create("syzkaller", 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5182] write(3, "1000", 4 [pid 5181] <... mmap resumed>) = 0x7f8438200000 [pid 5180] <... memfd_create resumed>) = 4 [pid 5100] close(3 [pid 5182] <... write resumed>) = 4 [pid 5181] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5180] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... close resumed>) = 0 [pid 5099] getdents64(4, [pid 5182] close(3 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5182] <... close resumed>) = 0 [pid 5099] close(4) = 0 [pid 5182] symlink("/dev/binderfs", "./binderfs" [pid 5180] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5183 [pid 5182] <... symlink resumed>) = 0 ./strace-static-x86_64: Process 5183 attached [pid 5183] set_robust_list(0x55556fbaa660, 24 [pid 5182] write(1, "executing program\n", 18 [pid 5179] <... close resumed>) = 0 [pid 5099] rmdir("./12/file1" [pid 5183] <... set_robust_list resumed>) = 0 [pid 5180] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288executing program [pid 5183] chdir("./11" [pid 5182] <... write resumed>) = 18 [pid 5181] <... write resumed>) = 524288 [pid 5099] <... rmdir resumed>) = 0 [pid 5183] <... chdir resumed>) = 0 [pid 5182] memfd_create("syzkaller", 0 [pid 5179] exit_group(0 [pid 5183] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5183] setpgid(0, 0) = 0 [pid 5182] <... memfd_create resumed>) = 3 [pid 5179] <... exit_group resumed>) = ? [pid 5099] getdents64(3, [pid 5183] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5183] write(3, "1000", 4) = 4 [pid 5183] close(3) = 0 [pid 5182] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5180] <... write resumed>) = 524288 [pid 5179] +++ exited with 0 +++ [pid 5099] close(3 [pid 5183] symlink("/dev/binderfs", "./binderfs" [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5179, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5183] <... symlink resumed>) = 0 executing program [pid 5101] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5183] write(1, "executing program\n", 18 [pid 5101] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5183] <... write resumed>) = 18 [pid 5182] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... openat resumed>) = 3 [pid 5099] <... close resumed>) = 0 [pid 5183] memfd_create("syzkaller", 0 [pid 5182] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5181] munmap(0x7f8438200000, 138412032 [pid 5180] munmap(0x7f8438200000, 138412032 [pid 5101] newfstatat(3, "", [pid 5099] rmdir("./12" [pid 5183] <... memfd_create resumed>) = 3 [pid 5181] <... munmap resumed>) = 0 [pid 5180] <... munmap resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5183] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5181] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5180] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] getdents64(3, [pid 5099] <... rmdir resumed>) = 0 [pid 5183] <... mmap resumed>) = 0x7f8438200000 [pid 5181] <... openat resumed>) = 4 [pid 5180] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5183] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] mkdir("./13", 0777 [pid 5181] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5182] <... write resumed>) = 524288 [pid 5180] close(4 [pid 5099] <... mkdir resumed>) = 0 [pid 5183] <... write resumed>) = 524288 [pid 5101] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./11/binderfs") = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... openat resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5180] <... close resumed>) = 0 [pid 5181] <... ioctl resumed>) = 0 [pid 5181] close(3) = 0 [pid 5181] close(4) = 0 [pid 5181] mkdir("./file1", 0777 [pid 5183] munmap(0x7f8438200000, 138412032) = 0 [pid 5180] exit_group(0 [pid 5182] munmap(0x7f8438200000, 138412032 [pid 5181] <... mkdir resumed>) = 0 [pid 5180] <... exit_group resumed>) = ? [pid 5183] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5181] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5183] <... openat resumed>) = 4 [pid 5182] <... munmap resumed>) = 0 [pid 5180] +++ exited with 0 +++ [ 116.510407][ T5181] loop5: detected capacity change from 0 to 1024 [pid 5183] ioctl(4, LOOP_SET_FD, 3 [pid 5182] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5180, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5097] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5097] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./12/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./12/binderfs") = 0 [pid 5182] <... openat resumed>) = 4 [pid 5097] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5182] ioctl(4, LOOP_SET_FD, 3 [pid 5181] <... mount resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5181] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... umount2 resumed>) = 0 [pid 5181] <... openat resumed>) = 3 [pid 5181] chdir("./file1" [pid 5182] <... ioctl resumed>) = 0 [pid 5181] <... chdir resumed>) = 0 [pid 5181] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5181] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5181] truncate("./file1", 0 [pid 5101] newfstatat(AT_FDCWD, "./11/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./11/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5101] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] close(3 [pid 5101] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4) = 0 [pid 5181] <... truncate resumed>) = 0 [pid 5101] rmdir("./11/file1" [pid 5183] <... ioctl resumed>) = 0 [pid 5181] memfd_create("syzkaller", 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5183] close(3 [pid 5099] <... close resumed>) = 0 [pid 5183] <... close resumed>) = 0 [pid 5182] close(3 [pid 5181] <... memfd_create resumed>) = 4 [pid 5101] getdents64(3, [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] newfstatat(AT_FDCWD, "./12/file1", [pid 5183] close(4 [pid 5182] <... close resumed>) = 0 [pid 5181] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5183] <... close resumed>) = 0 [pid 5181] <... mmap resumed>) = 0x7f8438200000 [ 116.557047][ T5183] loop3: detected capacity change from 0 to 1024 [ 116.592003][ T5182] loop1: detected capacity change from 0 to 1024 [pid 5183] mkdir("./file1", 0777 [pid 5182] close(4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5183] <... mkdir resumed>) = 0 [pid 5182] <... close resumed>) = 0 [pid 5101] close(3) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5184 [pid 5101] rmdir("./11") = 0 ./strace-static-x86_64: Process 5184 attached [pid 5183] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5182] mkdir("./file1", 0777 [pid 5181] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] mkdir("./12", 0777 [pid 5097] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5184] set_robust_list(0x55556fbaa660, 24 [pid 5182] <... mkdir resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5184] <... set_robust_list resumed>) = 0 [pid 5182] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] openat(AT_FDCWD, "./12/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5097] <... openat resumed>) = 4 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5184] chdir("./13" [pid 5097] newfstatat(4, "", [pid 5184] <... chdir resumed>) = 0 [pid 5184] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5184] <... prctl resumed>) = 0 [pid 5184] setpgid(0, 0 [pid 5097] getdents64(4, [pid 5184] <... setpgid resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, [pid 5184] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5184] <... openat resumed>) = 3 [pid 5097] close(4 [pid 5184] write(3, "1000", 4) = 4 [pid 5097] <... close resumed>) = 0 [pid 5184] close(3 [pid 5182] <... mount resumed>) = 0 [pid 5097] rmdir("./12/file1" [pid 5184] <... close resumed>) = 0 [pid 5184] symlink("/dev/binderfs", "./binderfs" [pid 5181] <... write resumed>) = 524288 [pid 5097] <... rmdir resumed>) = 0 executing program [pid 5184] <... symlink resumed>) = 0 [pid 5097] getdents64(3, [pid 5183] <... mount resumed>) = 0 [pid 5182] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5181] munmap(0x7f8438200000, 138412032 [pid 5184] write(1, "executing program\n", 18 [pid 5182] <... openat resumed>) = 3 [pid 5181] <... munmap resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5184] <... write resumed>) = 18 [pid 5182] chdir("./file1" [pid 5183] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5184] memfd_create("syzkaller", 0 [pid 5097] close(3 [pid 5183] <... openat resumed>) = 3 [pid 5182] <... chdir resumed>) = 0 [pid 5183] chdir("./file1" [pid 5181] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] <... close resumed>) = 0 [pid 5182] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5184] <... memfd_create resumed>) = 3 [pid 5183] <... chdir resumed>) = 0 [pid 5181] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] rmdir("./12" [pid 5184] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5183] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5182] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5184] <... mmap resumed>) = 0x7f8438200000 [pid 5183] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5182] truncate("./file1", 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5183] truncate("./file1", 0 [pid 5181] close(4 [pid 5184] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5181] <... close resumed>) = 0 [pid 5097] mkdir("./13", 0777 [pid 5182] <... truncate resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5182] memfd_create("syzkaller", 0 [pid 5181] exit_group(0 [pid 5182] <... memfd_create resumed>) = 4 [pid 5182] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5183] <... truncate resumed>) = 0 [pid 5182] <... mmap resumed>) = 0x7f8438200000 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5183] memfd_create("syzkaller", 0) = 4 [pid 5097] <... openat resumed>) = 3 [pid 5183] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5181] <... exit_group resumed>) = ? [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5183] <... mmap resumed>) = 0x7f8438200000 [pid 5181] +++ exited with 0 +++ [pid 5183] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5182] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5181, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5103] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] close(3 [pid 5103] <... openat resumed>) = 3 [pid 5101] <... close resumed>) = 0 [pid 5103] newfstatat(3, "", [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5184] <... write resumed>) = 524288 [pid 5182] <... write resumed>) = 524288 [pid 5103] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5183] <... write resumed>) = 524288 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5185 ./strace-static-x86_64: Process 5185 attached [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5185] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5103] unlink("./12/binderfs" [pid 5185] chdir("./12" [pid 5103] <... unlink resumed>) = 0 [pid 5185] <... chdir resumed>) = 0 [pid 5103] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5185] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5185] setpgid(0, 0) = 0 [pid 5184] munmap(0x7f8438200000, 138412032 [pid 5182] munmap(0x7f8438200000, 138412032 [pid 5185] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5184] <... munmap resumed>) = 0 [pid 5182] <... munmap resumed>) = 0 [pid 5184] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5185] write(3, "1000", 4) = 4 [pid 5185] close(3executing program ) = 0 [pid 5184] <... openat resumed>) = 4 [pid 5183] munmap(0x7f8438200000, 138412032 [pid 5184] ioctl(4, LOOP_SET_FD, 3 [pid 5185] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5183] <... munmap resumed>) = 0 [pid 5185] write(1, "executing program\n", 18) = 18 [pid 5183] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5185] memfd_create("syzkaller", 0 [pid 5183] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5185] <... memfd_create resumed>) = 3 [pid 5183] close(4 [pid 5185] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5183] <... close resumed>) = 0 [pid 5182] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5185] <... mmap resumed>) = 0x7f8438200000 [pid 5182] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5182] close(4 [pid 5103] <... umount2 resumed>) = 0 [pid 5185] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... ioctl resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./12/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5185] <... write resumed>) = 524288 [pid 5184] <... ioctl resumed>) = 0 [pid 5183] exit_group(0 [pid 5097] close(3 [pid 5103] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5184] close(3 [pid 5103] openat(AT_FDCWD, "./12/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5185] munmap(0x7f8438200000, 138412032 [pid 5184] <... close resumed>) = 0 [pid 5183] <... exit_group resumed>) = ? [pid 5103] <... openat resumed>) = 4 [pid 5097] <... close resumed>) = 0 [pid 5184] close(4 [pid 5183] +++ exited with 0 +++ [pid 5182] <... close resumed>) = 0 [pid 5185] <... munmap resumed>) = 0 [pid 5184] <... close resumed>) = 0 [pid 5182] exit_group(0 [pid 5103] newfstatat(4, "", [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [ 116.798236][ T5184] loop2: detected capacity change from 0 to 1024 [pid 5184] mkdir("./file1", 0777 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5183, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5184] <... mkdir resumed>) = 0 [pid 5103] getdents64(4, [pid 5100] umount2("./11", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5185] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] getdents64(4, [pid 5100] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5185] <... openat resumed>) = 4 [pid 5184] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5182] <... exit_group resumed>) = ? [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", [pid 5185] ioctl(4, LOOP_SET_FD, 3 [pid 5103] close(4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5185] <... ioctl resumed>) = 0 [pid 5182] +++ exited with 0 +++ [pid 5103] <... close resumed>) = 0 [pid 5100] getdents64(3, [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5186 ./strace-static-x86_64: Process 5186 attached [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5182, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=1 /* 0.01 s */} --- [pid 5098] restart_syscall(<... resuming interrupted clone ...> [pid 5186] set_robust_list(0x55556fbaa660, 24 [pid 5098] <... restart_syscall resumed>) = 0 [pid 5186] <... set_robust_list resumed>) = 0 [pid 5186] chdir("./13") = 0 [pid 5103] rmdir("./12/file1" [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5186] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... rmdir resumed>) = 0 [pid 5100] umount2("./11/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5186] <... prctl resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5186] setpgid(0, 0 [pid 5100] newfstatat(AT_FDCWD, "./11/binderfs", [pid 5186] <... setpgid resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5186] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] unlink("./11/binderfs" [pid 5098] <... openat resumed>) = 3 [pid 5186] <... openat resumed>) = 3 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5098] newfstatat(3, "", [pid 5186] write(3, "1000", 4 [pid 5103] close(3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5186] <... write resumed>) = 4 [pid 5103] <... close resumed>) = 0 [pid 5100] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(3, [pid 5186] close(3 [pid 5103] rmdir("./12" [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5186] <... close resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5185] close(3 [pid 5098] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5185] <... close resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5185] close(4 [pid 5098] unlink("./12/binderfs" [pid 5186] symlink("/dev/binderfs", "./binderfs" [pid 5185] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5185] mkdir("./file1", 0777 [pid 5186] <... symlink resumed>) = 0 [pid 5185] <... mkdir resumed>) = 0 executing program [pid 5186] write(1, "executing program\n", 18) = 18 [pid 5184] <... mount resumed>) = 0 [pid 5100] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5186] memfd_create("syzkaller", 0 [ 116.862562][ T5185] loop4: detected capacity change from 0 to 1024 [pid 5185] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5184] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] mkdir("./13", 0777 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5186] <... memfd_create resumed>) = 3 [pid 5103] <... mkdir resumed>) = 0 [pid 5186] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] newfstatat(AT_FDCWD, "./11/file1", [pid 5184] <... openat resumed>) = 3 [pid 5186] <... mmap resumed>) = 0x7f8438200000 [pid 5184] chdir("./file1" [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] umount2("./11/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5184] <... chdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5184] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5184] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./11/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5184] truncate("./file1", 0 [pid 5100] <... openat resumed>) = 4 [pid 5098] <... umount2 resumed>) = 0 [pid 5098] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(4, "", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./12/file1", [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] getdents64(4, [pid 5185] <... mount resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] openat(AT_FDCWD, "./12/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5186] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] getdents64(4, [pid 5098] <... openat resumed>) = 4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] newfstatat(4, "", [pid 5100] close(4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, [pid 5184] <... truncate resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5185] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5184] memfd_create("syzkaller", 0 [pid 5100] rmdir("./11/file1" [pid 5098] getdents64(4, [pid 5185] <... openat resumed>) = 3 [pid 5184] <... memfd_create resumed>) = 4 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5185] chdir("./file1" [pid 5184] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5184] <... mmap resumed>) = 0x7f8438200000 [pid 5098] close(4 [pid 5185] <... chdir resumed>) = 0 [pid 5184] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5185] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] rmdir("./12/file1") = 0 [pid 5185] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5185] truncate("./file1", 0 [pid 5098] getdents64(3, [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3 [pid 5098] close(3 [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./11" [pid 5098] <... close resumed>) = 0 [pid 5186] <... write resumed>) = 524288 [pid 5103] <... ioctl resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5098] rmdir("./12") = 0 [pid 5100] mkdir("./12", 0777 [pid 5186] munmap(0x7f8438200000, 138412032 [pid 5185] <... truncate resumed>) = 0 [pid 5184] <... write resumed>) = 524288 [pid 5103] close(3 [pid 5100] <... mkdir resumed>) = 0 [pid 5098] mkdir("./13", 0777 [pid 5185] memfd_create("syzkaller", 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5185] <... memfd_create resumed>) = 4 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5185] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... openat resumed>) = 3 [pid 5185] <... mmap resumed>) = 0x7f8438200000 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5186] <... munmap resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] <... close resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5186] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5186] ioctl(4, LOOP_SET_FD, 3 [pid 5185] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5187 ./strace-static-x86_64: Process 5187 attached [pid 5184] munmap(0x7f8438200000, 138412032) = 0 [pid 5187] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5184] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5187] chdir("./13" [pid 5186] <... ioctl resumed>) = 0 [pid 5185] <... write resumed>) = 524288 [pid 5186] close(3 [pid 5187] <... chdir resumed>) = 0 [pid 5187] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5186] <... close resumed>) = 0 [pid 5184] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5187] <... prctl resumed>) = 0 [pid 5186] close(4 [pid 5187] setpgid(0, 0 [pid 5184] close(4 [pid 5186] <... close resumed>) = 0 [pid 5184] <... close resumed>) = 0 [pid 5185] munmap(0x7f8438200000, 138412032 [pid 5187] <... setpgid resumed>) = 0 [pid 5186] mkdir("./file1", 0777 [pid 5185] <... munmap resumed>) = 0 [pid 5185] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5185] close(4 [pid 5184] exit_group(0 [pid 5187] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5186] <... mkdir resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5186] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5187] <... openat resumed>) = 3 [pid 5184] <... exit_group resumed>) = ? [ 117.017773][ T5186] loop0: detected capacity change from 0 to 1024 [pid 5187] write(3, "1000", 4) = 4 [pid 5184] +++ exited with 0 +++ [pid 5187] close(3 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5184, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5187] <... close resumed>) = 0 [pid 5187] symlink("/dev/binderfs", "./binderfs" [pid 5099] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./13/binderfs" [pid 5098] <... ioctl resumed>) = 0 [pid 5187] <... symlink resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5185] <... close resumed>) = 0 [pid 5099] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5187] write(1, "executing program\n", 18 [pid 5185] exit_group(0 [pid 5187] <... write resumed>) = 18 [pid 5185] <... exit_group resumed>) = ? [pid 5187] memfd_create("syzkaller", 0 [pid 5185] +++ exited with 0 +++ [pid 5100] close(3 [pid 5099] <... umount2 resumed>) = 0 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5185, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5186] <... mount resumed>) = 0 [pid 5187] <... memfd_create resumed>) = 3 [pid 5101] <... restart_syscall resumed>) = 0 [pid 5099] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5187] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5186] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... close resumed>) = 0 [pid 5098] close(3 [pid 5187] <... mmap resumed>) = 0x7f8438200000 [pid 5186] <... openat resumed>) = 3 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5188 attached [pid 5187] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5186] chdir("./file1" [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5188 [pid 5099] newfstatat(AT_FDCWD, "./13/file1", [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5188] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5186] <... chdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5188] chdir("./12" [pid 5186] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] <... openat resumed>) = 3 [pid 5099] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(3, "", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] openat(AT_FDCWD, "./13/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5188] <... chdir resumed>) = 0 [pid 5186] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] getdents64(3, [pid 5099] <... openat resumed>) = 4 [pid 5188] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5186] truncate("./file1", 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] newfstatat(4, "", [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5189 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(4, ./strace-static-x86_64: Process 5189 attached [pid 5101] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5189] set_robust_list(0x55556fbaa660, 24 [pid 5188] <... prctl resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(4, [pid 5188] setpgid(0, 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4 [pid 5188] <... setpgid resumed>) = 0 [pid 5189] <... set_robust_list resumed>) = 0 [pid 5188] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5099] <... close resumed>) = 0 [pid 5189] chdir("./13" [pid 5101] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5099] rmdir("./13/file1" [pid 5189] <... chdir resumed>) = 0 [pid 5188] <... openat resumed>) = 3 [pid 5186] <... truncate resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5187] <... write resumed>) = 524288 [pid 5189] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] unlink("./12/binderfs" [pid 5189] <... prctl resumed>) = 0 [pid 5187] munmap(0x7f8438200000, 138412032 [pid 5101] <... unlink resumed>) = 0 [pid 5189] setpgid(0, 0) = 0 [pid 5189] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5188] write(3, "1000", 4 [pid 5187] <... munmap resumed>) = 0 [pid 5186] memfd_create("syzkaller", 0 [pid 5101] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(3, [pid 5189] <... openat resumed>) = 3 [pid 5188] <... write resumed>) = 4 [pid 5187] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5186] <... memfd_create resumed>) = 4 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5188] close(3 [pid 5187] <... openat resumed>) = 4 [pid 5099] close(3 [pid 5186] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5188] <... close resumed>) = 0 [pid 5187] ioctl(4, LOOP_SET_FD, 3 [pid 5189] write(3, "1000", 4 [pid 5188] symlink("/dev/binderfs", "./binderfs" [pid 5187] <... ioctl resumed>) = 0 [pid 5186] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... close resumed>) = 0 [pid 5188] <... symlink resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5099] rmdir("./13" [pid 5188] write(1, "executing program\n", 18 [pid 5099] <... rmdir resumed>) = 0 [pid 5189] <... write resumed>) = 4 [pid 5189] close(3) = 0 [pid 5189] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5188] <... write resumed>) = 18 [pid 5189] write(1, "executing program\n", 18 [pid 5188] memfd_create("syzkaller", 0 [pid 5187] close(3 [pid 5186] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288executing program [pid 5189] <... write resumed>) = 18 [pid 5101] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] mkdir("./14", 0777 [pid 5189] memfd_create("syzkaller", 0 [pid 5188] <... memfd_create resumed>) = 3 [pid 5187] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... mkdir resumed>) = 0 [pid 5187] close(4 [pid 5189] <... memfd_create resumed>) = 3 [pid 5187] <... close resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./12/file1", [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5188] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5187] mkdir("./file1", 0777 [pid 5189] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5188] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5189] <... mmap resumed>) = 0x7f8438200000 [pid 5101] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5187] <... mkdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./12/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [ 117.182688][ T5187] loop5: detected capacity change from 0 to 1024 [pid 5101] newfstatat(4, "", [pid 5189] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5187] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4) = 0 [pid 5101] rmdir("./12/file1" [pid 5188] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] <... rmdir resumed>) = 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5189] <... write resumed>) = 524288 [pid 5101] close(3 [pid 5186] <... write resumed>) = 524288 [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./12" [pid 5187] <... mount resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5101] mkdir("./13", 0777) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5186] munmap(0x7f8438200000, 138412032 [pid 5187] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5187] <... openat resumed>) = 3 [pid 5189] munmap(0x7f8438200000, 138412032 [pid 5187] chdir("./file1" [pid 5186] <... munmap resumed>) = 0 [pid 5189] <... munmap resumed>) = 0 [pid 5187] <... chdir resumed>) = 0 [pid 5189] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5187] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5186] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... ioctl resumed>) = 0 [pid 5189] ioctl(4, LOOP_SET_FD, 3 [pid 5188] <... write resumed>) = 524288 [pid 5187] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5186] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5187] truncate("./file1", 0 [pid 5186] close(4 [pid 5188] munmap(0x7f8438200000, 138412032) = 0 [pid 5186] <... close resumed>) = 0 [pid 5188] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] close(3) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5188] <... openat resumed>) = 4 ./strace-static-x86_64: Process 5190 attached [pid 5189] <... ioctl resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5190] set_robust_list(0x55556fbaa660, 24 [pid 5189] close(3 [pid 5188] ioctl(4, LOOP_SET_FD, 3 [pid 5187] <... truncate resumed>) = 0 [pid 5186] exit_group(0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5190 [pid 5190] <... set_robust_list resumed>) = 0 [pid 5189] <... close resumed>) = 0 [pid 5101] close(3 [ 117.280605][ T5189] loop1: detected capacity change from 0 to 1024 [pid 5190] chdir("./14" [pid 5189] close(4 [pid 5101] <... close resumed>) = 0 [pid 5190] <... chdir resumed>) = 0 [pid 5189] <... close resumed>) = 0 [pid 5187] memfd_create("syzkaller", 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5190] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5189] mkdir("./file1", 0777) = 0 [pid 5190] <... prctl resumed>) = 0 [pid 5188] <... ioctl resumed>) = 0 [pid 5187] <... memfd_create resumed>) = 4 [pid 5186] <... exit_group resumed>) = ? [pid 5190] setpgid(0, 0) = 0 [pid 5189] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5190] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5187] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5190] <... openat resumed>) = 3 [pid 5187] <... mmap resumed>) = 0x7f8438200000 [pid 5186] +++ exited with 0 +++ [pid 5190] write(3, "1000", 4./strace-static-x86_64: Process 5191 attached ) = 4 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5191 [pid 5191] set_robust_list(0x55556fbaa660, 24 [pid 5190] close(3 [pid 5187] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5186, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5191] <... set_robust_list resumed>) = 0 [pid 5190] <... close resumed>) = 0 [pid 5188] close(3 [pid 5190] symlink("/dev/binderfs", "./binderfs" [pid 5188] <... close resumed>) = 0 [pid 5191] chdir("./13" [pid 5190] <... symlink resumed>) = 0 [pid 5188] close(4executing program [pid 5191] <... chdir resumed>) = 0 [pid 5190] write(1, "executing program\n", 18 [pid 5188] <... close resumed>) = 0 [pid 5188] mkdir("./file1", 0777 [pid 5191] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5190] <... write resumed>) = 18 [pid 5097] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5190] memfd_create("syzkaller", 0 [pid 5188] <... mkdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5191] <... prctl resumed>) = 0 [pid 5188] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5191] setpgid(0, 0 [pid 5190] <... memfd_create resumed>) = 3 [pid 5191] <... setpgid resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5191] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5190] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... openat resumed>) = 3 [pid 5189] <... mount resumed>) = 0 [pid 5191] <... openat resumed>) = 3 [pid 5190] <... mmap resumed>) = 0x7f8438200000 [pid 5097] newfstatat(3, "", [pid 5189] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5191] write(3, "1000", 4) = 4 [pid 5191] close(3) = 0 [pid 5189] chdir("./file1" [pid 5191] symlink("/dev/binderfs", "./binderfs" [pid 5189] <... chdir resumed>) = 0 [pid 5191] <... symlink resumed>) = 0 [pid 5189] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5191] write(1, "executing program\n", 18executing program [ 117.325817][ T5188] loop3: detected capacity change from 0 to 1024 [pid 5190] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5189] truncate("./file1", 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5191] <... write resumed>) = 18 [pid 5191] memfd_create("syzkaller", 0) = 3 [pid 5097] getdents64(3, [pid 5191] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5189] <... truncate resumed>) = 0 [pid 5188] <... mount resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5188] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5189] memfd_create("syzkaller", 0 [pid 5188] <... openat resumed>) = 3 [pid 5187] <... write resumed>) = 524288 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5189] <... memfd_create resumed>) = 4 [pid 5188] chdir("./file1" [pid 5187] munmap(0x7f8438200000, 138412032 [pid 5097] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5189] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5188] <... chdir resumed>) = 0 [pid 5187] <... munmap resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5188] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5187] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] unlink("./13/binderfs" [pid 5191] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5188] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5187] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... unlink resumed>) = 0 [pid 5190] <... write resumed>) = 524288 [pid 5189] <... mmap resumed>) = 0x7f8438200000 [pid 5189] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5188] truncate("./file1", 0 [pid 5187] close(4) = 0 [pid 5191] <... write resumed>) = 524288 [pid 5188] <... truncate resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5189] <... write resumed>) = 524288 [pid 5188] memfd_create("syzkaller", 0 [pid 5097] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5190] munmap(0x7f8438200000, 138412032 [pid 5188] <... memfd_create resumed>) = 4 [pid 5187] exit_group(0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5188] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5187] <... exit_group resumed>) = ? [pid 5097] newfstatat(AT_FDCWD, "./13/file1", [pid 5190] <... munmap resumed>) = 0 [pid 5188] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5190] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5190] ioctl(4, LOOP_SET_FD, 3 [pid 5188] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5187] +++ exited with 0 +++ [pid 5097] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5187, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5191] munmap(0x7f8438200000, 138412032) = 0 [pid 5103] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5191] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5191] <... openat resumed>) = 4 [pid 5103] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] openat(AT_FDCWD, "./13/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5191] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5191] <... ioctl resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5097] <... openat resumed>) = 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./13/binderfs") = 0 [pid 5103] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(4, "", [pid 5190] <... ioctl resumed>) = 0 [pid 5189] munmap(0x7f8438200000, 138412032 [pid 5190] close(3 [pid 5189] <... munmap resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5190] <... close resumed>) = 0 [pid 5190] close(4 [pid 5097] getdents64(4, [pid 5190] <... close resumed>) = 0 [ 117.465327][ T5190] loop2: detected capacity change from 0 to 1024 [ 117.484259][ T5191] loop4: detected capacity change from 0 to 1024 [pid 5190] mkdir("./file1", 0777 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5190] <... mkdir resumed>) = 0 [pid 5189] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5097] getdents64(4, [pid 5190] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5189] close(4) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5191] close(3) = 0 [pid 5191] close(4) = 0 [pid 5191] mkdir("./file1", 0777) = 0 [pid 5191] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] close(4 [pid 5188] <... write resumed>) = 524288 [pid 5097] <... close resumed>) = 0 [pid 5188] munmap(0x7f8438200000, 138412032 [pid 5097] rmdir("./13/file1") = 0 [pid 5188] <... munmap resumed>) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5188] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] <... close resumed>) = 0 [pid 5188] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... umount2 resumed>) = 0 [pid 5097] rmdir("./13" [pid 5191] <... mount resumed>) = 0 [pid 5190] <... mount resumed>) = 0 [pid 5188] close(4 [pid 5097] <... rmdir resumed>) = 0 [pid 5103] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] mkdir("./14", 0777 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./13/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5189] exit_group(0 [pid 5103] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5189] <... exit_group resumed>) = ? [pid 5188] <... close resumed>) = 0 [pid 5191] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5190] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5188] exit_group(0 [pid 5103] openat(AT_FDCWD, "./13/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... mkdir resumed>) = 0 [pid 5191] <... openat resumed>) = 3 [pid 5190] <... openat resumed>) = 3 [pid 5188] <... exit_group resumed>) = ? [pid 5103] <... openat resumed>) = 4 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5188] +++ exited with 0 +++ [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5191] chdir("./file1" [pid 5190] chdir("./file1" [pid 5103] newfstatat(4, "", [pid 5191] <... chdir resumed>) = 0 [pid 5190] <... chdir resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5191] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5190] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] getdents64(4, [pid 5191] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5190] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5191] truncate("./file1", 0 [pid 5190] truncate("./file1", 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5191] <... truncate resumed>) = 0 [pid 5190] <... truncate resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5188, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5191] memfd_create("syzkaller", 0) = 4 [pid 5103] close(4 [pid 5191] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5190] memfd_create("syzkaller", 0 [pid 5189] +++ exited with 0 +++ [pid 5103] <... close resumed>) = 0 [pid 5191] <... mmap resumed>) = 0x7f8438200000 [pid 5190] <... memfd_create resumed>) = 4 [pid 5103] rmdir("./13/file1" [pid 5191] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5190] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5100] umount2("./12", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5190] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5189, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5100] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5097] <... ioctl resumed>) = 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] newfstatat(3, "", [pid 5098] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] close(3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... close resumed>) = 0 [pid 5100] getdents64(3, [pid 5098] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... openat resumed>) = 3 [pid 5103] rmdir("./13" [pid 5098] newfstatat(3, "", [pid 5190] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./12/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(3, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./12/binderfs", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] mkdir("./14", 0777) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] unlink("./12/binderfs" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDexecuting program [pid 5100] <... unlink resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5100] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] unlink("./13/binderfs" [pid 5103] <... openat resumed>) = 3 [pid 5098] <... unlink resumed>) = 0 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5192 [pid 5191] <... write resumed>) = 524288 ./strace-static-x86_64: Process 5192 attached [pid 5192] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5192] chdir("./14") = 0 [pid 5192] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5192] setpgid(0, 0) = 0 [pid 5192] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5190] <... write resumed>) = 524288 [pid 5192] write(3, "1000", 4 [pid 5191] munmap(0x7f8438200000, 138412032 [pid 5192] <... write resumed>) = 4 [pid 5191] <... munmap resumed>) = 0 [pid 5192] close(3 [pid 5190] munmap(0x7f8438200000, 138412032 [pid 5192] <... close resumed>) = 0 [pid 5190] <... munmap resumed>) = 0 [pid 5192] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5191] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5190] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5192] write(1, "executing program\n", 18 [pid 5191] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5192] <... write resumed>) = 18 [pid 5190] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5192] memfd_create("syzkaller", 0 [pid 5191] close(4 [pid 5190] close(4 [pid 5098] <... umount2 resumed>) = 0 [pid 5192] <... memfd_create resumed>) = 3 [pid 5192] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5192] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... umount2 resumed>) = 0 [pid 5191] <... close resumed>) = 0 [pid 5100] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./12/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] newfstatat(AT_FDCWD, "./13/file1", [pid 5100] umount2("./12/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5190] <... close resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./12/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./13/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... openat resumed>) = 4 [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5191] exit_group(0) = ? [pid 5190] exit_group(0 [pid 5191] +++ exited with 0 +++ [pid 5103] <... ioctl resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5190] <... exit_group resumed>) = ? [pid 5190] +++ exited with 0 +++ [pid 5098] getdents64(4, [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5190, si_uid=0, si_status=0, si_utime=0, si_stime=11 /* 0.11 s */} --- [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5191, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5100] newfstatat(4, "", [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... restart_syscall resumed>) = 0 [pid 5098] getdents64(4, [pid 5192] <... write resumed>) = 524288 [pid 5192] munmap(0x7f8438200000, 138412032 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] getdents64(4, [pid 5098] close(4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./13/file1" [pid 5101] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] getdents64(4, [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... rmdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] getdents64(3, [pid 5100] close(4 [pid 5101] <... openat resumed>) = 3 [pid 5192] <... munmap resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3 [pid 5101] newfstatat(3, "", [pid 5100] rmdir("./12/file1" [pid 5099] newfstatat(3, "", [pid 5098] close(3 [pid 5192] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5192] <... openat resumed>) = 4 [pid 5103] <... close resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] getdents64(3, [pid 5098] rmdir("./13" [pid 5101] getdents64(3, [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] getdents64(3, [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... rmdir resumed>) = 0 [pid 5192] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 5193 attached [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] mkdir("./14", 0777 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5193 [pid 5100] close(3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./13/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5100] rmdir("./12" [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./13/binderfs") = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] unlink("./14/binderfs" [pid 5101] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 3 [pid 5099] <... unlink resumed>) = 0 [pid 5100] mkdir("./13", 0777 [pid 5099] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5193] set_robust_list(0x55556fbaa660, 24 [pid 5101] <... umount2 resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5101] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./13/file1", [pid 5100] <... mkdir resumed>) = 0 [pid 5193] <... set_robust_list resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5193] chdir("./14" [pid 5192] <... ioctl resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5099] <... umount2 resumed>) = 0 [pid 5193] <... chdir resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5193] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5193] setpgid(0, 0 [pid 5101] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5193] <... setpgid resumed>) = 0 [pid 5192] close(3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5192] <... close resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./13/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5192] close(4 [pid 5101] <... openat resumed>) = 4 [pid 5192] <... close resumed>) = 0 [pid 5101] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5193] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] getdents64(4, [pid 5193] <... openat resumed>) = 3 [pid 5192] mkdir("./file1", 0777 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5193] write(3, "1000", 4 [pid 5192] <... mkdir resumed>) = 0 [pid 5101] getdents64(4, [pid 5099] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5193] <... write resumed>) = 4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./14/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5192] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [ 117.788665][ T5192] loop0: detected capacity change from 0 to 1024 [pid 5099] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5193] close(3 [pid 5101] close(4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./14/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5193] <... close resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5193] symlink("/dev/binderfs", "./binderfs" [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./13/file1" [pid 5099] newfstatat(4, "", [pid 5193] <... symlink resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 executing program [pid 5192] <... mount resumed>) = 0 [pid 5193] write(1, "executing program\n", 18 [pid 5101] getdents64(3, [pid 5098] <... ioctl resumed>) = 0 [pid 5192] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] getdents64(4, [pid 5192] <... openat resumed>) = 3 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5192] chdir("./file1" [pid 5101] close(3 [pid 5099] close(4 [pid 5193] <... write resumed>) = 18 [pid 5192] <... chdir resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5192] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] rmdir("./14/file1" [pid 5193] memfd_create("syzkaller", 0 [pid 5192] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... rmdir resumed>) = 0 [pid 5192] truncate("./file1", 0 [pid 5101] rmdir("./13" [pid 5099] getdents64(3, [pid 5193] <... memfd_create resumed>) = 3 [pid 5101] <... rmdir resumed>) = 0 [pid 5193] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3 [pid 5101] mkdir("./14", 0777 [pid 5099] <... close resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5099] rmdir("./14" [pid 5193] <... mmap resumed>) = 0x7f8438200000 [pid 5192] <... truncate resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5192] memfd_create("syzkaller", 0) = 4 [pid 5192] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5193] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5192] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] close(3 [pid 5100] close(3 [pid 5099] mkdir("./15", 0777 [pid 5100] <... close resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... openat resumed>) = 3 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] close(3 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5101] close(3 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5194 attached [pid 5101] <... close resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5196 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5194 ./strace-static-x86_64: Process 5196 attached [pid 5194] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5195 [pid 5196] set_robust_list(0x55556fbaa660, 24 [pid 5194] <... set_robust_list resumed>) = 0 [pid 5196] <... set_robust_list resumed>) = 0 [pid 5196] chdir("./14" [pid 5194] chdir("./13" [pid 5196] <... chdir resumed>) = 0 ./strace-static-x86_64: Process 5195 attached [pid 5195] set_robust_list(0x55556fbaa660, 24 [pid 5196] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5194] <... chdir resumed>) = 0 [pid 5196] <... prctl resumed>) = 0 [pid 5195] <... set_robust_list resumed>) = 0 [pid 5196] setpgid(0, 0 [pid 5194] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5195] chdir("./15" [pid 5196] <... setpgid resumed>) = 0 [pid 5194] <... prctl resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5197 [pid 5195] <... chdir resumed>) = 0 [pid 5196] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5194] setpgid(0, 0 [pid 5195] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5194] <... setpgid resumed>) = 0 ./strace-static-x86_64: Process 5197 attached [pid 5195] <... prctl resumed>) = 0 [pid 5197] set_robust_list(0x55556fbaa660, 24 [pid 5195] setpgid(0, 0 [pid 5197] <... set_robust_list resumed>) = 0 [pid 5195] <... setpgid resumed>) = 0 [pid 5194] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5197] chdir("./14" [pid 5195] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5197] <... chdir resumed>) = 0 [pid 5195] write(3, "1000", 4 [pid 5197] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5195] <... write resumed>) = 4 [pid 5196] <... openat resumed>) = 3 [pid 5194] <... openat resumed>) = 3 [pid 5192] <... write resumed>) = 524288 [pid 5194] write(3, "1000", 4) = 4 [pid 5197] <... prctl resumed>) = 0 [pid 5195] close(3 [pid 5197] setpgid(0, 0 [pid 5195] <... close resumed>) = 0 [pid 5197] <... setpgid resumed>) = 0 [pid 5195] symlink("/dev/binderfs", "./binderfs"executing program [pid 5197] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5195] <... symlink resumed>) = 0 [pid 5196] write(3, "1000", 4 [pid 5194] close(3 [pid 5197] <... openat resumed>) = 3 [pid 5195] write(1, "executing program\n", 18 [pid 5194] <... close resumed>) = 0 [pid 5192] munmap(0x7f8438200000, 138412032 [pid 5197] write(3, "1000", 4 [pid 5195] <... write resumed>) = 18 [pid 5196] <... write resumed>) = 4 [pid 5194] symlink("/dev/binderfs", "./binderfs" [pid 5193] <... write resumed>) = 524288 [pid 5192] <... munmap resumed>) = 0 [pid 5197] <... write resumed>) = 4 executing program executing program [pid 5197] close(3 [pid 5195] memfd_create("syzkaller", 0 [pid 5196] close(3 [pid 5194] <... symlink resumed>) = 0 [pid 5197] <... close resumed>) = 0 [pid 5197] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5197] write(1, "executing program\n", 18) = 18 [pid 5195] <... memfd_create resumed>) = 3 [pid 5196] <... close resumed>) = 0 [pid 5194] write(1, "executing program\n", 18 [pid 5193] munmap(0x7f8438200000, 138412032 [pid 5192] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5195] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5194] <... write resumed>) = 18 [pid 5192] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5195] <... mmap resumed>) = 0x7f8438200000 [pid 5194] memfd_create("syzkaller", 0 [pid 5197] memfd_create("syzkaller", 0 [pid 5196] symlink("/dev/binderfs", "./binderfs" [pid 5193] <... munmap resumed>) = 0 [pid 5192] close(4 [pid 5197] <... memfd_create resumed>) = 3 executing program [pid 5196] <... symlink resumed>) = 0 [pid 5194] <... memfd_create resumed>) = 3 [pid 5193] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5192] <... close resumed>) = 0 [pid 5197] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5196] write(1, "executing program\n", 18 [pid 5194] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5193] <... openat resumed>) = 4 [pid 5196] <... write resumed>) = 18 [pid 5197] <... mmap resumed>) = 0x7f8438200000 [pid 5195] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5194] <... mmap resumed>) = 0x7f8438200000 [pid 5197] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5194] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5196] memfd_create("syzkaller", 0) = 3 [pid 5193] ioctl(4, LOOP_SET_FD, 3 [pid 5196] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5195] <... write resumed>) = 524288 [pid 5196] <... mmap resumed>) = 0x7f8438200000 [pid 5192] exit_group(0) = ? [pid 5192] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5192, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5097] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5197] <... write resumed>) = 524288 [pid 5193] <... ioctl resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5193] close(3) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5196] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5193] close(4 [pid 5097] newfstatat(3, "", [pid 5195] munmap(0x7f8438200000, 138412032 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5195] <... munmap resumed>) = 0 [pid 5097] getdents64(3, [pid 5193] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [ 118.014930][ T5193] loop5: detected capacity change from 0 to 1024 [pid 5195] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5193] mkdir("./file1", 0777 [pid 5097] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5197] munmap(0x7f8438200000, 138412032 [pid 5195] <... openat resumed>) = 4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./14/binderfs" [pid 5193] <... mkdir resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5194] <... write resumed>) = 524288 [pid 5195] ioctl(4, LOOP_SET_FD, 3 [pid 5197] <... munmap resumed>) = 0 [pid 5196] <... write resumed>) = 524288 [pid 5194] munmap(0x7f8438200000, 138412032 [pid 5193] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5197] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5194] <... munmap resumed>) = 0 [pid 5197] <... openat resumed>) = 4 [pid 5197] ioctl(4, LOOP_SET_FD, 3 [pid 5196] munmap(0x7f8438200000, 138412032 [pid 5194] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5193] <... mount resumed>) = 0 [pid 5193] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5193] chdir("./file1" [pid 5196] <... munmap resumed>) = 0 [pid 5194] <... openat resumed>) = 4 [pid 5193] <... chdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5194] ioctl(4, LOOP_SET_FD, 3 [pid 5195] <... ioctl resumed>) = 0 [pid 5195] close(3) = 0 [pid 5195] close(4) = 0 [pid 5195] mkdir("./file1", 0777) = 0 [pid 5097] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5197] <... ioctl resumed>) = 0 [ 118.075275][ T5195] loop2: detected capacity change from 0 to 1024 [ 118.088952][ T5197] loop4: detected capacity change from 0 to 1024 [ 118.107460][ T5194] loop3: detected capacity change from 0 to 1024 [pid 5195] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5196] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5193] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5196] <... openat resumed>) = 4 [pid 5196] ioctl(4, LOOP_SET_FD, 3 [pid 5197] close(3 [pid 5193] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] newfstatat(AT_FDCWD, "./14/file1", [pid 5197] <... close resumed>) = 0 [pid 5197] close(4) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5197] mkdir("./file1", 0777) = 0 [pid 5097] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5194] <... ioctl resumed>) = 0 [pid 5193] truncate("./file1", 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5197] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5194] close(3 [pid 5097] openat(AT_FDCWD, "./14/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5194] <... close resumed>) = 0 [pid 5193] <... truncate resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5194] close(4 [pid 5193] memfd_create("syzkaller", 0 [pid 5097] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4) = 0 [pid 5097] rmdir("./14/file1") = 0 [pid 5097] getdents64(3, [pid 5197] <... mount resumed>) = 0 [pid 5195] <... mount resumed>) = 0 [pid 5196] <... ioctl resumed>) = 0 [pid 5194] <... close resumed>) = 0 [pid 5193] <... memfd_create resumed>) = 4 [pid 5193] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5194] mkdir("./file1", 0777 [pid 5197] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5197] chdir("./file1") = 0 [pid 5196] close(3 [pid 5197] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5196] <... close resumed>) = 0 [pid 5194] <... mkdir resumed>) = 0 [pid 5197] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5196] close(4 [pid 5193] <... mmap resumed>) = 0x7f8438200000 [pid 5194] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5196] <... close resumed>) = 0 [pid 5196] mkdir("./file1", 0777) = 0 [pid 5197] truncate("./file1", 0 [pid 5196] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [ 118.125096][ T5196] loop1: detected capacity change from 0 to 1024 [pid 5193] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5195] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] close(3 [pid 5195] <... openat resumed>) = 3 [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./14" [pid 5197] <... truncate resumed>) = 0 [pid 5195] chdir("./file1" [pid 5196] <... mount resumed>) = 0 [pid 5194] <... mount resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5197] memfd_create("syzkaller", 0 [pid 5195] <... chdir resumed>) = 0 [pid 5194] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5197] <... memfd_create resumed>) = 4 [pid 5196] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] mkdir("./15", 0777 [pid 5197] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5195] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5196] <... openat resumed>) = 3 [pid 5194] <... openat resumed>) = 3 [pid 5097] <... mkdir resumed>) = 0 [pid 5197] <... mmap resumed>) = 0x7f8438200000 [pid 5195] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5196] chdir("./file1" [pid 5194] chdir("./file1" [pid 5197] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5196] <... chdir resumed>) = 0 [pid 5194] <... chdir resumed>) = 0 [pid 5195] truncate("./file1", 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5196] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... openat resumed>) = 3 [pid 5196] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5194] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5196] truncate("./file1", 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5194] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5193] <... write resumed>) = 524288 [pid 5194] truncate("./file1", 0 [pid 5195] <... truncate resumed>) = 0 [pid 5197] <... write resumed>) = 524288 [pid 5195] memfd_create("syzkaller", 0 [pid 5196] <... truncate resumed>) = 0 [pid 5193] munmap(0x7f8438200000, 138412032) = 0 [pid 5193] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5195] <... memfd_create resumed>) = 4 [pid 5195] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5196] memfd_create("syzkaller", 0 [pid 5193] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5195] <... mmap resumed>) = 0x7f8438200000 [pid 5196] <... memfd_create resumed>) = 4 [pid 5196] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5195] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] <... ioctl resumed>) = 0 [pid 5193] close(4 [pid 5194] <... truncate resumed>) = 0 [pid 5194] memfd_create("syzkaller", 0 [pid 5196] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\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 5194] <... memfd_create resumed>) = 4 [pid 5193] <... close resumed>) = 0 [pid 5194] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5197] munmap(0x7f8438200000, 138412032) = 0 [pid 5197] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] close(3 [pid 5197] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... close resumed>) = 0 [pid 5197] close(4 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5195] <... write resumed>) = 524288 [pid 5194] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5196] munmap(0x7f8438200000, 138412032) = 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5198 ./strace-static-x86_64: Process 5198 attached [pid 5198] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5198] chdir("./15") = 0 [pid 5196] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5198] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5193] exit_group(0) = ? [pid 5198] <... prctl resumed>) = 0 [pid 5196] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5198] setpgid(0, 0 [pid 5197] <... close resumed>) = 0 [pid 5196] close(4 [pid 5198] <... setpgid resumed>) = 0 [pid 5193] +++ exited with 0 +++ [pid 5198] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5193, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5198] <... openat resumed>) = 3 [pid 5197] exit_group(0 [pid 5196] <... close resumed>) = 0 [pid 5198] write(3, "1000", 4 [pid 5197] <... exit_group resumed>) = ? [pid 5103] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5198] <... write resumed>) = 4 [pid 5197] +++ exited with 0 +++ [pid 5195] munmap(0x7f8438200000, 138412032 [pid 5194] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5197, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5101] restart_syscall(<... resuming interrupted clone ...> [pid 5198] close(3) = 0 [pid 5198] symlink("/dev/binderfs", "./binderfs" [pid 5103] newfstatat(3, "", [pid 5198] <... symlink resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5101] <... restart_syscall resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5195] <... munmap resumed>) = 0 [pid 5194] munmap(0x7f8438200000, 138412032 [pid 5195] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5195] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] newfstatat(AT_FDCWD, "./14/binderfs", executing program {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5194] <... munmap resumed>) = 0 [pid 5195] close(4 [pid 5101] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5198] write(1, "executing program\n", 18 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5198] <... write resumed>) = 18 [pid 5101] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5101] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5198] memfd_create("syzkaller", 0 [pid 5195] <... close resumed>) = 0 [pid 5196] exit_group(0 [pid 5194] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] unlink("./14/binderfs" [pid 5101] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5196] <... exit_group resumed>) = ? [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5196] +++ exited with 0 +++ [pid 5194] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... unlink resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5194] close(4 [pid 5103] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5196, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5198] <... memfd_create resumed>) = 3 [pid 5101] unlink("./14/binderfs" [pid 5198] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... unlink resumed>) = 0 [pid 5098] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5198] <... mmap resumed>) = 0x7f8438200000 [pid 5198] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5195] exit_group(0 [pid 5101] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5195] <... exit_group resumed>) = ? [pid 5194] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5195] +++ exited with 0 +++ [pid 5194] exit_group(0 [pid 5103] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] unlink("./14/binderfs" [pid 5101] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] <... unlink resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./14/file1", [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5195, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5098] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./14/file1", [pid 5194] <... exit_group resumed>) = ? [pid 5194] +++ exited with 0 +++ [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5194, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5098] <... umount2 resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... restart_syscall resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./14/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] umount2("./13", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... openat resumed>) = 4 [pid 5101] openat(AT_FDCWD, "./14/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5198] <... write resumed>) = 524288 [pid 5101] <... openat resumed>) = 4 [pid 5100] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... openat resumed>) = 3 [pid 5099] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", [pid 5099] newfstatat(3, "", [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(3, [pid 5099] getdents64(3, [pid 5103] newfstatat(4, "", [pid 5101] newfstatat(4, "", [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./13/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] getdents64(4, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] getdents64(4, [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] newfstatat(AT_FDCWD, "./13/binderfs", [pid 5099] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5198] munmap(0x7f8438200000, 138412032 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, [pid 5198] <... munmap resumed>) = 0 [pid 5103] getdents64(4, [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4 [pid 5100] unlink("./13/binderfs" [pid 5098] newfstatat(AT_FDCWD, "./14/file1", [pid 5103] close(4 [pid 5101] <... close resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5198] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] unlink("./15/binderfs" [pid 5098] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5198] <... openat resumed>) = 4 [pid 5101] rmdir("./14/file1" [pid 5100] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... unlink resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... close resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5099] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "./14/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] rmdir("./14/file1" [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5198] ioctl(4, LOOP_SET_FD, 3 [pid 5101] getdents64(3, [pid 5098] getdents64(4, [pid 5103] <... rmdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] close(3 [pid 5098] getdents64(4, [pid 5103] getdents64(3, [pid 5101] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3 [pid 5101] rmdir("./14" [pid 5099] <... umount2 resumed>) = 0 [pid 5098] close(4 [pid 5103] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5103] rmdir("./14" [pid 5099] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... rmdir resumed>) = 0 [pid 5098] rmdir("./14/file1") = 0 [pid 5101] mkdir("./15", 0777 [pid 5098] getdents64(3, [pid 5103] <... rmdir resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] mkdir("./15", 0777 [pid 5098] close(3) = 0 [pid 5098] rmdir("./14" [pid 5100] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(AT_FDCWD, "./15/file1", [pid 5098] <... rmdir resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] mkdir("./15", 0777 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] <... mkdir resumed>) = 0 [pid 5099] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5198] <... ioctl resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./15/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] newfstatat(AT_FDCWD, "./13/file1", [pid 5099] <... openat resumed>) = 4 [pid 5098] <... openat resumed>) = 3 [pid 5198] close(3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] newfstatat(4, "", [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5198] <... close resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5100] umount2("./13/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... ioctl resumed>) = 0 [pid 5198] close(4 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] close(3 [pid 5198] <... close resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./13/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] getdents64(4, [pid 5098] <... close resumed>) = 0 [pid 5198] mkdir("./file1", 0777 [pid 5100] <... openat resumed>) = 4 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5198] <... mkdir resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5198] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5199 attached [pid 5100] close(4 [pid 5199] set_robust_list(0x55556fbaa660, 24 [pid 5100] <... close resumed>) = 0 [pid 5199] <... set_robust_list resumed>) = 0 [pid 5100] rmdir("./13/file1" [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5199 [pid 5199] chdir("./15" [pid 5100] <... rmdir resumed>) = 0 [pid 5199] <... chdir resumed>) = 0 [pid 5199] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5199] setpgid(0, 0) = 0 [pid 5100] getdents64(3, [pid 5199] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5199] <... openat resumed>) = 3 [ 118.454998][ T5198] loop0: detected capacity change from 0 to 1024 [pid 5100] close(3 [pid 5099] getdents64(4, [pid 5199] write(3, "1000", 4 [pid 5101] <... ioctl resumed>) = 0 [pid 5100] <... close resumed>) = 0 executing program [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5199] <... write resumed>) = 4 [pid 5101] close(3 [pid 5100] rmdir("./13" [pid 5199] close(3 [pid 5101] <... close resumed>) = 0 [pid 5100] <... rmdir resumed>) = 0 [pid 5199] <... close resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5199] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5199] write(1, "executing program\n", 18) = 18 [pid 5100] mkdir("./14", 0777 [pid 5199] memfd_create("syzkaller", 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5200 [pid 5199] <... memfd_create resumed>) = 3 [pid 5100] <... mkdir resumed>) = 0 [pid 5099] close(4./strace-static-x86_64: Process 5200 attached [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... close resumed>) = 0 [pid 5200] set_robust_list(0x55556fbaa660, 24 [pid 5199] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5198] <... mount resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5200] <... set_robust_list resumed>) = 0 [pid 5199] <... mmap resumed>) = 0x7f8438200000 [pid 5200] chdir("./15" [pid 5198] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] rmdir("./15/file1" [pid 5200] <... chdir resumed>) = 0 [pid 5198] <... openat resumed>) = 3 [pid 5200] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5198] chdir("./file1" [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5200] <... prctl resumed>) = 0 [pid 5198] <... chdir resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5200] setpgid(0, 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5200] <... setpgid resumed>) = 0 [pid 5199] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] close(3 [pid 5099] getdents64(3, [pid 5200] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5198] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5198] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] close(3 [pid 5198] truncate("./file1", 0 [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./15"executing program [pid 5200] <... openat resumed>) = 3 [pid 5099] <... rmdir resumed>) = 0 [pid 5200] write(3, "1000", 4) = 4 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5201 [pid 5099] mkdir("./16", 0777 [pid 5200] close(3) = 0 [pid 5200] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5200] write(1, "executing program\n", 18./strace-static-x86_64: Process 5201 attached ) = 18 [pid 5201] set_robust_list(0x55556fbaa660, 24 [pid 5200] memfd_create("syzkaller", 0 [pid 5199] <... write resumed>) = 524288 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5201] <... set_robust_list resumed>) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5201] chdir("./14" [pid 5200] <... memfd_create resumed>) = 3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5201] <... chdir resumed>) = 0 [pid 5200] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5198] <... truncate resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5201] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5200] <... mmap resumed>) = 0x7f8438200000 [pid 5198] memfd_create("syzkaller", 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5103] close(3 [pid 5198] <... memfd_create resumed>) = 4 [pid 5201] <... prctl resumed>) = 0 [pid 5198] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5201] setpgid(0, 0 [pid 5198] <... mmap resumed>) = 0x7f8438200000 [pid 5201] <... setpgid resumed>) = 0 [pid 5198] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5201] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5200] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... close resumed>) = 0 [pid 5099] close(3 [pid 5201] <... openat resumed>) = 3 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5201] write(3, "1000", 4 [pid 5199] munmap(0x7f8438200000, 138412032) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5202 [pid 5201] <... write resumed>) = 4 [pid 5201] close(3 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5203 ./strace-static-x86_64: Process 5203 attached ./strace-static-x86_64: Process 5202 attached [pid 5201] <... close resumed>) = 0 [pid 5199] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5198] <... write resumed>) = 524288 [pid 5203] set_robust_list(0x55556fbaa660, 24 [pid 5202] set_robust_list(0x55556fbaa660, 24 [pid 5201] symlink("/dev/binderfs", "./binderfs" [pid 5199] <... openat resumed>) = 4 [pid 5199] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5201] <... symlink resumed>) = 0 [pid 5203] <... set_robust_list resumed>) = 0 executing program [pid 5203] chdir("./16" [pid 5202] <... set_robust_list resumed>) = 0 [pid 5201] write(1, "executing program\n", 18 [pid 5199] ioctl(4, LOOP_CLR_FD [pid 5202] chdir("./15" [pid 5203] <... chdir resumed>) = 0 [pid 5201] <... write resumed>) = 18 [pid 5203] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5202] <... chdir resumed>) = 0 [pid 5201] memfd_create("syzkaller", 0 [pid 5200] <... write resumed>) = 524288 [pid 5203] setpgid(0, 0 [pid 5201] <... memfd_create resumed>) = 3 [pid 5202] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5201] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5198] munmap(0x7f8438200000, 138412032 [pid 5203] <... setpgid resumed>) = 0 [pid 5203] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5201] <... mmap resumed>) = 0x7f8438200000 [pid 5200] munmap(0x7f8438200000, 138412032 [pid 5198] <... munmap resumed>) = 0 [pid 5200] <... munmap resumed>) = 0 [pid 5203] <... openat resumed>) = 3 [pid 5202] <... prctl resumed>) = 0 [pid 5200] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5198] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5202] setpgid(0, 0 [pid 5200] <... openat resumed>) = 4 [pid 5200] ioctl(4, LOOP_SET_FD, 3 [pid 5203] write(3, "1000", 4 [pid 5202] <... setpgid resumed>) = 0 [pid 5201] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5199] <... ioctl resumed>) = 0 [pid 5202] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5198] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5203] <... write resumed>) = 4 [pid 5202] <... openat resumed>) = 3 [pid 5198] close(4 [pid 5203] close(3 [pid 5198] <... close resumed>) = 0 [pid 5203] <... close resumed>) = 0 [ 118.695420][ T5200] loop4: detected capacity change from 0 to 1024 [pid 5203] symlink("/dev/binderfs", "./binderfs" [pid 5200] <... ioctl resumed>) = 0 [pid 5200] close(3) = 0 [pid 5200] close(4) = 0 [pid 5200] mkdir("./file1", 0777 [pid 5203] <... symlink resumed>) = 0 [pid 5200] <... mkdir resumed>) = 0 [pid 5200] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5199] ioctl(4, LOOP_SET_FD, 3 [pid 5203] write(1, "executing program\n", 18 [pid 5202] write(3, "1000", 4executing program [pid 5203] <... write resumed>) = 18 [pid 5202] <... write resumed>) = 4 [pid 5201] <... write resumed>) = 524288 [pid 5202] close(3 [pid 5203] memfd_create("syzkaller", 0 [pid 5202] <... close resumed>) = 0 [pid 5201] munmap(0x7f8438200000, 138412032 [pid 5203] <... memfd_create resumed>) = 3 [pid 5202] symlink("/dev/binderfs", "./binderfs" [pid 5201] <... munmap resumed>) = 0 [pid 5200] <... mount resumed>) = 0 [pid 5198] exit_group(0 [pid 5202] <... symlink resumed>) = 0 [pid 5203] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0executing program ) = 0x7f8438200000 [pid 5201] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5200] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5199] <... ioctl resumed>) = 0 [pid 5198] <... exit_group resumed>) = ? [pid 5202] write(1, "executing program\n", 18 [pid 5201] <... openat resumed>) = 4 [pid 5200] <... openat resumed>) = 3 [pid 5198] +++ exited with 0 +++ [pid 5202] <... write resumed>) = 18 [pid 5202] memfd_create("syzkaller", 0 [pid 5200] chdir("./file1" [pid 5199] close(3 [pid 5200] <... chdir resumed>) = 0 [pid 5199] <... close resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5198, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5200] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5199] close(4 [pid 5097] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5202] <... memfd_create resumed>) = 3 [pid 5200] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5199] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5202] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5200] truncate("./file1", 0 [ 118.747679][ T5199] loop1: detected capacity change from 0 to 1024 [pid 5199] mkdir("./file1", 0777 [pid 5097] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5202] <... mmap resumed>) = 0x7f8438200000 [pid 5201] ioctl(4, LOOP_SET_FD, 3 [pid 5199] <... mkdir resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5199] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5199] <... mount resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5199] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5199] <... openat resumed>) = 3 [pid 5097] unlink("./15/binderfs" [pid 5200] <... truncate resumed>) = 0 [pid 5199] chdir("./file1" [pid 5097] <... unlink resumed>) = 0 [pid 5200] memfd_create("syzkaller", 0 [pid 5199] <... chdir resumed>) = 0 [pid 5097] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5200] <... memfd_create resumed>) = 4 [pid 5199] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5200] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5199] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5200] <... mmap resumed>) = 0x7f8438200000 [pid 5199] truncate("./file1", 0 [pid 5203] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5202] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5201] <... ioctl resumed>) = 0 [pid 5201] close(3 [pid 5200] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5201] <... close resumed>) = 0 [pid 5201] close(4 [pid 5199] <... truncate resumed>) = 0 [pid 5201] <... close resumed>) = 0 [pid 5201] mkdir("./file1", 0777 [pid 5203] <... write resumed>) = 524288 [pid 5201] <... mkdir resumed>) = 0 [pid 5199] memfd_create("syzkaller", 0 [pid 5201] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5199] <... memfd_create resumed>) = 4 [pid 5199] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [ 118.810215][ T5201] loop3: detected capacity change from 0 to 1024 [pid 5202] <... write resumed>) = 524288 [pid 5199] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5202] munmap(0x7f8438200000, 138412032 [pid 5097] <... umount2 resumed>) = 0 [pid 5097] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./15/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5203] munmap(0x7f8438200000, 138412032 [pid 5202] <... munmap resumed>) = 0 [pid 5097] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5203] <... munmap resumed>) = 0 [pid 5202] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5201] <... mount resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5201] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5202] <... openat resumed>) = 4 [pid 5097] openat(AT_FDCWD, "./15/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5201] <... openat resumed>) = 3 [pid 5203] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5202] ioctl(4, LOOP_SET_FD, 3 [pid 5201] chdir("./file1" [pid 5097] <... openat resumed>) = 4 [pid 5201] <... chdir resumed>) = 0 [pid 5201] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4) = 0 [pid 5097] rmdir("./15/file1") = 0 [pid 5203] <... openat resumed>) = 4 [pid 5201] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5200] <... write resumed>) = 524288 [pid 5199] <... write resumed>) = 524288 [pid 5200] munmap(0x7f8438200000, 138412032 [pid 5203] ioctl(4, LOOP_SET_FD, 3 [pid 5201] truncate("./file1", 0 [pid 5097] getdents64(3, [pid 5200] <... munmap resumed>) = 0 [pid 5199] munmap(0x7f8438200000, 138412032 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5200] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5199] <... munmap resumed>) = 0 [pid 5097] close(3 [pid 5200] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... close resumed>) = 0 [pid 5200] close(4 [pid 5199] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] rmdir("./15" [pid 5203] <... ioctl resumed>) = 0 [pid 5202] <... ioctl resumed>) = 0 [pid 5200] <... close resumed>) = 0 [pid 5199] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5203] close(3 [pid 5202] close(3 [pid 5097] <... rmdir resumed>) = 0 [pid 5203] <... close resumed>) = 0 [pid 5203] close(4 [pid 5097] mkdir("./16", 0777 [pid 5203] <... close resumed>) = 0 [pid 5201] <... truncate resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5203] mkdir("./file1", 0777 [pid 5199] close(4 [pid 5203] <... mkdir resumed>) = 0 [pid 5201] memfd_create("syzkaller", 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5201] <... memfd_create resumed>) = 4 [pid 5097] <... openat resumed>) = 3 [pid 5201] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5202] <... close resumed>) = 0 [pid 5201] <... mmap resumed>) = 0x7f8438200000 [pid 5202] close(4 [pid 5200] exit_group(0) = ? [pid 5202] <... close resumed>) = 0 [pid 5202] mkdir("./file1", 0777) = 0 [pid 5200] +++ exited with 0 +++ [pid 5203] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5200, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5101] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5199] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 118.909245][ T5202] loop5: detected capacity change from 0 to 1024 [ 118.931343][ T5203] loop2: detected capacity change from 0 to 1024 [pid 5202] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5199] exit_group(0 [pid 5101] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5199] <... exit_group resumed>) = ? [pid 5101] <... openat resumed>) = 3 [pid 5101] newfstatat(3, "", [pid 5201] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5199] +++ exited with 0 +++ [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5199, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5101] unlink("./15/binderfs" [pid 5098] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5203] <... mount resumed>) = 0 [pid 5098] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5098] getdents64(3, [pid 5203] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5202] <... mount resumed>) = 0 [pid 5201] <... write resumed>) = 524288 [pid 5101] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5203] <... openat resumed>) = 3 [pid 5202] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5201] munmap(0x7f8438200000, 138412032 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5203] chdir("./file1") = 0 [pid 5202] <... openat resumed>) = 3 [pid 5201] <... munmap resumed>) = 0 [pid 5098] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5202] chdir("./file1" [pid 5201] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5203] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] unlink("./15/binderfs" [pid 5201] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5203] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5202] <... chdir resumed>) = 0 [pid 5201] close(4 [pid 5098] <... unlink resumed>) = 0 [pid 5098] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5202] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5203] truncate("./file1", 0 [pid 5202] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... ioctl resumed>) = 0 [pid 5202] truncate("./file1", 0 [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5202] <... truncate resumed>) = 0 [pid 5202] memfd_create("syzkaller", 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5204 ./strace-static-x86_64: Process 5204 attached [pid 5204] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5204] chdir("./16") = 0 [pid 5202] <... memfd_create resumed>) = 4 [pid 5202] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5204] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5202] <... mmap resumed>) = 0x7f8438200000 [pid 5201] <... close resumed>) = 0 [pid 5204] <... prctl resumed>) = 0 [pid 5204] setpgid(0, 0) = 0 [pid 5204] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5201] exit_group(0) = ? [pid 5202] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5204] write(3, "1000", 4) = 4 [pid 5201] +++ exited with 0 +++ [pid 5204] close(3 [pid 5203] <... truncate resumed>) = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 executing program [pid 5203] memfd_create("syzkaller", 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5201, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5204] <... close resumed>) = 0 [pid 5203] <... memfd_create resumed>) = 4 [pid 5204] symlink("/dev/binderfs", "./binderfs" [pid 5100] umount2("./14", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5204] <... symlink resumed>) = 0 [pid 5203] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./15/file1", [pid 5203] <... mmap resumed>) = 0x7f8438200000 [pid 5100] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", [pid 5098] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(AT_FDCWD, "./15/file1", [pid 5204] write(1, "executing program\n", 18 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5204] <... write resumed>) = 18 [pid 5100] getdents64(3, [pid 5204] memfd_create("syzkaller", 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./14/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./14/binderfs", [pid 5204] <... memfd_create resumed>) = 3 [pid 5203] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5202] <... write resumed>) = 524288 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5204] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] unlink("./14/binderfs" [pid 5204] <... mmap resumed>) = 0x7f8438200000 [pid 5202] munmap(0x7f8438200000, 138412032 [pid 5101] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... unlink resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./15/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5204] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5202] <... munmap resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 4 [pid 5101] openat(AT_FDCWD, "./15/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] newfstatat(4, "", [pid 5203] <... write resumed>) = 524288 [pid 5202] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... openat resumed>) = 4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] newfstatat(4, "", [pid 5202] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] getdents64(4, [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5203] munmap(0x7f8438200000, 138412032 [pid 5202] close(4 [pid 5101] getdents64(4, [pid 5100] <... umount2 resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, [pid 5101] getdents64(4, [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5098] rmdir("./15/file1" [pid 5101] close(4 [pid 5098] <... rmdir resumed>) = 0 [pid 5203] <... munmap resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5100] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(3, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] rmdir("./15/file1" [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3 [pid 5204] <... write resumed>) = 524288 [pid 5101] <... rmdir resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./15" [pid 5204] munmap(0x7f8438200000, 138412032 [pid 5202] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5100] newfstatat(AT_FDCWD, "./14/file1", [pid 5098] <... rmdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5203] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5202] exit_group(0 [pid 5101] close(3 [pid 5100] umount2("./14/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] mkdir("./16", 0777 [pid 5204] <... munmap resumed>) = 0 [pid 5204] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5098] <... mkdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... close resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] openat(AT_FDCWD, "./14/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5203] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5204] ioctl(4, LOOP_SET_FD, 3 [pid 5098] <... openat resumed>) = 3 [pid 5203] close(4 [pid 5202] <... exit_group resumed>) = ? [pid 5101] rmdir("./15" [pid 5100] <... openat resumed>) = 4 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5204] <... ioctl resumed>) = 0 [pid 5203] <... close resumed>) = 0 [pid 5202] +++ exited with 0 +++ [pid 5101] <... rmdir resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5204] close(3 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5202, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5101] mkdir("./16", 0777 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] getdents64(4, [pid 5204] <... close resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5204] close(4 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5204] <... close resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5100] close(4) = 0 [pid 5100] rmdir("./14/file1" [pid 5204] mkdir("./file1", 0777 [pid 5100] <... rmdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./14" [pid 5204] <... mkdir resumed>) = 0 [pid 5203] exit_group(0 [pid 5100] <... rmdir resumed>) = 0 [pid 5204] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] mkdir("./15", 0777 [pid 5203] <... exit_group resumed>) = ? [pid 5103] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5103] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5100] <... mkdir resumed>) = 0 [pid 5203] +++ exited with 0 +++ [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5103] unlink("./15/binderfs" [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5203, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [ 119.195147][ T5204] loop0: detected capacity change from 0 to 1024 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] <... unlink resumed>) = 0 [pid 5103] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... openat resumed>) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./16/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./16/binderfs") = 0 [pid 5099] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(3 [pid 5204] <... mount resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5204] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5204] chdir("./file1") = 0 [pid 5204] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5098] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5204] truncate("./file1", 0 [pid 5103] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... ioctl resumed>) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5099] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./16/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] newfstatat(AT_FDCWD, "./15/file1", [pid 5099] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./16/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5099] newfstatat(4, "", [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5205 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] getdents64(4, [pid 5204] <... truncate resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5204] memfd_create("syzkaller", 0 [pid 5099] getdents64(4, [pid 5204] <... memfd_create resumed>) = 4 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5205 attached [pid 5204] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] close(4 [pid 5205] set_robust_list(0x55556fbaa660, 24 [pid 5204] <... mmap resumed>) = 0x7f8438200000 [pid 5103] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... close resumed>) = 0 [pid 5205] <... set_robust_list resumed>) = 0 [pid 5204] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5099] rmdir("./16/file1" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5205] chdir("./16" [pid 5103] openat(AT_FDCWD, "./15/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... rmdir resumed>) = 0 [pid 5205] <... chdir resumed>) = 0 [pid 5099] getdents64(3, [pid 5205] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... openat resumed>) = 4 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] newfstatat(4, "", [pid 5205] <... prctl resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] close(3 [pid 5100] close(3 [pid 5099] close(3) = 0 [pid 5103] getdents64(4, [pid 5101] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5205] setpgid(0, 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] rmdir("./16" [pid 5103] getdents64(4, [pid 5205] <... setpgid resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5205] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4 [pid 5205] write(3, "1000", 4 [pid 5103] <... close resumed>) = 0 [pid 5099] mkdir("./17", 0777./strace-static-x86_64: Process 5207 attached [pid 5205] <... write resumed>) = 4 [pid 5103] rmdir("./15/file1" [pid 5099] <... mkdir resumed>) = 0 [pid 5207] set_robust_list(0x55556fbaa660, 24 [pid 5205] close(3 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5207 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5206 ./strace-static-x86_64: Process 5206 attached [pid 5205] <... close resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5207] <... set_robust_list resumed>) = 0 [pid 5206] set_robust_list(0x55556fbaa660, 24 [pid 5205] symlink("/dev/binderfs", "./binderfs" [pid 5103] getdents64(3, [pid 5099] <... openat resumed>) = 3 [pid 5207] chdir("./16" [pid 5205] <... symlink resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5207] <... chdir resumed>) = 0 [pid 5206] <... set_robust_list resumed>) = 0 executing program [pid 5205] write(1, "executing program\n", 18 [pid 5103] close(3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5207] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5206] chdir("./15" [pid 5205] <... write resumed>) = 18 [pid 5204] <... write resumed>) = 524288 [pid 5207] <... prctl resumed>) = 0 [pid 5206] <... chdir resumed>) = 0 [pid 5205] memfd_create("syzkaller", 0 [pid 5207] setpgid(0, 0 [pid 5103] <... close resumed>) = 0 [pid 5206] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5205] <... memfd_create resumed>) = 3 [pid 5206] <... prctl resumed>) = 0 [pid 5205] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5206] setpgid(0, 0 [pid 5205] <... mmap resumed>) = 0x7f8438200000 [pid 5207] <... setpgid resumed>) = 0 [pid 5205] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] rmdir("./15" [pid 5207] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5206] <... setpgid resumed>) = 0 [pid 5206] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5103] <... rmdir resumed>) = 0 [pid 5207] <... openat resumed>) = 3 [pid 5207] write(3, "1000", 4) = 4 [pid 5206] write(3, "1000", 4 [pid 5204] munmap(0x7f8438200000, 138412032 [pid 5207] close(3 [pid 5206] <... write resumed>) = 4 [pid 5204] <... munmap resumed>) = 0 [pid 5206] close(3 [pid 5207] <... close resumed>) = 0 [pid 5206] <... close resumed>) = 0 [pid 5103] mkdir("./16", 0777 [pid 5207] symlink("/dev/binderfs", "./binderfs" [pid 5206] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5103] <... mkdir resumed>) = 0 [pid 5207] <... symlink resumed>) = 0 [pid 5206] write(1, "executing program\n", 18 [pid 5205] <... write resumed>) = 524288 [pid 5204] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5207] write(1, "executing program\n", 18 [pid 5206] <... write resumed>) = 18 [pid 5103] <... openat resumed>) = 3 [pid 5204] <... openat resumed>) = -1 EBUSY (Device or resource busy) executing program [pid 5207] <... write resumed>) = 18 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5207] memfd_create("syzkaller", 0 [pid 5204] close(4 [pid 5207] <... memfd_create resumed>) = 3 [pid 5207] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5206] memfd_create("syzkaller", 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5206] <... memfd_create resumed>) = 3 [pid 5207] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5206] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5206] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5204] <... close resumed>) = 0 [pid 5205] munmap(0x7f8438200000, 138412032) = 0 [pid 5205] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5204] exit_group(0 [pid 5099] close(3 [pid 5205] <... openat resumed>) = 4 [pid 5204] <... exit_group resumed>) = ? [pid 5099] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5204] +++ exited with 0 +++ [pid 5103] <... ioctl resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5204, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5205] ioctl(4, LOOP_SET_FD, 3 [pid 5207] <... write resumed>) = 524288 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5208 [pid 5207] munmap(0x7f8438200000, 138412032./strace-static-x86_64: Process 5208 attached [pid 5208] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5207] <... munmap resumed>) = 0 [pid 5208] chdir("./17" [pid 5207] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5207] <... openat resumed>) = 4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5207] ioctl(4, LOOP_SET_FD, 3 [pid 5208] <... chdir resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5208] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5208] setpgid(0, 0) = 0 [pid 5208] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5206] <... write resumed>) = 524288 [pid 5205] <... ioctl resumed>) = 0 [pid 5103] close(3 [pid 5097] newfstatat(3, "", [pid 5208] write(3, "1000", 4 [pid 5205] close(3 [pid 5103] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5206] munmap(0x7f8438200000, 138412032 [pid 5097] getdents64(3, [pid 5208] <... write resumed>) = 4 [pid 5206] <... munmap resumed>) = 0 [pid 5205] <... close resumed>) = 0 [pid 5208] close(3 [pid 5207] <... ioctl resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5208] <... close resumed>) = 0 [pid 5207] close(3 [pid 5206] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5205] close(4 [pid 5097] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5207] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5207] close(4 [pid 5097] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5206] <... openat resumed>) = 4 [pid 5207] <... close resumed>) = 0 [ 119.451009][ T5205] loop1: detected capacity change from 0 to 1024 [ 119.470415][ T5207] loop4: detected capacity change from 0 to 1024 ./strace-static-x86_64: Process 5209 attached [pid 5208] symlink("/dev/binderfs", "./binderfs" [pid 5207] mkdir("./file1", 0777 [pid 5206] ioctl(4, LOOP_SET_FD, 3 [pid 5205] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5209] set_robust_list(0x55556fbaa660, 24 [pid 5208] <... symlink resumed>) = 0 [pid 5205] mkdir("./file1", 0777 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5209 [pid 5097] unlink("./16/binderfs" [pid 5209] <... set_robust_list resumed>) = 0 [pid 5207] <... mkdir resumed>) = 0 [pid 5205] <... mkdir resumed>) = 0 executing program [pid 5208] write(1, "executing program\n", 18 [pid 5205] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5208] <... write resumed>) = 18 [pid 5209] chdir("./16" [pid 5208] memfd_create("syzkaller", 0 [pid 5207] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... unlink resumed>) = 0 [pid 5209] <... chdir resumed>) = 0 [pid 5208] <... memfd_create resumed>) = 3 [pid 5208] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5209] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5208] <... mmap resumed>) = 0x7f8438200000 [pid 5207] <... mount resumed>) = 0 [pid 5097] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5209] <... prctl resumed>) = 0 [pid 5207] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5206] <... ioctl resumed>) = 0 [pid 5209] setpgid(0, 0) = 0 [pid 5208] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5207] <... openat resumed>) = 3 [pid 5206] close(3 [pid 5097] <... umount2 resumed>) = 0 [pid 5209] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5207] chdir("./file1" [pid 5206] <... close resumed>) = 0 [pid 5097] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5206] close(4 [pid 5209] <... openat resumed>) = 3 [pid 5207] <... chdir resumed>) = 0 [pid 5206] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5209] write(3, "1000", 4 [pid 5207] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5206] mkdir("./file1", 0777 [pid 5097] newfstatat(AT_FDCWD, "./16/file1", [pid 5209] <... write resumed>) = 4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5207] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5209] close(3 [pid 5207] truncate("./file1", 0 [pid 5206] <... mkdir resumed>) = 0 [pid 5205] <... mount resumed>) = 0 [pid 5097] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5209] <... close resumed>) = 0 [pid 5209] symlink("/dev/binderfs", "./binderfs" [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5209] <... symlink resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./16/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5209] write(1, "executing program\n", 18 executing program [pid 5206] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... openat resumed>) = 4 [pid 5209] <... write resumed>) = 18 [ 119.516256][ T5206] loop3: detected capacity change from 0 to 1024 [pid 5097] newfstatat(4, "", [pid 5209] memfd_create("syzkaller", 0 [pid 5208] <... write resumed>) = 524288 [pid 5205] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5209] <... memfd_create resumed>) = 3 [pid 5207] <... truncate resumed>) = 0 [pid 5205] chdir("./file1" [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5209] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5207] memfd_create("syzkaller", 0 [pid 5205] <... chdir resumed>) = 0 [pid 5207] <... memfd_create resumed>) = 4 [pid 5205] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5209] <... mmap resumed>) = 0x7f8438200000 [pid 5205] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] getdents64(4, [pid 5207] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5205] truncate("./file1", 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5207] <... mmap resumed>) = 0x7f8438200000 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5205] <... truncate resumed>) = 0 [pid 5097] close(4 [pid 5205] memfd_create("syzkaller", 0 [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./16/file1" [pid 5205] <... memfd_create resumed>) = 4 [pid 5205] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5207] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5205] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5209] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] <... rmdir resumed>) = 0 [pid 5206] <... mount resumed>) = 0 [pid 5097] getdents64(3, [pid 5209] <... write resumed>) = 524288 [pid 5208] munmap(0x7f8438200000, 138412032 [pid 5205] <... write resumed>) = 524288 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5206] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5208] <... munmap resumed>) = 0 [pid 5208] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5208] ioctl(4, LOOP_SET_FD, 3 [pid 5207] <... write resumed>) = 524288 [pid 5206] <... openat resumed>) = 3 [pid 5097] close(3 [pid 5206] chdir("./file1" [pid 5097] <... close resumed>) = 0 [pid 5206] <... chdir resumed>) = 0 [pid 5097] rmdir("./16" [pid 5206] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5206] truncate("./file1", 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5097] mkdir("./17", 0777) = 0 [pid 5206] <... truncate resumed>) = 0 [pid 5207] munmap(0x7f8438200000, 138412032 [pid 5206] memfd_create("syzkaller", 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5206] <... memfd_create resumed>) = 4 [pid 5206] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5207] <... munmap resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5209] munmap(0x7f8438200000, 138412032 [pid 5207] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5206] <... mmap resumed>) = 0x7f8438200000 [pid 5205] munmap(0x7f8438200000, 138412032 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5209] <... munmap resumed>) = 0 [pid 5208] <... ioctl resumed>) = 0 [pid 5207] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5206] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5205] <... munmap resumed>) = 0 [pid 5208] close(3) = 0 [pid 5205] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5208] close(4 [pid 5207] close(4 [pid 5205] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 119.649429][ T5208] loop2: detected capacity change from 0 to 1024 [pid 5209] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5208] <... close resumed>) = 0 [pid 5207] <... close resumed>) = 0 [pid 5205] close(4 [pid 5209] <... openat resumed>) = 4 [pid 5208] mkdir("./file1", 0777 [pid 5209] ioctl(4, LOOP_SET_FD, 3 [pid 5208] <... mkdir resumed>) = 0 [pid 5208] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5207] exit_group(0 [pid 5208] <... mount resumed>) = 0 [pid 5208] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5208] chdir("./file1" [pid 5207] <... exit_group resumed>) = ? [pid 5208] <... chdir resumed>) = 0 [pid 5208] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5206] <... write resumed>) = 524288 [pid 5097] <... ioctl resumed>) = 0 [pid 5208] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5209] <... ioctl resumed>) = 0 [pid 5208] truncate("./file1", 0 [pid 5209] close(3) = 0 [pid 5209] close(4) = 0 [pid 5209] mkdir("./file1", 0777) = 0 [pid 5209] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5208] <... truncate resumed>) = 0 [pid 5208] memfd_create("syzkaller", 0) = 4 [pid 5205] <... close resumed>) = 0 [pid 5209] <... mount resumed>) = 0 [pid 5208] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5207] +++ exited with 0 +++ [pid 5206] munmap(0x7f8438200000, 138412032 [pid 5205] exit_group(0 [pid 5208] <... mmap resumed>) = 0x7f8438200000 [pid 5205] <... exit_group resumed>) = ? [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5207, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5209] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [ 119.700530][ T5209] loop5: detected capacity change from 0 to 1024 [pid 5209] chdir("./file1" [pid 5101] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5209] <... chdir resumed>) = 0 [pid 5209] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5209] truncate("./file1", 0 [pid 5206] <... munmap resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5205] +++ exited with 0 +++ [pid 5101] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5205, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] <... openat resumed>) = 3 [pid 5098] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(3, "", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5209] <... truncate resumed>) = 0 [pid 5208] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5206] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5209] memfd_create("syzkaller", 0 [pid 5101] getdents64(3, [pid 5209] <... memfd_create resumed>) = 4 [pid 5206] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... openat resumed>) = 3 [pid 5209] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5206] close(4 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] newfstatat(3, "", [pid 5209] <... mmap resumed>) = 0x7f8438200000 [pid 5101] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(3, [pid 5209] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5210 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 ./strace-static-x86_64: Process 5210 attached [pid 5098] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5210] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5210] chdir("./17" [pid 5101] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5101] unlink("./16/binderfs" [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5210] <... chdir resumed>) = 0 [pid 5208] <... write resumed>) = 524288 [pid 5206] <... close resumed>) = 0 [pid 5101] <... unlink resumed>) = 0 [pid 5098] unlink("./16/binderfs" [pid 5101] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5210] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] <... unlink resumed>) = 0 [pid 5210] <... prctl resumed>) = 0 [pid 5210] setpgid(0, 0 [pid 5206] exit_group(0 [pid 5098] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5210] <... setpgid resumed>) = 0 [pid 5208] munmap(0x7f8438200000, 138412032 [pid 5210] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5208] <... munmap resumed>) = 0 [pid 5206] <... exit_group resumed>) = ? [pid 5210] <... openat resumed>) = 3 [pid 5210] write(3, "1000", 4) = 4 [pid 5210] close(3 [pid 5208] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5210] <... close resumed>) = 0 [pid 5210] symlink("/dev/binderfs", "./binderfs" [pid 5208] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5210] <... symlink resumed>) = 0 [pid 5208] close(4executing program [pid 5210] write(1, "executing program\n", 18) = 18 [pid 5210] memfd_create("syzkaller", 0 [pid 5209] <... write resumed>) = 524288 [pid 5210] <... memfd_create resumed>) = 3 [pid 5210] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5206] +++ exited with 0 +++ [pid 5101] <... umount2 resumed>) = 0 [pid 5210] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5206, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5208] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5209] munmap(0x7f8438200000, 138412032 [pid 5100] umount2("./15", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5209] <... munmap resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(3, [pid 5098] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5209] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] newfstatat(AT_FDCWD, "./16/file1", [pid 5209] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./15/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5209] close(4 [pid 5101] newfstatat(AT_FDCWD, "./16/file1", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5208] exit_group(0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] newfstatat(AT_FDCWD, "./15/binderfs", [pid 5098] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5209] <... close resumed>) = 0 [pid 5208] <... exit_group resumed>) = ? [pid 5101] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5208] +++ exited with 0 +++ [pid 5100] unlink("./15/binderfs" [pid 5210] <... write resumed>) = 524288 [pid 5209] exit_group(0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... unlink resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./16/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5208, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5098] <... openat resumed>) = 4 [pid 5101] openat(AT_FDCWD, "./16/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5210] munmap(0x7f8438200000, 138412032 [pid 5209] <... exit_group resumed>) = ? [pid 5101] <... openat resumed>) = 4 [pid 5100] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... restart_syscall resumed>) = 0 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5210] <... munmap resumed>) = 0 [pid 5209] +++ exited with 0 +++ [pid 5101] newfstatat(4, "", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] getdents64(4, [pid 5210] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5209, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, [pid 5099] <... openat resumed>) = 3 [pid 5210] <... openat resumed>) = 4 [pid 5101] getdents64(4, [pid 5099] newfstatat(3, "", [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5210] ioctl(4, LOOP_SET_FD, 3 [pid 5103] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] close(4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] getdents64(4, [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] getdents64(3, [pid 5098] rmdir("./16/file1") = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] close(4 [pid 5098] getdents64(3, [pid 5210] <... ioctl resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5101] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5099] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] close(3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... close resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5101] rmdir("./16/file1" [pid 5100] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] rmdir("./16" [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5210] close(3 [pid 5103] newfstatat(3, "", [pid 5101] getdents64(3, [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] unlink("./17/binderfs" [pid 5098] mkdir("./17", 0777 [pid 5210] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] close(3 [pid 5210] close(4 [pid 5103] getdents64(3, [pid 5101] <... close resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5210] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] rmdir("./16" [pid 5100] newfstatat(AT_FDCWD, "./15/file1", [pid 5099] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5210] mkdir("./file1", 0777 [pid 5103] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5210] <... mkdir resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] mkdir("./17", 0777 [pid 5098] <... openat resumed>) = 3 [pid 5210] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5101] <... mkdir resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5100] umount2("./15/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./15/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5100] newfstatat(4, "", [pid 5210] <... mount resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... umount2 resumed>) = 0 [pid 5103] unlink("./16/binderfs" [pid 5210] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... openat resumed>) = 3 [pid 5210] <... openat resumed>) = 3 [pid 5210] chdir("./file1") = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5210] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5210] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 119.895096][ T5210] loop0: detected capacity change from 0 to 1024 [pid 5210] truncate("./file1", 0 [pid 5099] newfstatat(AT_FDCWD, "./17/file1", [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5099] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] <... umount2 resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] rmdir("./15/file1" [pid 5099] openat(AT_FDCWD, "./17/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5210] <... truncate resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5210] memfd_create("syzkaller", 0 [pid 5100] getdents64(3, [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] getdents64(4, [pid 5100] close(3) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] rmdir("./15" [pid 5099] getdents64(4, [pid 5210] <... memfd_create resumed>) = 4 [pid 5100] <... rmdir resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5210] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] close(4 [pid 5210] <... mmap resumed>) = 0x7f8438200000 [pid 5103] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./16/file1", [pid 5100] mkdir("./16", 0777 [pid 5099] rmdir("./17/file1" [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5103] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] openat(AT_FDCWD, "./16/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... openat resumed>) = 3 [pid 5103] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5098] <... ioctl resumed>) = 0 [pid 5210] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(4, [pid 5101] <... ioctl resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5210] <... write resumed>) = 524288 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] close(3 [pid 5210] munmap(0x7f8438200000, 138412032 [pid 5103] getdents64(4, [pid 5099] getdents64(3, [pid 5098] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5210] <... munmap resumed>) = 0 [pid 5103] close(4 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... close resumed>) = 0 [pid 5101] close(3 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] rmdir("./16/file1" [pid 5101] <... close resumed>) = 0 [pid 5099] close(3 [pid 5103] <... rmdir resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... close resumed>) = 0 [pid 5210] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5099] rmdir("./17") = 0 [pid 5210] close(4 [pid 5103] getdents64(3, ./strace-static-x86_64: Process 5211 attached [pid 5210] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] mkdir("./18", 0777 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5211 [pid 5211] set_robust_list(0x55556fbaa660, 24 [pid 5103] close(3) = 0 [pid 5103] rmdir("./16" [pid 5211] <... set_robust_list resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5103] mkdir("./17", 0777./strace-static-x86_64: Process 5212 attached [pid 5212] set_robust_list(0x55556fbaa660, 24 [pid 5103] <... mkdir resumed>) = 0 [pid 5212] <... set_robust_list resumed>) = 0 [pid 5212] chdir("./17") = 0 [pid 5211] chdir("./17" [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5212 [pid 5212] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5212] <... prctl resumed>) = 0 [pid 5211] <... chdir resumed>) = 0 [pid 5210] exit_group(0 [pid 5103] <... openat resumed>) = 3 [pid 5100] <... ioctl resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5212] setpgid(0, 0) = 0 [pid 5211] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5210] <... exit_group resumed>) = ? [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5211] <... prctl resumed>) = 0 [pid 5212] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5211] setpgid(0, 0 [pid 5099] <... openat resumed>) = 3 [pid 5212] <... openat resumed>) = 3 [pid 5211] <... setpgid resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5211] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5212] write(3, "1000", 4) = 4 [pid 5100] close(3 [pid 5212] close(3 [pid 5211] <... openat resumed>) = 3 [pid 5100] <... close resumed>) = 0 [pid 5212] <... close resumed>) = 0 [pid 5211] write(3, "1000", 4 [pid 5210] +++ exited with 0 +++ [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5212] symlink("/dev/binderfs", "./binderfs" [pid 5211] <... write resumed>) = 4 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5210, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5211] close(3executing program [pid 5212] <... symlink resumed>) = 0 [pid 5211] <... close resumed>) = 0 [pid 5211] symlink("/dev/binderfs", "./binderfs" [pid 5212] write(1, "executing program\n", 18 [pid 5211] <... symlink resumed>) = 0 [pid 5212] <... write resumed>) = 18 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5213 [pid 5097] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5211] write(1, "executing program\n", 18executing program [pid 5212] memfd_create("syzkaller", 0 [pid 5211] <... write resumed>) = 18 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5213 attached [pid 5097] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5213] set_robust_list(0x55556fbaa660, 24 [pid 5211] memfd_create("syzkaller", 0 [pid 5213] <... set_robust_list resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5213] chdir("./16" [pid 5097] newfstatat(3, "", [pid 5211] <... memfd_create resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5212] <... memfd_create resumed>) = 3 [pid 5213] <... chdir resumed>) = 0 [pid 5212] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] getdents64(3, [pid 5213] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5212] <... mmap resumed>) = 0x7f8438200000 [pid 5213] <... prctl resumed>) = 0 [pid 5211] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5213] setpgid(0, 0 [pid 5097] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5213] <... setpgid resumed>) = 0 [pid 5211] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5213] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5097] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./17/binderfs" [pid 5213] write(3, "1000", 4 [pid 5097] <... unlink resumed>) = 0 [pid 5213] <... write resumed>) = 4 [pid 5213] close(3) = 0 [pid 5213] symlink("/dev/binderfs", "./binderfs" [pid 5097] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5213] <... symlink resumed>) = 0 [pid 5213] write(1, "executing program\n", 18) = 18 [pid 5212] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5213] memfd_create("syzkaller", 0) = 3 [pid 5213] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5097] <... umount2 resumed>) = 0 [pid 5213] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5211] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5213] <... write resumed>) = 524288 [pid 5211] <... write resumed>) = 524288 [pid 5097] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./17/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5097] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5212] <... write resumed>) = 524288 [pid 5103] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] <... close resumed>) = 0 [pid 5211] munmap(0x7f8438200000, 138412032 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] openat(AT_FDCWD, "./17/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5212] munmap(0x7f8438200000, 138412032) = 0 [pid 5211] <... munmap resumed>) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5211] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5214 [pid 5211] <... openat resumed>) = 4 [pid 5213] munmap(0x7f8438200000, 138412032 [pid 5097] close(4) = 0 [pid 5212] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] rmdir("./17/file1"./strace-static-x86_64: Process 5214 attached [pid 5213] <... munmap resumed>) = 0 [pid 5212] <... openat resumed>) = 4 [pid 5211] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... rmdir resumed>) = 0 [pid 5214] set_robust_list(0x55556fbaa660, 24 [pid 5212] ioctl(4, LOOP_SET_FD, 3 [pid 5214] <... set_robust_list resumed>) = 0 [pid 5213] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] close(3 [pid 5097] getdents64(3, [pid 5213] <... openat resumed>) = 4 [pid 5099] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5214] chdir("./17" [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] close(3 [pid 5214] <... chdir resumed>) = 0 [pid 5213] ioctl(4, LOOP_SET_FD, 3 [pid 5211] <... ioctl resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5214] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] rmdir("./17") = 0 [pid 5097] mkdir("./18", 0777) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5215 [pid 5097] <... openat resumed>) = 3 [pid 5214] <... prctl resumed>) = 0 [pid 5213] <... ioctl resumed>) = 0 [pid 5211] close(3 [pid 5214] setpgid(0, 0 [pid 5211] <... close resumed>) = 0 [pid 5211] close(4) = 0 [pid 5214] <... setpgid resumed>) = 0 [pid 5213] close(3 [pid 5211] mkdir("./file1", 0777 [pid 5097] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5215 attached [pid 5213] <... close resumed>) = 0 [pid 5215] set_robust_list(0x55556fbaa660, 24 [pid 5214] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5213] close(4 [pid 5212] <... ioctl resumed>) = 0 [pid 5211] <... mkdir resumed>) = 0 [pid 5213] <... close resumed>) = 0 [pid 5212] close(3 [pid 5214] <... openat resumed>) = 3 [pid 5213] mkdir("./file1", 0777 [pid 5212] <... close resumed>) = 0 [pid 5211] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5215] <... set_robust_list resumed>) = 0 [pid 5215] chdir("./18" [pid 5212] close(4) = 0 [pid 5215] <... chdir resumed>) = 0 [pid 5215] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5215] setpgid(0, 0) = 0 [pid 5215] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5213] <... mkdir resumed>) = 0 [pid 5214] write(3, "1000", 4 [pid 5212] mkdir("./file1", 0777 [pid 5215] write(3, "1000", 4 [pid 5214] <... write resumed>) = 4 [pid 5213] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5212] <... mkdir resumed>) = 0 [pid 5214] close(3) = 0 [pid 5215] <... write resumed>) = 4 [pid 5215] close(3 [pid 5214] symlink("/dev/binderfs", "./binderfs" [pid 5212] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5211] <... mount resumed>) = 0 [pid 5215] <... close resumed>) = 0 [pid 5214] <... symlink resumed>) = 0 [pid 5211] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORYexecuting program [pid 5214] write(1, "executing program\n", 18) = 18 [ 120.171886][ T5211] loop1: detected capacity change from 0 to 1024 [ 120.177132][ T5212] loop4: detected capacity change from 0 to 1024 [ 120.193646][ T5213] loop3: detected capacity change from 0 to 1024 [pid 5215] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5214] memfd_create("syzkaller", 0 [pid 5215] write(1, "executing program\n", 18 [pid 5211] <... openat resumed>) = 3 [pid 5214] <... memfd_create resumed>) = 3 [pid 5213] <... mount resumed>) = 0 [pid 5212] <... mount resumed>) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5214] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5211] chdir("./file1" [pid 5212] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5211] <... chdir resumed>) = 0 executing program [pid 5215] <... write resumed>) = 18 [pid 5215] memfd_create("syzkaller", 0 [pid 5214] <... mmap resumed>) = 0x7f8438200000 [pid 5213] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5212] <... openat resumed>) = 3 [pid 5211] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5215] <... memfd_create resumed>) = 3 [pid 5213] <... openat resumed>) = 3 [pid 5213] chdir("./file1") = 0 [pid 5211] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5215] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5214] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5213] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5212] chdir("./file1" [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5212] <... chdir resumed>) = 0 [pid 5211] truncate("./file1", 0 [pid 5213] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5212] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5215] <... mmap resumed>) = 0x7f8438200000 [pid 5213] truncate("./file1", 0 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5216 [pid 5212] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5215] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5214] <... write resumed>) = 524288 [pid 5212] truncate("./file1", 0./strace-static-x86_64: Process 5216 attached [pid 5216] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5216] chdir("./18" [pid 5211] <... truncate resumed>) = 0 [pid 5216] <... chdir resumed>) = 0 [pid 5216] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5213] <... truncate resumed>) = 0 [pid 5211] memfd_create("syzkaller", 0 [pid 5216] <... prctl resumed>) = 0 [pid 5216] setpgid(0, 0) = 0 [pid 5213] memfd_create("syzkaller", 0 [pid 5211] <... memfd_create resumed>) = 4 [pid 5216] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5211] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5216] <... openat resumed>) = 3 [pid 5213] <... memfd_create resumed>) = 4 [pid 5212] <... truncate resumed>) = 0 [pid 5216] write(3, "1000", 4 [pid 5213] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5212] memfd_create("syzkaller", 0 [pid 5211] <... mmap resumed>) = 0x7f8438200000 executing program [pid 5216] <... write resumed>) = 4 [pid 5216] close(3) = 0 [pid 5212] <... memfd_create resumed>) = 4 [pid 5216] symlink("/dev/binderfs", "./binderfs" [pid 5213] <... mmap resumed>) = 0x7f8438200000 [pid 5212] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5216] <... symlink resumed>) = 0 [pid 5216] write(1, "executing program\n", 18) = 18 [pid 5216] memfd_create("syzkaller", 0 [pid 5212] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5216] <... memfd_create resumed>) = 3 [pid 5216] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5214] munmap(0x7f8438200000, 138412032) = 0 [pid 5215] <... write resumed>) = 524288 [pid 5215] munmap(0x7f8438200000, 138412032 [pid 5216] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5211] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5215] <... munmap resumed>) = 0 [pid 5214] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5215] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5215] ioctl(4, LOOP_SET_FD, 3 [pid 5214] <... openat resumed>) = 4 [pid 5213] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5211] <... write resumed>) = 524288 [pid 5216] <... write resumed>) = 524288 [pid 5214] ioctl(4, LOOP_SET_FD, 3 [pid 5215] <... ioctl resumed>) = 0 [pid 5215] close(3) = 0 [pid 5215] close(4) = 0 [pid 5214] <... ioctl resumed>) = 0 [pid 5212] <... write resumed>) = 524288 [pid 5216] munmap(0x7f8438200000, 138412032 [pid 5215] mkdir("./file1", 0777 [pid 5216] <... munmap resumed>) = 0 [pid 5215] <... mkdir resumed>) = 0 [pid 5213] <... write resumed>) = 524288 [pid 5212] munmap(0x7f8438200000, 138412032 [pid 5216] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5215] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5212] <... munmap resumed>) = 0 [pid 5214] close(3 [pid 5213] munmap(0x7f8438200000, 138412032 [pid 5212] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5211] munmap(0x7f8438200000, 138412032 [pid 5216] <... openat resumed>) = 4 [pid 5212] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5211] <... munmap resumed>) = 0 [ 120.397701][ T5215] loop2: detected capacity change from 0 to 1024 [ 120.422973][ T5214] loop5: detected capacity change from 0 to 1024 [pid 5216] ioctl(4, LOOP_SET_FD, 3 [pid 5212] close(4 [pid 5214] <... close resumed>) = 0 [pid 5213] <... munmap resumed>) = 0 [pid 5211] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5214] close(4 [pid 5211] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5214] <... close resumed>) = 0 [pid 5211] close(4 [pid 5214] mkdir("./file1", 0777 [pid 5215] <... mount resumed>) = 0 [pid 5214] <... mkdir resumed>) = 0 [pid 5213] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5214] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5213] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5215] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5213] close(4 [pid 5216] <... ioctl resumed>) = 0 [pid 5215] <... openat resumed>) = 3 [pid 5216] close(3) = 0 [pid 5215] chdir("./file1" [pid 5216] close(4 [pid 5215] <... chdir resumed>) = 0 [pid 5213] <... close resumed>) = 0 [pid 5212] <... close resumed>) = 0 [pid 5216] <... close resumed>) = 0 [pid 5215] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5216] mkdir("./file1", 0777 [pid 5215] truncate("./file1", 0 [pid 5216] <... mkdir resumed>) = 0 [pid 5215] <... truncate resumed>) = 0 [pid 5215] memfd_create("syzkaller", 0 [pid 5211] <... close resumed>) = 0 [pid 5215] <... memfd_create resumed>) = 4 [pid 5216] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [ 120.445948][ T5216] loop0: detected capacity change from 0 to 1024 [pid 5215] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5212] exit_group(0 [pid 5216] <... mount resumed>) = 0 [pid 5215] <... mmap resumed>) = 0x7f8438200000 [pid 5214] <... mount resumed>) = 0 [pid 5212] <... exit_group resumed>) = ? [pid 5211] exit_group(0 [pid 5215] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5216] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5213] exit_group(0 [pid 5216] <... openat resumed>) = 3 [pid 5214] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5213] <... exit_group resumed>) = ? [pid 5211] <... exit_group resumed>) = ? [pid 5216] chdir("./file1" [pid 5214] <... openat resumed>) = 3 [pid 5213] +++ exited with 0 +++ [pid 5212] +++ exited with 0 +++ [pid 5216] <... chdir resumed>) = 0 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5213, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5216] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5212, si_uid=0, si_status=0, si_utime=0, si_stime=10 /* 0.10 s */} --- [pid 5216] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5216] truncate("./file1", 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5216] <... truncate resumed>) = 0 [pid 5214] chdir("./file1" [pid 5211] +++ exited with 0 +++ [pid 5101] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5216] memfd_create("syzkaller", 0 [pid 5214] <... chdir resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5214] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] newfstatat(3, "", [pid 5216] <... memfd_create resumed>) = 4 [pid 5214] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] umount2("./16", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5211, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5216] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5214] truncate("./file1", 0 [pid 5101] getdents64(3, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5216] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5216] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5100] newfstatat(3, "", [pid 5098] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] unlink("./17/binderfs" [pid 5100] getdents64(3, [pid 5098] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... unlink resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... openat resumed>) = 3 [pid 5101] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./16/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(3, "", [pid 5215] <... write resumed>) = 524288 [pid 5214] <... truncate resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, [pid 5100] newfstatat(AT_FDCWD, "./16/binderfs", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./17/binderfs") = 0 [pid 5100] unlink("./16/binderfs" [pid 5098] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... unlink resumed>) = 0 [pid 5100] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5215] munmap(0x7f8438200000, 138412032) = 0 [pid 5216] <... write resumed>) = 524288 [pid 5214] memfd_create("syzkaller", 0) = 4 [pid 5214] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5215] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5214] <... mmap resumed>) = 0x7f8438200000 [pid 5215] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5215] close(4 [pid 5214] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] <... umount2 resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5216] munmap(0x7f8438200000, 138412032) = 0 [pid 5215] <... close resumed>) = 0 [pid 5214] <... write resumed>) = 524288 [pid 5098] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5216] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5216] close(4) = 0 [pid 5214] munmap(0x7f8438200000, 138412032 [pid 5101] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(AT_FDCWD, "./17/file1", [pid 5215] exit_group(0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] newfstatat(AT_FDCWD, "./17/file1", [pid 5100] newfstatat(AT_FDCWD, "./16/file1", [pid 5098] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] openat(AT_FDCWD, "./17/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5216] exit_group(0 [pid 5215] <... exit_group resumed>) = ? [pid 5214] <... munmap resumed>) = 0 [pid 5100] umount2("./16/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, [pid 5216] <... exit_group resumed>) = ? [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5214] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] openat(AT_FDCWD, "./16/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5214] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5216] +++ exited with 0 +++ [pid 5215] +++ exited with 0 +++ [pid 5214] close(4 [pid 5100] <... openat resumed>) = 4 [pid 5098] getdents64(4, [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5216, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5215, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5099] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(4 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... close resumed>) = 0 [pid 5097] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "./17/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(3, "", [pid 5098] rmdir("./17/file1" [pid 5097] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... openat resumed>) = 4 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5101] newfstatat(4, "", [pid 5097] newfstatat(3, "", [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(4, [pid 5100] newfstatat(4, "", [pid 5097] getdents64(3, [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] getdents64(4, [pid 5100] getdents64(4, [pid 5099] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] close(4 [pid 5099] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5097] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5101] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] rmdir("./17/file1" [pid 5099] unlink("./18/binderfs" [pid 5098] rmdir("./17" [pid 5097] unlink("./18/binderfs" [pid 5101] <... rmdir resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5097] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] getdents64(3, [pid 5099] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... rmdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5214] <... close resumed>) = 0 [pid 5101] close(3 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] mkdir("./18", 0777 [pid 5101] <... close resumed>) = 0 [pid 5101] rmdir("./17" [pid 5214] exit_group(0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] getdents64(4, [pid 5098] <... mkdir resumed>) = 0 [pid 5214] <... exit_group resumed>) = ? [pid 5099] <... umount2 resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] close(4 [pid 5101] mkdir("./18", 0777) = 0 [pid 5214] +++ exited with 0 +++ [pid 5100] <... close resumed>) = 0 [pid 5099] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 3 [pid 5097] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5214, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5100] rmdir("./16/file1" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... openat resumed>) = 3 [pid 5097] newfstatat(AT_FDCWD, "./18/file1", [pid 5100] <... rmdir resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5097] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] getdents64(3, [pid 5099] newfstatat(AT_FDCWD, "./18/file1", [pid 5103] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] close(3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... close resumed>) = 0 [pid 5099] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] openat(AT_FDCWD, "./18/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] <... openat resumed>) = 3 [pid 5100] rmdir("./16" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, [pid 5103] newfstatat(3, "", [pid 5100] <... rmdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./18/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] mkdir("./17", 0777 [pid 5099] <... openat resumed>) = 4 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] close(4) = 0 [pid 5097] rmdir("./18/file1" [pid 5100] <... mkdir resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5097] <... rmdir resumed>) = 0 [pid 5097] getdents64(3, [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5100] <... openat resumed>) = 3 [pid 5099] getdents64(4, [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] close(3 [pid 5103] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] close(4 [pid 5103] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5097] rmdir("./18" [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./18/file1") = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] getdents64(3, [pid 5097] <... rmdir resumed>) = 0 [pid 5103] unlink("./17/binderfs" [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5099] close(3) = 0 [pid 5099] rmdir("./18" [pid 5103] <... unlink resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5103] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] mkdir("./19", 0777) = 0 [pid 5098] close(3 [pid 5101] <... ioctl resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] mkdir("./19", 0777 [pid 5098] <... close resumed>) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... openat resumed>) = 3 [pid 5103] <... umount2 resumed>) = 0 [pid 5101] close(3) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5100] <... ioctl resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5218 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5217 ./strace-static-x86_64: Process 5218 attached ./strace-static-x86_64: Process 5217 attached [pid 5217] set_robust_list(0x55556fbaa660, 24 [pid 5097] <... mkdir resumed>) = 0 [pid 5217] <... set_robust_list resumed>) = 0 [pid 5217] chdir("./18") = 0 [pid 5217] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5217] setpgid(0, 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5217] <... setpgid resumed>) = 0 [pid 5217] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] <... openat resumed>) = 3 [pid 5217] <... openat resumed>) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5218] set_robust_list(0x55556fbaa660, 24 [pid 5103] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] close(3 [pid 5217] write(3, "1000", 4 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5218] <... set_robust_list resumed>) = 0 [pid 5217] <... write resumed>) = 4 [pid 5103] newfstatat(AT_FDCWD, "./17/file1", [pid 5100] <... close resumed>) = 0 [pid 5218] chdir("./18" [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] <... ioctl resumed>) = 0 [pid 5217] close(3) = 0 [pid 5217] symlink("/dev/binderfs", "./binderfs") = 0 ./strace-static-x86_64: Process 5219 attached [pid 5103] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... ioctl resumed>) = 0 [pid 5218] <... chdir resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5219 executing program [pid 5217] write(1, "executing program\n", 18) = 18 [pid 5217] memfd_create("syzkaller", 0) = 3 [pid 5217] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5217] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5219] set_robust_list(0x55556fbaa660, 24 [pid 5218] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] openat(AT_FDCWD, "./17/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5219] <... set_robust_list resumed>) = 0 [pid 5218] <... prctl resumed>) = 0 [pid 5103] <... openat resumed>) = 4 [pid 5218] setpgid(0, 0 [pid 5103] newfstatat(4, "", [pid 5219] chdir("./17" [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5219] <... chdir resumed>) = 0 [pid 5218] <... setpgid resumed>) = 0 [pid 5099] close(3 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5219] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5218] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5219] <... prctl resumed>) = 0 [pid 5218] <... openat resumed>) = 3 [pid 5103] close(4 [pid 5099] <... close resumed>) = 0 [pid 5219] setpgid(0, 0 [pid 5218] write(3, "1000", 4 [pid 5103] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] rmdir("./17/file1" [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5219] <... setpgid resumed>) = 0 [pid 5218] <... write resumed>) = 4 [pid 5103] <... rmdir resumed>) = 0 [pid 5219] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5218] close(3 [pid 5103] getdents64(3, [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5221 [pid 5218] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5218] symlink("/dev/binderfs", "./binderfs" [pid 5103] close(3) = 0 [pid 5218] <... symlink resumed>) = 0 [pid 5103] rmdir("./17"./strace-static-x86_64: Process 5221 attached [pid 5217] <... write resumed>) = 524288 [pid 5103] <... rmdir resumed>) = 0 [pid 5103] mkdir("./18", 0777 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5220 [pid 5221] set_robust_list(0x55556fbaa660, 24./strace-static-x86_64: Process 5220 attached ) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5220] set_robust_list(0x55556fbaa660, 24 [pid 5221] chdir("./19" [pid 5219] <... openat resumed>) = 3 [pid 5220] <... set_robust_list resumed>) = 0 [pid 5221] <... chdir resumed>) = 0 executing program [pid 5218] write(1, "executing program\n", 18 [pid 5219] write(3, "1000", 4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5220] chdir("./19" [pid 5221] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5219] <... write resumed>) = 4 [pid 5218] <... write resumed>) = 18 [pid 5217] munmap(0x7f8438200000, 138412032 [pid 5103] <... openat resumed>) = 3 [pid 5220] <... chdir resumed>) = 0 [pid 5220] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5221] <... prctl resumed>) = 0 [pid 5218] memfd_create("syzkaller", 0 [pid 5217] <... munmap resumed>) = 0 [pid 5221] setpgid(0, 0 [pid 5220] <... prctl resumed>) = 0 [pid 5221] <... setpgid resumed>) = 0 [pid 5219] close(3 [pid 5220] setpgid(0, 0 [pid 5221] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5217] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5219] <... close resumed>) = 0 [pid 5220] <... setpgid resumed>) = 0 [pid 5221] <... openat resumed>) = 3 [pid 5219] symlink("/dev/binderfs", "./binderfs" [pid 5218] <... memfd_create resumed>) = 3 [pid 5217] <... openat resumed>) = 4 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5221] write(3, "1000", 4 [pid 5217] ioctl(4, LOOP_SET_FD, 3 [pid 5220] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5221] <... write resumed>) = 4 [pid 5219] <... symlink resumed>) = 0 [pid 5218] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5221] close(3) = 0 [pid 5221] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5221] write(1, "executing program\n", 18) = 18 [pid 5221] memfd_create("syzkaller", 0) = 3 executing program [pid 5221] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5220] <... openat resumed>) = 3 [pid 5219] write(1, "executing program\n", 18 [pid 5103] <... ioctl resumed>) = 0 [pid 5219] <... write resumed>) = 18 [pid 5217] <... ioctl resumed>) = 0 [pid 5217] close(3) = 0 [pid 5217] close(4) = 0 [pid 5217] mkdir("./file1", 0777 [pid 5220] write(3, "1000", 4 [pid 5221] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5219] memfd_create("syzkaller", 0 [pid 5218] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5217] <... mkdir resumed>) = 0 [pid 5220] <... write resumed>) = 4 [pid 5219] <... memfd_create resumed>) = 3 [pid 5220] close(3 [pid 5219] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5217] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5220] <... close resumed>) = 0 [pid 5221] <... write resumed>) = 524288 [pid 5219] <... mmap resumed>) = 0x7f8438200000 [pid 5218] <... write resumed>) = 524288 [pid 5219] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5220] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5220] write(1, "executing program\n", 18 [ 120.898548][ T5217] loop1: detected capacity change from 0 to 1024 [pid 5103] close(3executing program [pid 5217] <... mount resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5220] <... write resumed>) = 18 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5217] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5220] memfd_create("syzkaller", 0 [pid 5217] <... openat resumed>) = 3 [pid 5220] <... memfd_create resumed>) = 3 [pid 5217] chdir("./file1") = 0 [pid 5220] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5219] <... write resumed>) = 524288 [pid 5217] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5220] <... mmap resumed>) = 0x7f8438200000 [pid 5221] munmap(0x7f8438200000, 138412032 [pid 5217] truncate("./file1", 0 [pid 5221] <... munmap resumed>) = 0 [pid 5220] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5218] munmap(0x7f8438200000, 138412032 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5222 [pid 5217] <... truncate resumed>) = 0 [pid 5217] memfd_create("syzkaller", 0) = 4 [pid 5217] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 5222 attached [pid 5221] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5217] <... mmap resumed>) = 0x7f8438200000 [pid 5221] <... openat resumed>) = 4 [pid 5217] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5222] set_robust_list(0x55556fbaa660, 24 [pid 5218] <... munmap resumed>) = 0 [pid 5222] <... set_robust_list resumed>) = 0 [pid 5221] ioctl(4, LOOP_SET_FD, 3 [pid 5222] chdir("./18" [pid 5221] <... ioctl resumed>) = 0 [pid 5219] munmap(0x7f8438200000, 138412032 [pid 5218] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5222] <... chdir resumed>) = 0 [pid 5222] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5219] <... munmap resumed>) = 0 [pid 5218] <... openat resumed>) = 4 [pid 5217] <... write resumed>) = 524288 [pid 5222] setpgid(0, 0) = 0 [pid 5222] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5222] write(3, "1000", 4) = 4 [pid 5222] close(3) = 0 [pid 5222] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5222] write(1, "executing program\n", 18 [pid 5219] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5218] ioctl(4, LOOP_SET_FD, 3 [pid 5222] <... write resumed>) = 18 [pid 5219] <... openat resumed>) = 4 [pid 5222] memfd_create("syzkaller", 0 [pid 5220] <... write resumed>) = 524288 [ 121.002117][ T5221] loop0: detected capacity change from 0 to 1024 [pid 5219] ioctl(4, LOOP_SET_FD, 3 [pid 5222] <... memfd_create resumed>) = 3 [pid 5221] close(3 [pid 5222] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5221] <... close resumed>) = 0 [pid 5222] <... mmap resumed>) = 0x7f8438200000 [pid 5221] close(4 [pid 5222] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5221] <... close resumed>) = 0 [pid 5218] <... ioctl resumed>) = 0 [pid 5221] mkdir("./file1", 0777) = 0 [pid 5217] munmap(0x7f8438200000, 138412032 [pid 5221] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5217] <... munmap resumed>) = 0 [pid 5220] munmap(0x7f8438200000, 138412032 [pid 5219] <... ioctl resumed>) = 0 [pid 5217] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5222] <... write resumed>) = 524288 [pid 5220] <... munmap resumed>) = 0 [pid 5219] close(3 [pid 5217] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5219] <... close resumed>) = 0 [pid 5219] close(4) = 0 [pid 5218] close(3 [pid 5220] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5219] mkdir("./file1", 0777 [pid 5218] <... close resumed>) = 0 [pid 5218] close(4 [pid 5217] close(4 [pid 5219] <... mkdir resumed>) = 0 [pid 5220] <... openat resumed>) = 4 [pid 5220] ioctl(4, LOOP_SET_FD, 3 [pid 5222] munmap(0x7f8438200000, 138412032 [pid 5220] <... ioctl resumed>) = 0 [pid 5219] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5222] <... munmap resumed>) = 0 [pid 5220] close(3 [pid 5221] <... mount resumed>) = 0 [pid 5218] <... close resumed>) = 0 [pid 5222] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5220] <... close resumed>) = 0 [ 121.042678][ T5218] loop4: detected capacity change from 0 to 1024 [ 121.049926][ T5219] loop3: detected capacity change from 0 to 1024 [ 121.080365][ T5220] loop2: detected capacity change from 0 to 1024 [pid 5220] close(4 [pid 5222] <... openat resumed>) = 4 [pid 5222] ioctl(4, LOOP_SET_FD, 3 [pid 5220] <... close resumed>) = 0 [pid 5221] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5219] <... mount resumed>) = 0 [pid 5218] mkdir("./file1", 0777 [pid 5217] <... close resumed>) = 0 [pid 5221] <... openat resumed>) = 3 [pid 5219] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5217] exit_group(0 [pid 5220] mkdir("./file1", 0777 [pid 5221] chdir("./file1" [pid 5219] <... openat resumed>) = 3 [pid 5217] <... exit_group resumed>) = ? [pid 5220] <... mkdir resumed>) = 0 [pid 5221] <... chdir resumed>) = 0 [pid 5219] chdir("./file1" [pid 5221] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5219] <... chdir resumed>) = 0 [pid 5221] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5219] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5218] <... mkdir resumed>) = 0 [pid 5219] truncate("./file1", 0 [pid 5220] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5221] truncate("./file1", 0 [pid 5218] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5217] +++ exited with 0 +++ [pid 5219] <... truncate resumed>) = 0 [pid 5219] memfd_create("syzkaller", 0) = 4 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5217, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5098] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5219] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5098] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5219] <... mmap resumed>) = 0x7f8438200000 [pid 5098] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] unlink("./18/binderfs") = 0 [pid 5219] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5221] <... truncate resumed>) = 0 [pid 5221] memfd_create("syzkaller", 0 [pid 5222] <... ioctl resumed>) = 0 [pid 5221] <... memfd_create resumed>) = 4 [pid 5222] close(3) = 0 [pid 5222] close(4 [pid 5220] <... mount resumed>) = 0 [pid 5221] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5222] <... close resumed>) = 0 [pid 5222] mkdir("./file1", 0777 [pid 5221] <... mmap resumed>) = 0x7f8438200000 [pid 5222] <... mkdir resumed>) = 0 [pid 5220] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] <... umount2 resumed>) = 0 [pid 5220] <... openat resumed>) = 3 [pid 5220] chdir("./file1" [pid 5222] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5220] <... chdir resumed>) = 0 [pid 5218] <... mount resumed>) = 0 [pid 5098] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5220] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 121.151780][ T5222] loop5: detected capacity change from 0 to 1024 [pid 5220] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5218] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5098] newfstatat(AT_FDCWD, "./18/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5218] chdir("./file1" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5220] truncate("./file1", 0 [pid 5218] <... chdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./18/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5218] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, [pid 5221] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5218] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5222] <... mount resumed>) = 0 [pid 5098] getdents64(4, [pid 5222] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4 [pid 5222] chdir("./file1" [pid 5098] <... close resumed>) = 0 [pid 5222] <... chdir resumed>) = 0 [pid 5222] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] rmdir("./18/file1" [pid 5222] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... rmdir resumed>) = 0 [pid 5222] truncate("./file1", 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5220] <... truncate resumed>) = 0 [pid 5218] truncate("./file1", 0 [pid 5220] memfd_create("syzkaller", 0) = 4 [pid 5220] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5220] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5219] <... write resumed>) = 524288 [pid 5098] close(3) = 0 [pid 5098] rmdir("./18") = 0 [pid 5098] mkdir("./19", 0777) = 0 [pid 5221] <... write resumed>) = 524288 [pid 5219] munmap(0x7f8438200000, 138412032 [pid 5221] munmap(0x7f8438200000, 138412032 [pid 5219] <... munmap resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5221] <... munmap resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5218] <... truncate resumed>) = 0 [pid 5222] <... truncate resumed>) = 0 [pid 5219] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5218] memfd_create("syzkaller", 0 [pid 5222] memfd_create("syzkaller", 0 [pid 5218] <... memfd_create resumed>) = 4 [pid 5218] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5221] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5219] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5218] <... mmap resumed>) = 0x7f8438200000 [pid 5222] <... memfd_create resumed>) = 4 [pid 5218] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5221] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5219] close(4 [pid 5222] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5221] close(4 [pid 5220] <... write resumed>) = 524288 [pid 5220] munmap(0x7f8438200000, 138412032 [pid 5221] <... close resumed>) = 0 [pid 5222] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5220] <... munmap resumed>) = 0 [pid 5220] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5222] <... write resumed>) = 524288 [pid 5220] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5219] <... close resumed>) = 0 [pid 5219] exit_group(0 [pid 5220] close(4) = 0 [pid 5219] <... exit_group resumed>) = ? [pid 5221] exit_group(0) = ? [pid 5218] <... write resumed>) = 524288 [pid 5221] +++ exited with 0 +++ [pid 5219] +++ exited with 0 +++ [pid 5218] munmap(0x7f8438200000, 138412032 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5219, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5218] <... munmap resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5221, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5218] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] umount2("./17", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5097] newfstatat(3, "", [pid 5100] <... openat resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(3, [pid 5222] munmap(0x7f8438200000, 138412032 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] newfstatat(3, "", [pid 5222] <... munmap resumed>) = 0 [pid 5220] exit_group(0 [pid 5218] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] getdents64(3, [pid 5218] close(4 [pid 5220] <... exit_group resumed>) = ? [pid 5218] <... close resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./17/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5222] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5218] exit_group(0 [pid 5100] newfstatat(AT_FDCWD, "./17/binderfs", [pid 5098] <... ioctl resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5222] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] close(3 [pid 5097] unlink("./19/binderfs" [pid 5100] unlink("./17/binderfs") = 0 [pid 5098] <... close resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5222] close(4 [pid 5220] +++ exited with 0 +++ [pid 5218] <... exit_group resumed>) = ? [pid 5100] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5218] +++ exited with 0 +++ [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5218, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5220, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5101] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... openat resumed>) = 3 [pid 5101] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] newfstatat(3, "", [pid 5101] <... openat resumed>) = 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(3, [pid 5101] getdents64(3, [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5223 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 121.382528][ T5111] I/O error, dev loop1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 [pid 5101] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5099] unlink("./19/binderfs") = 0 ./strace-static-x86_64: Process 5223 attached [pid 5223] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5223] chdir("./19" [pid 5222] <... close resumed>) = 0 [pid 5101] unlink("./18/binderfs" [pid 5223] <... chdir resumed>) = 0 [pid 5223] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5101] <... unlink resumed>) = 0 [pid 5223] <... prctl resumed>) = 0 [pid 5101] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5223] setpgid(0, 0) = 0 [pid 5099] <... umount2 resumed>) = 0 [pid 5223] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5222] exit_group(0 [pid 5097] <... umount2 resumed>) = 0 [pid 5223] <... openat resumed>) = 3 [pid 5222] <... exit_group resumed>) = ? [pid 5222] +++ exited with 0 +++ [pid 5097] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./19/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5223] write(3, "1000", 4 [pid 5099] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5222, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5223] <... write resumed>) = 4 [pid 5099] newfstatat(AT_FDCWD, "./19/file1", [pid 5097] openat(AT_FDCWD, "./19/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5223] close(3 [pid 5101] <... umount2 resumed>) = 0 [pid 5100] <... umount2 resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... openat resumed>) = 4 [pid 5097] newfstatat(4, "", [pid 5100] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5223] <... close resumed>) = 0 [pid 5097] getdents64(4, [pid 5223] symlink("/dev/binderfs", "./binderfs" [pid 5099] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5223] <... symlink resumed>) = 0 [pid 5103] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./17/file1", [pid 5099] openat(AT_FDCWD, "./19/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] getdents64(4, [pid 5223] write(1, "executing program\n", 18 [pid 5103] <... openat resumed>) = 3 [pid 5101] newfstatat(AT_FDCWD, "./18/file1", [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5223] <... write resumed>) = 18 [pid 5103] newfstatat(3, "", [pid 5100] umount2("./17/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] newfstatat(4, "", [pid 5097] close(4 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5223] memfd_create("syzkaller", 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] <... close resumed>) = 0 [pid 5223] <... memfd_create resumed>) = 3 [pid 5103] getdents64(3, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./17/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] getdents64(4, [pid 5097] rmdir("./19/file1" [pid 5223] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] openat(AT_FDCWD, "./18/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... openat resumed>) = 4 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] <... rmdir resumed>) = 0 [pid 5223] <... mmap resumed>) = 0x7f8438200000 [pid 5103] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... openat resumed>) = 4 [pid 5100] newfstatat(4, "", [pid 5101] newfstatat(4, "", [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] getdents64(4, [pid 5097] getdents64(3, [pid 5101] getdents64(4, [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5223] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5099] close(4 [pid 5097] close(3) = 0 [pid 5097] rmdir("./19" [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, [pid 5101] getdents64(4, [pid 5097] <... rmdir resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./19/file1") = 0 [pid 5099] getdents64(3, [pid 5097] mkdir("./20", 0777 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5099] close(3) = 0 [pid 5099] rmdir("./19" [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5223] <... write resumed>) = 524288 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] close(4 [pid 5100] getdents64(4, [pid 5099] <... rmdir resumed>) = 0 [pid 5103] unlink("./18/binderfs" [pid 5101] <... close resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] rmdir("./18/file1" [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5099] mkdir("./20", 0777 [pid 5097] <... ioctl resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] close(4 [pid 5099] <... mkdir resumed>) = 0 [pid 5101] getdents64(3, [pid 5103] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] <... close resumed>) = 0 [pid 5097] close(3 [pid 5101] close(3 [pid 5223] munmap(0x7f8438200000, 138412032 [pid 5097] <... close resumed>) = 0 [pid 5100] rmdir("./17/file1" [pid 5223] <... munmap resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] rmdir("./18" [pid 5100] <... rmdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5223] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5099] <... openat resumed>) = 3 [pid 5223] <... openat resumed>) = 4 [pid 5101] <... rmdir resumed>) = 0 [pid 5100] getdents64(3, [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5101] mkdir("./19", 0777 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 5224 attached [pid 5223] ioctl(4, LOOP_SET_FD, 3 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5224 [pid 5224] set_robust_list(0x55556fbaa660, 24 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] close(3 [pid 5224] <... set_robust_list resumed>) = 0 [pid 5224] chdir("./20" [pid 5103] <... umount2 resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... close resumed>) = 0 [pid 5224] <... chdir resumed>) = 0 [pid 5223] <... ioctl resumed>) = 0 [pid 5224] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5223] close(3 [pid 5101] <... openat resumed>) = 3 [pid 5100] rmdir("./17" [pid 5224] <... prctl resumed>) = 0 [pid 5223] <... close resumed>) = 0 [pid 5224] setpgid(0, 0 [pid 5223] close(4 [pid 5224] <... setpgid resumed>) = 0 [pid 5223] <... close resumed>) = 0 [pid 5224] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5223] mkdir("./file1", 0777 [pid 5224] <... openat resumed>) = 3 [pid 5223] <... mkdir resumed>) = 0 [pid 5224] write(3, "1000", 4 [pid 5223] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] <... rmdir resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] mkdir("./18", 0777 [pid 5099] <... ioctl resumed>) = 0 [pid 5224] <... write resumed>) = 4 [pid 5224] close(3) = 0 [pid 5224] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR executing program [pid 5103] newfstatat(AT_FDCWD, "./18/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5224] write(1, "executing program\n", 18 [pid 5100] <... openat resumed>) = 3 [pid 5103] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5224] <... write resumed>) = 18 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5103] openat(AT_FDCWD, "./18/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5224] memfd_create("syzkaller", 0 [pid 5103] <... openat resumed>) = 4 [pid 5103] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5224] <... memfd_create resumed>) = 3 [pid 5103] getdents64(4, [pid 5224] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5224] <... mmap resumed>) = 0x7f8438200000 [pid 5103] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [ 121.573739][ T5223] loop1: detected capacity change from 0 to 1024 [pid 5103] close(4) = 0 [pid 5103] rmdir("./18/file1" [pid 5224] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5223] <... mount resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5103] getdents64(3, [pid 5223] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5099] close(3 [pid 5223] <... openat resumed>) = 3 [pid 5099] <... close resumed>) = 0 [pid 5223] chdir("./file1" [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5223] <... chdir resumed>) = 0 [pid 5223] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5225 [pid 5223] truncate("./file1", 0./strace-static-x86_64: Process 5225 attached [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5225] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5225] chdir("./20") = 0 [pid 5225] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5225] setpgid(0, 0) = 0 [pid 5225] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5225] write(3, "1000", 4 [pid 5103] close(3 [pid 5100] <... ioctl resumed>) = 0 [pid 5225] <... write resumed>) = 4 [pid 5103] <... close resumed>) = 0 [pid 5225] close(3) = 0 [pid 5225] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5103] rmdir("./18" [pid 5225] write(1, "executing program\n", 18) = 18 [pid 5225] memfd_create("syzkaller", 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5224] <... write resumed>) = 524288 [pid 5223] <... truncate resumed>) = 0 [pid 5103] mkdir("./19", 0777 [pid 5101] <... ioctl resumed>) = 0 [pid 5225] <... memfd_create resumed>) = 3 [pid 5224] munmap(0x7f8438200000, 138412032 [pid 5223] memfd_create("syzkaller", 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5225] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5224] <... munmap resumed>) = 0 [pid 5223] <... memfd_create resumed>) = 4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5223] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5225] <... mmap resumed>) = 0x7f8438200000 [pid 5224] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5223] <... mmap resumed>) = 0x7f8438200000 [pid 5225] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5224] <... openat resumed>) = 4 [pid 5223] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5101] close(3 [pid 5100] close(3 [pid 5224] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5225] <... write resumed>) = 524288 [pid 5101] <... close resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5224] close(3) = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5226 [pid 5224] close(4) = 0 [pid 5224] mkdir("./file1", 0777) = 0 [pid 5224] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5227 ./strace-static-x86_64: Process 5227 attached ./strace-static-x86_64: Process 5226 attached [pid 5227] set_robust_list(0x55556fbaa660, 24 [ 121.742612][ T5224] loop0: detected capacity change from 0 to 1024 [pid 5226] set_robust_list(0x55556fbaa660, 24 [pid 5225] munmap(0x7f8438200000, 138412032 [pid 5223] <... write resumed>) = 524288 [pid 5226] <... set_robust_list resumed>) = 0 [pid 5223] munmap(0x7f8438200000, 138412032 [pid 5227] <... set_robust_list resumed>) = 0 [pid 5226] chdir("./18" [pid 5223] <... munmap resumed>) = 0 [pid 5223] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5225] <... munmap resumed>) = 0 [pid 5223] close(4 [pid 5226] <... chdir resumed>) = 0 [pid 5223] <... close resumed>) = 0 [pid 5227] chdir("./19" [pid 5226] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5227] <... chdir resumed>) = 0 [pid 5226] <... prctl resumed>) = 0 [pid 5227] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5226] setpgid(0, 0 [pid 5225] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5224] <... mount resumed>) = 0 [pid 5225] <... openat resumed>) = 4 [pid 5224] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5226] <... setpgid resumed>) = 0 [pid 5227] <... prctl resumed>) = 0 [pid 5225] ioctl(4, LOOP_SET_FD, 3 [pid 5226] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5224] <... openat resumed>) = 3 [pid 5227] setpgid(0, 0 [pid 5224] chdir("./file1" [pid 5103] <... ioctl resumed>) = 0 [pid 5227] <... setpgid resumed>) = 0 [pid 5224] <... chdir resumed>) = 0 [pid 5226] <... openat resumed>) = 3 [pid 5224] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5227] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5226] write(3, "1000", 4 [pid 5224] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5224] truncate("./file1", 0 [pid 5223] exit_group(0executing program [pid 5226] <... write resumed>) = 4 [pid 5223] <... exit_group resumed>) = ? [pid 5227] <... openat resumed>) = 3 [pid 5226] close(3 [pid 5223] +++ exited with 0 +++ [pid 5103] close(3 [pid 5227] write(3, "1000", 4 [pid 5226] <... close resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5227] <... write resumed>) = 4 [pid 5226] symlink("/dev/binderfs", "./binderfs" [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5223, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5226] <... symlink resumed>) = 0 [pid 5224] <... truncate resumed>) = 0 [pid 5227] close(3 [pid 5226] write(1, "executing program\n", 18 [pid 5224] memfd_create("syzkaller", 0 [pid 5098] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5227] <... close resumed>) = 0 [pid 5226] <... write resumed>) = 18 [pid 5224] <... memfd_create resumed>) = 4 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 5228 attached [pid 5227] symlink("/dev/binderfs", "./binderfs" [pid 5224] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5228] set_robust_list(0x55556fbaa660, 24 [pid 5226] memfd_create("syzkaller", 0 [pid 5225] <... ioctl resumed>) = 0 [pid 5224] <... mmap resumed>) = 0x7f8438200000 [pid 5098] <... openat resumed>) = 3 [pid 5228] <... set_robust_list resumed>) = 0 [pid 5227] <... symlink resumed>) = 0 [pid 5226] <... memfd_create resumed>) = 3 [pid 5225] close(3 [pid 5224] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5228 [pid 5098] newfstatat(3, "", [pid 5228] chdir("./19" [pid 5226] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5225] <... close resumed>) = 0 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5225] close(4 [pid 5098] getdents64(3, [pid 5225] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [ 121.827727][ T5225] loop2: detected capacity change from 0 to 1024 executing program [pid 5227] write(1, "executing program\n", 18 [pid 5226] <... mmap resumed>) = 0x7f8438200000 [pid 5225] mkdir("./file1", 0777 [pid 5098] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5228] <... chdir resumed>) = 0 [pid 5227] <... write resumed>) = 18 [pid 5225] <... mkdir resumed>) = 0 [pid 5228] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5227] memfd_create("syzkaller", 0 [pid 5225] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5224] <... write resumed>) = 524288 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5228] <... prctl resumed>) = 0 [pid 5227] <... memfd_create resumed>) = 3 [pid 5228] setpgid(0, 0 [pid 5098] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5228] <... setpgid resumed>) = 0 [pid 5227] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5226] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5228] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5098] unlink("./19/binderfs" [pid 5228] <... openat resumed>) = 3 [pid 5098] <... unlink resumed>) = 0 [pid 5228] write(3, "1000", 4) = 4 [pid 5098] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5228] close(3) = 0 [pid 5227] <... mmap resumed>) = 0x7f8438200000 [pid 5228] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5228] write(1, "executing program\n", 18 [pid 5227] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288executing program [pid 5228] <... write resumed>) = 18 [pid 5228] memfd_create("syzkaller", 0) = 3 [pid 5224] munmap(0x7f8438200000, 138412032) = 0 [pid 5228] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5224] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5228] <... mmap resumed>) = 0x7f8438200000 [pid 5224] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5228] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5224] close(4 [pid 5227] <... write resumed>) = 524288 [pid 5227] munmap(0x7f8438200000, 138412032 [pid 5226] <... write resumed>) = 524288 [pid 5225] <... mount resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5227] <... munmap resumed>) = 0 [pid 5226] munmap(0x7f8438200000, 138412032 [pid 5225] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5224] <... close resumed>) = 0 [pid 5226] <... munmap resumed>) = 0 [pid 5225] <... openat resumed>) = 3 [pid 5227] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5228] <... write resumed>) = 524288 [pid 5227] <... openat resumed>) = 4 [pid 5226] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5227] ioctl(4, LOOP_SET_FD, 3 [pid 5225] chdir("./file1") = 0 [pid 5098] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./19/file1", [pid 5225] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5225] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5224] exit_group(0 [pid 5098] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5225] truncate("./file1", 0 [pid 5224] <... exit_group resumed>) = ? [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5226] <... openat resumed>) = 4 [pid 5224] +++ exited with 0 +++ [pid 5098] openat(AT_FDCWD, "./19/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5226] ioctl(4, LOOP_SET_FD, 3 [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5224, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] getdents64(4, [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] getdents64(4, [pid 5097] <... openat resumed>) = 3 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] newfstatat(3, "", [pid 5098] close(4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5228] munmap(0x7f8438200000, 138412032 [pid 5098] <... close resumed>) = 0 [pid 5097] getdents64(3, [pid 5228] <... munmap resumed>) = 0 [pid 5226] <... ioctl resumed>) = 0 [pid 5098] rmdir("./19/file1" [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5225] <... truncate resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5225] memfd_create("syzkaller", 0 [pid 5097] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5225] <... memfd_create resumed>) = 4 [pid 5098] getdents64(3, [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5227] <... ioctl resumed>) = 0 [pid 5225] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [ 121.990220][ T5227] loop4: detected capacity change from 0 to 1024 [ 122.002995][ T5226] loop3: detected capacity change from 0 to 1024 [pid 5097] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5227] close(3 [pid 5225] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] close(3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5227] <... close resumed>) = 0 [pid 5226] close(3 [pid 5227] close(4 [pid 5226] <... close resumed>) = 0 [pid 5228] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5227] <... close resumed>) = 0 [pid 5226] close(4 [pid 5098] <... close resumed>) = 0 [pid 5097] unlink("./20/binderfs" [pid 5228] <... openat resumed>) = 4 [pid 5227] mkdir("./file1", 0777 [pid 5226] <... close resumed>) = 0 [pid 5098] rmdir("./19" [pid 5097] <... unlink resumed>) = 0 [pid 5226] mkdir("./file1", 0777 [pid 5098] <... rmdir resumed>) = 0 [pid 5228] ioctl(4, LOOP_SET_FD, 3 [pid 5227] <... mkdir resumed>) = 0 [pid 5226] <... mkdir resumed>) = 0 [pid 5098] mkdir("./20", 0777 [pid 5097] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5228] <... ioctl resumed>) = 0 [pid 5227] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] <... mkdir resumed>) = 0 [pid 5226] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5225] <... write resumed>) = 524288 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5097] <... umount2 resumed>) = 0 [pid 5226] <... mount resumed>) = 0 [ 122.052427][ T5228] loop5: detected capacity change from 0 to 1024 [pid 5228] close(3 [pid 5226] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5228] <... close resumed>) = 0 [pid 5097] newfstatat(AT_FDCWD, "./20/file1", [pid 5228] close(4 [pid 5226] <... openat resumed>) = 3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5226] chdir("./file1" [pid 5228] <... close resumed>) = 0 [pid 5227] <... mount resumed>) = 0 [pid 5226] <... chdir resumed>) = 0 [pid 5097] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5227] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5226] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5228] mkdir("./file1", 0777 [pid 5227] <... openat resumed>) = 3 [pid 5226] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5228] <... mkdir resumed>) = 0 [pid 5227] chdir("./file1" [pid 5226] truncate("./file1", 0 [pid 5225] munmap(0x7f8438200000, 138412032 [pid 5097] openat(AT_FDCWD, "./20/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5227] <... chdir resumed>) = 0 [pid 5225] <... munmap resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5227] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5226] <... truncate resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, [pid 5227] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5226] memfd_create("syzkaller", 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5228] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] getdents64(4, [pid 5226] <... memfd_create resumed>) = 4 [pid 5227] truncate("./file1", 0 [pid 5225] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... ioctl resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5225] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] close(3 [pid 5097] close(4 [pid 5225] close(4 [pid 5098] <... close resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5226] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] rmdir("./20/file1") = 0 [pid 5097] getdents64(3, [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5229 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5228] <... mount resumed>) = 0 [pid 5227] <... truncate resumed>) = 0 [pid 5226] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] close(3./strace-static-x86_64: Process 5229 attached ) = 0 [pid 5229] set_robust_list(0x55556fbaa660, 24 [pid 5227] memfd_create("syzkaller", 0 [pid 5097] rmdir("./20" [pid 5228] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5097] <... rmdir resumed>) = 0 [pid 5227] <... memfd_create resumed>) = 4 [pid 5229] <... set_robust_list resumed>) = 0 [pid 5225] <... close resumed>) = 0 [pid 5228] <... openat resumed>) = 3 [pid 5227] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5229] chdir("./20" [pid 5227] <... mmap resumed>) = 0x7f8438200000 [pid 5225] exit_group(0 [pid 5228] chdir("./file1" [pid 5097] mkdir("./21", 0777 [pid 5228] <... chdir resumed>) = 0 [pid 5229] <... chdir resumed>) = 0 [pid 5225] <... exit_group resumed>) = ? [pid 5097] <... mkdir resumed>) = 0 [pid 5229] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5228] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5227] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5226] <... write resumed>) = 524288 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5228] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5229] <... prctl resumed>) = 0 [pid 5228] truncate("./file1", 0 [pid 5226] munmap(0x7f8438200000, 138412032 [pid 5097] <... openat resumed>) = 3 [pid 5229] setpgid(0, 0) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5229] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5226] <... munmap resumed>) = 0 [pid 5229] write(3, "1000", 4 [pid 5225] +++ exited with 0 +++ [pid 5229] <... write resumed>) = 4 [pid 5229] close(3 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5225, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5229] <... close resumed>) = 0 [pid 5099] restart_syscall(<... resuming interrupted clone ...> [pid 5229] symlink("/dev/binderfs", "./binderfs" [pid 5099] <... restart_syscall resumed>) = 0 [pid 5229] <... symlink resumed>) = 0 [pid 5229] write(1, "executing program\n", 18 [pid 5228] <... truncate resumed>) = 0 [pid 5226] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5228] memfd_create("syzkaller", 0) = 4 [pid 5227] <... write resumed>) = 524288 [pid 5226] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOWexecuting program [pid 5228] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5226] close(4 [pid 5229] <... write resumed>) = 18 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5228] <... mmap resumed>) = 0x7f8438200000 [pid 5229] memfd_create("syzkaller", 0 [pid 5099] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5229] <... memfd_create resumed>) = 3 [pid 5099] <... openat resumed>) = 3 [pid 5229] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] newfstatat(3, "", [pid 5229] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5228] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5227] munmap(0x7f8438200000, 138412032 [pid 5099] getdents64(3, [pid 5097] <... ioctl resumed>) = 0 [pid 5229] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./20/binderfs") = 0 [pid 5099] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5227] <... munmap resumed>) = 0 [pid 5097] close(3) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5227] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5226] <... close resumed>) = 0 [pid 5227] close(4./strace-static-x86_64: Process 5230 attached [pid 5229] <... write resumed>) = 524288 [pid 5228] <... write resumed>) = 524288 [pid 5230] set_robust_list(0x55556fbaa660, 24 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5230 [pid 5226] exit_group(0 [pid 5230] <... set_robust_list resumed>) = 0 [pid 5230] chdir("./21" [pid 5099] <... umount2 resumed>) = 0 [pid 5230] <... chdir resumed>) = 0 [pid 5230] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5226] <... exit_group resumed>) = ? [pid 5230] <... prctl resumed>) = 0 [pid 5099] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5230] setpgid(0, 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5230] <... setpgid resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./20/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5230] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5226] +++ exited with 0 +++ [pid 5099] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5230] <... openat resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5230] write(3, "1000", 4 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5226, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5099] openat(AT_FDCWD, "./20/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5230] <... write resumed>) = 4 [pid 5227] <... close resumed>) = 0 [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5099] <... openat resumed>) = 4 [pid 5230] close(3 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5099] newfstatat(4, "", [pid 5230] <... close resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5230] symlink("/dev/binderfs", "./binderfs" [pid 5229] munmap(0x7f8438200000, 138412032 [pid 5099] getdents64(4, [pid 5230] <... symlink resumed>) = 0 [pid 5229] <... munmap resumed>) = 0 [pid 5100] umount2("./18", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5228] munmap(0x7f8438200000, 138412032 [pid 5227] exit_group(0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] getdents64(4, [pid 5230] write(1, "executing program\n", 18 [pid 5229] openat(AT_FDCWD, "/dev/loop1", O_RDWRexecuting program [pid 5228] <... munmap resumed>) = 0 [pid 5227] <... exit_group resumed>) = ? [pid 5100] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5230] <... write resumed>) = 18 [pid 5229] <... openat resumed>) = 4 [pid 5100] <... openat resumed>) = 3 [pid 5099] close(4 [pid 5230] memfd_create("syzkaller", 0 [pid 5229] ioctl(4, LOOP_SET_FD, 3 [pid 5100] newfstatat(3, "", [pid 5099] <... close resumed>) = 0 [pid 5230] <... memfd_create resumed>) = 3 [pid 5228] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5227] +++ exited with 0 +++ [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5230] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] getdents64(3, [pid 5099] rmdir("./20/file1" [pid 5230] <... mmap resumed>) = 0x7f8438200000 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5227, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... rmdir resumed>) = 0 [pid 5228] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] umount2("./18/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(3, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] close(3 [pid 5101] <... openat resumed>) = 3 [pid 5101] newfstatat(3, "", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5228] close(4 [pid 5230] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5229] <... ioctl resumed>) = 0 [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] newfstatat(AT_FDCWD, "./18/binderfs", [pid 5099] rmdir("./20" [pid 5229] close(3 [pid 5228] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5229] <... close resumed>) = 0 [pid 5100] unlink("./18/binderfs" [pid 5099] mkdir("./21", 0777 [pid 5229] close(4 [pid 5100] <... unlink resumed>) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5229] <... close resumed>) = 0 [pid 5100] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [ 122.359773][ T5229] loop1: detected capacity change from 0 to 1024 [pid 5229] mkdir("./file1", 0777 [pid 5099] <... openat resumed>) = 3 [pid 5229] <... mkdir resumed>) = 0 [pid 5101] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5229] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./19/binderfs") = 0 [pid 5101] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5230] <... write resumed>) = 524288 [pid 5228] exit_group(0 [pid 5230] munmap(0x7f8438200000, 138412032 [pid 5101] <... umount2 resumed>) = 0 [pid 5228] <... exit_group resumed>) = ? [pid 5101] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = 0 [pid 5230] <... munmap resumed>) = 0 [pid 5229] <... mount resumed>) = 0 [pid 5100] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./19/file1", [pid 5230] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5229] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5230] <... openat resumed>) = 4 [pid 5228] +++ exited with 0 +++ [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5230] ioctl(4, LOOP_SET_FD, 3 [pid 5229] <... openat resumed>) = 3 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5228, si_uid=0, si_status=0, si_utime=0, si_stime=4 /* 0.04 s */} --- [pid 5101] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] newfstatat(AT_FDCWD, "./18/file1", [pid 5103] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... ioctl resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./19/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5103] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... openat resumed>) = 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(4, "", [pid 5229] chdir("./file1" [pid 5100] umount2("./18/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] close(3 [pid 5103] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5229] <... chdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5101] getdents64(4, [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5229] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] newfstatat(3, "", [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] openat(AT_FDCWD, "./18/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5229] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(4, [pid 5100] <... openat resumed>) = 4 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] newfstatat(4, "", [pid 5229] truncate("./file1", 0 [pid 5101] close(4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5229] <... truncate resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5100] getdents64(4, [pid 5229] memfd_create("syzkaller", 0 [pid 5101] rmdir("./19/file1" [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5229] <... memfd_create resumed>) = 4 [pid 5100] getdents64(4, [pid 5229] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5231 ./strace-static-x86_64: Process 5231 attached [pid 5229] <... mmap resumed>) = 0x7f8438200000 [pid 5103] getdents64(3, [pid 5101] <... rmdir resumed>) = 0 [pid 5100] close(4 [pid 5231] set_robust_list(0x55556fbaa660, 24 [pid 5229] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] getdents64(3, [pid 5100] <... close resumed>) = 0 [pid 5231] <... set_robust_list resumed>) = 0 [pid 5230] <... ioctl resumed>) = 0 [pid 5103] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] rmdir("./18/file1" [pid 5231] chdir("./21" [pid 5230] close(3 [pid 5101] close(3 [pid 5100] <... rmdir resumed>) = 0 [pid 5230] <... close resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5100] getdents64(3, [pid 5230] close(4 [pid 5101] rmdir("./19" [pid 5231] <... chdir resumed>) = 0 [pid 5230] <... close resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... rmdir resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] mkdir("./20", 0777 [pid 5231] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] close(3 [pid 5231] <... prctl resumed>) = 0 [pid 5101] <... mkdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./18" [pid 5231] setpgid(0, 0 [pid 5230] mkdir("./file1", 0777 [pid 5103] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5100] <... rmdir resumed>) = 0 [pid 5231] <... setpgid resumed>) = 0 [pid 5230] <... mkdir resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5231] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] unlink("./19/binderfs" [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5100] mkdir("./19", 0777 [pid 5231] <... openat resumed>) = 3 [pid 5230] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... unlink resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5231] write(3, "1000", 4 [ 122.458538][ T5230] loop0: detected capacity change from 0 to 1024 [pid 5103] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5231] <... write resumed>) = 4 [pid 5103] <... umount2 resumed>) = 0 [pid 5231] close(3) = 0 [pid 5229] <... write resumed>) = 524288 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5231] symlink("/dev/binderfs", "./binderfs" [pid 5230] <... mount resumed>) = 0 [pid 5229] munmap(0x7f8438200000, 138412032 [pid 5100] <... openat resumed>) = 3 [pid 5231] <... symlink resumed>) = 0 [pid 5229] <... munmap resumed>) = 0 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5230] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5230] chdir("./file1") = 0 [pid 5230] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5229] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5230] truncate("./file1", 0 [pid 5229] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5229] close(4 [pid 5230] <... truncate resumed>) = 0 [pid 5230] memfd_create("syzkaller", 0) = 4 [pid 5230] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5103] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5229] <... close resumed>) = 0 [pid 5230] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5231] write(1, "executing program\n", 18 [pid 5229] exit_group(0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) executing program [pid 5231] <... write resumed>) = 18 [pid 5103] newfstatat(AT_FDCWD, "./19/file1", [pid 5229] <... exit_group resumed>) = ? [pid 5231] memfd_create("syzkaller", 0 [pid 5229] +++ exited with 0 +++ [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5229, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- [pid 5098] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5098] newfstatat(3, "", [pid 5231] <... memfd_create resumed>) = 3 [pid 5103] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5231] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... ioctl resumed>) = 0 [pid 5100] <... ioctl resumed>) = 0 [pid 5231] <... mmap resumed>) = 0x7f8438200000 [pid 5103] openat(AT_FDCWD, "./19/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5231] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] <... openat resumed>) = 4 [pid 5101] close(3 [pid 5103] newfstatat(4, "", [pid 5101] <... close resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] getdents64(3, [pid 5103] getdents64(4, [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 5232 attached [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] unlink("./20/binderfs" [pid 5103] getdents64(4, [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5232 [pid 5232] set_robust_list(0x55556fbaa660, 24 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5232] <... set_robust_list resumed>) = 0 [pid 5103] close(4 [pid 5232] chdir("./20" [pid 5231] <... write resumed>) = 524288 [pid 5230] <... write resumed>) = 524288 [pid 5103] <... close resumed>) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5232] <... chdir resumed>) = 0 [pid 5231] munmap(0x7f8438200000, 138412032 [pid 5103] rmdir("./19/file1" [pid 5100] close(3 [pid 5098] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5232] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5231] <... munmap resumed>) = 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5232] <... prctl resumed>) = 0 [pid 5231] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] getdents64(3, [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5232] setpgid(0, 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5230] munmap(0x7f8438200000, 138412032) = 0 [pid 5232] <... setpgid resumed>) = 0 [pid 5230] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5232] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5231] <... openat resumed>) = 4 [pid 5103] close(3 [pid 5230] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5232] <... openat resumed>) = 3 [pid 5230] close(4 [pid 5103] <... close resumed>) = 0 executing program ./strace-static-x86_64: Process 5233 attached [pid 5232] write(3, "1000", 4 [pid 5231] ioctl(4, LOOP_SET_FD, 3 [pid 5103] rmdir("./19" [pid 5233] set_robust_list(0x55556fbaa660, 24 [pid 5232] <... write resumed>) = 4 [pid 5233] <... set_robust_list resumed>) = 0 [pid 5232] close(3) = 0 [pid 5233] chdir("./19" [pid 5232] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5233 [pid 5103] <... rmdir resumed>) = 0 [pid 5232] write(1, "executing program\n", 18 [pid 5233] <... chdir resumed>) = 0 [pid 5232] <... write resumed>) = 18 [pid 5233] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5232] memfd_create("syzkaller", 0 [pid 5231] <... ioctl resumed>) = 0 [pid 5103] mkdir("./20", 0777 [pid 5233] <... prctl resumed>) = 0 [pid 5232] <... memfd_create resumed>) = 3 [pid 5231] close(3 [pid 5233] setpgid(0, 0 [pid 5232] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5231] <... close resumed>) = 0 [pid 5230] <... close resumed>) = 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5231] close(4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5232] <... mmap resumed>) = 0x7f8438200000 [pid 5231] <... close resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5231] mkdir("./file1", 0777 [pid 5230] exit_group(0 [pid 5231] <... mkdir resumed>) = 0 [pid 5233] <... setpgid resumed>) = 0 [pid 5233] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5230] <... exit_group resumed>) = ? [pid 5098] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5233] write(3, "1000", 4 [pid 5231] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] newfstatat(AT_FDCWD, "./20/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./20/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5230] +++ exited with 0 +++ [pid 5098] <... openat resumed>) = 4 [pid 5233] <... write resumed>) = 4 [pid 5098] newfstatat(4, "", [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5230, si_uid=0, si_status=0, si_utime=0, si_stime=10 /* 0.10 s */} --- [pid 5233] close(3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 122.672399][ T5231] loop2: detected capacity change from 0 to 1024 executing program [pid 5233] <... close resumed>) = 0 [pid 5098] getdents64(4, [pid 5233] symlink("/dev/binderfs", "./binderfs" [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5233] <... symlink resumed>) = 0 [pid 5098] getdents64(4, [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5233] write(1, "executing program\n", 18 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5233] <... write resumed>) = 18 [pid 5098] close(4 [pid 5097] <... openat resumed>) = 3 [pid 5098] <... close resumed>) = 0 [pid 5097] newfstatat(3, "", [pid 5233] memfd_create("syzkaller", 0 [pid 5232] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5231] <... mount resumed>) = 0 [pid 5098] rmdir("./20/file1" [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5233] <... memfd_create resumed>) = 3 [pid 5097] getdents64(3, [pid 5233] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5231] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5233] <... mmap resumed>) = 0x7f8438200000 [pid 5231] <... openat resumed>) = 3 [pid 5233] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5231] chdir("./file1") = 0 [pid 5231] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] getdents64(3, [pid 5097] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5231] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5098] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] close(3 [pid 5097] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5231] truncate("./file1", 0 [pid 5103] <... close resumed>) = 0 [pid 5098] <... close resumed>) = 0 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] rmdir("./20" [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./21/binderfs"./strace-static-x86_64: Process 5234 attached [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5234] set_robust_list(0x55556fbaa660, 24 [pid 5233] <... write resumed>) = 524288 [pid 5231] <... truncate resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5234 [pid 5098] mkdir("./21", 0777 [pid 5097] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5234] <... set_robust_list resumed>) = 0 [pid 5231] memfd_create("syzkaller", 0) = 4 [pid 5098] <... mkdir resumed>) = 0 [pid 5234] chdir("./20" [pid 5233] munmap(0x7f8438200000, 138412032 [pid 5232] <... write resumed>) = 524288 [pid 5231] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] <... umount2 resumed>) = 0 [pid 5234] <... chdir resumed>) = 0 [pid 5231] <... mmap resumed>) = 0x7f8438200000 [pid 5098] <... openat resumed>) = 3 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5234] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5233] <... munmap resumed>) = 0 [pid 5232] munmap(0x7f8438200000, 138412032 [pid 5231] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5234] setpgid(0, 0) = 0 [pid 5233] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5232] <... munmap resumed>) = 0 [pid 5097] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5234] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5233] <... openat resumed>) = 4 [pid 5234] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5233] ioctl(4, LOOP_SET_FD, 3 [pid 5097] newfstatat(AT_FDCWD, "./21/file1", [pid 5234] write(3, "1000", 4 [pid 5232] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5232] <... openat resumed>) = 4 [pid 5234] <... write resumed>) = 4 [pid 5234] close(3 [pid 5097] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5234] <... close resumed>) = 0 [pid 5234] symlink("/dev/binderfs", "./binderfs" [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5234] <... symlink resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./21/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5232] ioctl(4, LOOP_SET_FD, 3 [pid 5097] newfstatat(4, "", [pid 5233] <... ioctl resumed>) = 0 [pid 5233] close(3 [pid 5234] write(1, "executing program\n", 18 [pid 5098] <... ioctl resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5233] <... close resumed>) = 0 [pid 5233] close(4executing program [pid 5234] <... write resumed>) = 18 [pid 5233] <... close resumed>) = 0 [pid 5232] <... ioctl resumed>) = 0 [pid 5231] <... write resumed>) = 524288 [pid 5098] close(3 [pid 5097] getdents64(4, [pid 5098] <... close resumed>) = 0 [pid 5234] memfd_create("syzkaller", 0 [pid 5233] mkdir("./file1", 0777 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5233] <... mkdir resumed>) = 0 [pid 5234] <... memfd_create resumed>) = 3 ./strace-static-x86_64: Process 5235 attached [pid 5234] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5233] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5232] close(3 [pid 5097] getdents64(4, [pid 5235] set_robust_list(0x55556fbaa660, 24 [pid 5232] <... close resumed>) = 0 [pid 5231] munmap(0x7f8438200000, 138412032 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5235 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5235] <... set_robust_list resumed>) = 0 [pid 5234] <... mmap resumed>) = 0x7f8438200000 [pid 5097] close(4 [pid 5235] chdir("./21" [pid 5234] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5232] close(4 [pid 5231] <... munmap resumed>) = 0 [pid 5235] <... chdir resumed>) = 0 [pid 5232] <... close resumed>) = 0 [pid 5097] <... close resumed>) = 0 [pid 5235] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5097] rmdir("./21/file1" [ 122.819779][ T5233] loop3: detected capacity change from 0 to 1024 [ 122.836669][ T5232] loop4: detected capacity change from 0 to 1024 [pid 5232] mkdir("./file1", 0777 [pid 5235] <... prctl resumed>) = 0 [pid 5233] <... mount resumed>) = 0 [pid 5232] <... mkdir resumed>) = 0 [pid 5231] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] <... rmdir resumed>) = 0 [pid 5235] setpgid(0, 0 [pid 5233] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5232] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5231] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] getdents64(3, [pid 5235] <... setpgid resumed>) = 0 [pid 5235] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5233] <... openat resumed>) = 3 [pid 5231] close(4 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5235] <... openat resumed>) = 3 [pid 5097] <... close resumed>) = 0 [pid 5233] chdir("./file1") = 0 [pid 5097] rmdir("./21" [pid 5235] write(3, "1000", 4 [pid 5233] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5233] truncate("./file1", 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5235] <... write resumed>) = 4 [pid 5235] close(3) = 0 [pid 5097] mkdir("./22", 0777 [pid 5235] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5233] <... truncate resumed>) = 0 [pid 5097] <... mkdir resumed>) = 0 [pid 5233] memfd_create("syzkaller", 0) = 4 [pid 5231] <... close resumed>) = 0 [pid 5233] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5235] write(1, "executing program\n", 18 [pid 5234] <... write resumed>) = 524288 [pid 5233] <... mmap resumed>) = 0x7f8438200000 [pid 5232] <... mount resumed>) = 0 [pid 5233] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5231] exit_group(0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWRexecuting program [pid 5235] <... write resumed>) = 18 [pid 5234] munmap(0x7f8438200000, 138412032 [pid 5232] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5231] <... exit_group resumed>) = ? [pid 5097] <... openat resumed>) = 3 [pid 5235] memfd_create("syzkaller", 0 [pid 5234] <... munmap resumed>) = 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5232] <... openat resumed>) = 3 [pid 5231] +++ exited with 0 +++ [pid 5235] <... memfd_create resumed>) = 3 [pid 5234] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5231, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5099] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5234] <... openat resumed>) = 4 [pid 5099] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5234] ioctl(4, LOOP_SET_FD, 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5235] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5232] chdir("./file1" [pid 5235] <... mmap resumed>) = 0x7f8438200000 [pid 5232] <... chdir resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5232] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5099] <... openat resumed>) = 3 [pid 5232] truncate("./file1", 0 [pid 5234] <... ioctl resumed>) = 0 [pid 5099] newfstatat(3, "", [pid 5234] close(3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5234] <... close resumed>) = 0 [pid 5099] getdents64(3, [pid 5234] close(4) = 0 [pid 5233] <... write resumed>) = 524288 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5234] mkdir("./file1", 0777) = 0 [pid 5099] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5234] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] unlink("./21/binderfs") = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5232] <... truncate resumed>) = 0 [pid 5099] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5232] memfd_create("syzkaller", 0 [pid 5235] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5232] <... memfd_create resumed>) = 4 [pid 5232] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5234] <... mount resumed>) = 0 [pid 5232] <... mmap resumed>) = 0x7f8438200000 [ 122.951802][ T5234] loop5: detected capacity change from 0 to 1024 [pid 5234] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5232] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5235] <... write resumed>) = 524288 [pid 5234] <... openat resumed>) = 3 [pid 5099] <... umount2 resumed>) = 0 [pid 5097] close(3 [pid 5233] munmap(0x7f8438200000, 138412032 [pid 5097] <... close resumed>) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5234] chdir("./file1" [pid 5233] <... munmap resumed>) = 0 [pid 5234] <... chdir resumed>) = 0 [pid 5233] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5099] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5234] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5233] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5234] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5233] close(4 [pid 5099] newfstatat(AT_FDCWD, "./21/file1", [pid 5233] <... close resumed>) = 0 [pid 5234] truncate("./file1", 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./21/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5236 [pid 5099] <... openat resumed>) = 4 [pid 5099] newfstatat(4, "", [pid 5235] munmap(0x7f8438200000, 138412032 [pid 5234] <... truncate resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5235] <... munmap resumed>) = 0 [pid 5234] memfd_create("syzkaller", 0 [pid 5099] getdents64(4, [pid 5234] <... memfd_create resumed>) = 4 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5234] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] getdents64(4, ./strace-static-x86_64: Process 5236 attached [pid 5235] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5234] <... mmap resumed>) = 0x7f8438200000 [pid 5236] set_robust_list(0x55556fbaa660, 24 [pid 5235] <... openat resumed>) = 4 [pid 5232] <... write resumed>) = 524288 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5236] <... set_robust_list resumed>) = 0 [pid 5235] ioctl(4, LOOP_SET_FD, 3 [pid 5099] close(4 [pid 5236] chdir("./22" [pid 5235] <... ioctl resumed>) = 0 [pid 5233] exit_group(0 [pid 5236] <... chdir resumed>) = 0 [pid 5233] <... exit_group resumed>) = ? [pid 5099] <... close resumed>) = 0 [pid 5236] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5233] +++ exited with 0 +++ [pid 5232] munmap(0x7f8438200000, 138412032 [pid 5099] rmdir("./21/file1" [pid 5232] <... munmap resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5236] setpgid(0, 0 [pid 5232] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5236] <... setpgid resumed>) = 0 [pid 5235] close(3 [pid 5236] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5235] <... close resumed>) = 0 [pid 5234] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5232] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5233, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5235] close(4 [pid 5236] <... openat resumed>) = 3 [pid 5235] <... close resumed>) = 0 [pid 5232] close(4 [pid 5100] restart_syscall(<... resuming interrupted clone ...> [pid 5099] getdents64(3, [pid 5235] mkdir("./file1", 0777 [pid 5100] <... restart_syscall resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3 [pid 5236] write(3, "1000", 4 [pid 5235] <... mkdir resumed>) = 0 [pid 5232] <... close resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5099] rmdir("./21" [pid 5236] <... write resumed>) = 4 [pid 5236] close(3 [pid 5235] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] umount2("./19", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... rmdir resumed>) = 0 [pid 5236] <... close resumed>) = 0 [pid 5236] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] mkdir("./22", 0777executing program [pid 5236] <... symlink resumed>) = 0 [pid 5100] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... mkdir resumed>) = 0 [ 123.063100][ T5235] loop1: detected capacity change from 0 to 1024 [pid 5236] write(1, "executing program\n", 18) = 18 [pid 5234] <... write resumed>) = 524288 [pid 5232] exit_group(0 [pid 5100] <... openat resumed>) = 3 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5236] memfd_create("syzkaller", 0 [pid 5100] newfstatat(3, "", [pid 5099] <... openat resumed>) = 3 [pid 5234] munmap(0x7f8438200000, 138412032 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5232] <... exit_group resumed>) = ? [pid 5236] <... memfd_create resumed>) = 3 [pid 5236] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] getdents64(3, [pid 5236] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] umount2("./19/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5234] <... munmap resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./19/binderfs", [pid 5235] <... mount resumed>) = 0 [pid 5234] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5234] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5232] +++ exited with 0 +++ [pid 5100] unlink("./19/binderfs") = 0 [pid 5234] close(4 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5232, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5100] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5236] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5235] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5234] <... close resumed>) = 0 [pid 5101] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5235] <... openat resumed>) = 3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5235] chdir("./file1" [pid 5101] newfstatat(3, "", [pid 5235] <... chdir resumed>) = 0 [pid 5235] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5234] exit_group(0 [pid 5101] getdents64(3, [pid 5234] <... exit_group resumed>) = ? [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] newfstatat(AT_FDCWD, "./19/file1", [pid 5236] <... write resumed>) = 524288 [pid 5235] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5234] +++ exited with 0 +++ [pid 5101] unlink("./20/binderfs" [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5234, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5235] truncate("./file1", 0 [pid 5101] <... unlink resumed>) = 0 [pid 5100] umount2("./19/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5103] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5236] munmap(0x7f8438200000, 138412032 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./19/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... ioctl resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] <... openat resumed>) = 4 [pid 5100] newfstatat(4, "", [pid 5236] <... munmap resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] close(3 [pid 5103] newfstatat(3, "", [pid 5100] getdents64(4, [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] <... close resumed>) = 0 [pid 5235] <... truncate resumed>) = 0 [pid 5236] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] getdents64(3, [pid 5235] memfd_create("syzkaller", 0 [pid 5100] getdents64(4, [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5236] <... openat resumed>) = 4 [pid 5235] <... memfd_create resumed>) = 4 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4) = 0 [pid 5100] rmdir("./19/file1") = 0 [pid 5101] <... umount2 resumed>) = 0 [pid 5100] getdents64(3, [pid 5236] ioctl(4, LOOP_SET_FD, 3 [pid 5235] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5235] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./19") = 0 [pid 5101] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5237 attached [pid 5236] <... ioctl resumed>) = 0 [pid 5235] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] newfstatat(AT_FDCWD, "./20/binderfs", [pid 5100] mkdir("./20", 0777 [pid 5236] close(3 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5236] <... close resumed>) = 0 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5237 [pid 5103] unlink("./20/binderfs" [pid 5236] close(4) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5236] mkdir("./file1", 0777 [pid 5103] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5237] set_robust_list(0x55556fbaa660, 24 [pid 5236] <... mkdir resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./20/file1", [pid 5237] <... set_robust_list resumed>) = 0 [pid 5236] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5237] chdir("./22" [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5101] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5237] <... chdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./20/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5237] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5100] <... openat resumed>) = 3 [pid 5237] <... prctl resumed>) = 0 [pid 5237] setpgid(0, 0 [pid 5236] <... mount resumed>) = 0 [pid 5103] <... umount2 resumed>) = 0 [pid 5101] newfstatat(4, "", [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5237] <... setpgid resumed>) = 0 [pid 5236] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5237] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5236] <... openat resumed>) = 3 [pid 5235] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5236] chdir("./file1") = 0 [pid 5101] getdents64(4, [pid 5236] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5237] <... openat resumed>) = 3 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [ 123.223362][ T5236] loop0: detected capacity change from 0 to 1024 [pid 5101] getdents64(4, [pid 5236] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4) = 0 [pid 5101] rmdir("./20/file1" [pid 5103] newfstatat(AT_FDCWD, "./20/file1", [pid 5237] write(3, "1000", 4 [pid 5236] truncate("./file1", 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5237] <... write resumed>) = 4 [pid 5103] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5237] close(3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5237] <... close resumed>) = 0 [pid 5101] getdents64(3, [pid 5237] symlink("/dev/binderfs", "./binderfs" [pid 5236] <... truncate resumed>) = 0 [pid 5235] munmap(0x7f8438200000, 138412032 [pid 5103] openat(AT_FDCWD, "./20/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5237] <... symlink resumed>) = 0 [pid 5236] memfd_create("syzkaller", 0 [pid 5103] <... openat resumed>) = 4 [pid 5101] close(3 [pid 5236] <... memfd_create resumed>) = 4 [pid 5235] <... munmap resumed>) = 0 [pid 5101] <... close resumed>) = 0 [pid 5237] write(1, "executing program\n", 18executing program [pid 5236] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5235] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] newfstatat(4, "", [pid 5101] rmdir("./20" [pid 5237] <... write resumed>) = 18 [pid 5236] <... mmap resumed>) = 0x7f8438200000 [pid 5235] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5237] memfd_create("syzkaller", 0) = 3 [pid 5236] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5235] close(4 [pid 5103] getdents64(4, [pid 5101] mkdir("./21", 0777 [pid 5237] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5235] <... close resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] <... mkdir resumed>) = 0 [pid 5237] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] getdents64(4, [pid 5100] <... ioctl resumed>) = 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5103] close(4 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5235] exit_group(0 [pid 5103] <... close resumed>) = 0 [pid 5236] <... write resumed>) = 524288 [pid 5235] <... exit_group resumed>) = ? [pid 5103] rmdir("./20/file1" [pid 5100] close(3) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] <... rmdir resumed>) = 0 [pid 5103] getdents64(3, [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5238 [pid 5237] <... write resumed>) = 524288 ./strace-static-x86_64: Process 5238 attached [pid 5238] set_robust_list(0x55556fbaa660, 24 [pid 5237] munmap(0x7f8438200000, 138412032 [pid 5236] munmap(0x7f8438200000, 138412032 [pid 5235] +++ exited with 0 +++ [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3 [pid 5236] <... munmap resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5103] rmdir("./20" [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5235, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5238] <... set_robust_list resumed>) = 0 [pid 5238] chdir("./20") = 0 [pid 5098] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5238] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5238] setpgid(0, 0 [pid 5103] <... rmdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5238] <... setpgid resumed>) = 0 [pid 5101] close(3 [pid 5238] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5237] <... munmap resumed>) = 0 [pid 5103] mkdir("./21", 0777 [pid 5101] <... close resumed>) = 0 [pid 5098] <... openat resumed>) = 3 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5237] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5103] <... mkdir resumed>) = 0 [pid 5098] newfstatat(3, "", [pid 5238] <... openat resumed>) = 3 [pid 5237] <... openat resumed>) = 4 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5238] write(3, "1000", 4 [pid 5237] ioctl(4, LOOP_SET_FD, 3 [pid 5236] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] <... openat resumed>) = 3 [pid 5098] getdents64(3, executing program [pid 5238] <... write resumed>) = 4 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 ./strace-static-x86_64: Process 5239 attached [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5239 [pid 5238] close(3) = 0 [pid 5238] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5238] write(1, "executing program\n", 18) = 18 [pid 5238] memfd_create("syzkaller", 0) = 3 [pid 5238] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5239] set_robust_list(0x55556fbaa660, 24 [pid 5237] <... ioctl resumed>) = 0 [pid 5236] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... set_robust_list resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] chdir("./21" [pid 5238] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5236] close(4 [pid 5098] newfstatat(AT_FDCWD, "./21/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5239] <... chdir resumed>) = 0 [pid 5098] unlink("./21/binderfs" [pid 5239] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5098] <... unlink resumed>) = 0 [pid 5239] <... prctl resumed>) = 0 [pid 5098] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] setpgid(0, 0) = 0 [pid 5236] <... close resumed>) = 0 [pid 5098] <... umount2 resumed>) = 0 [pid 5239] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5239] write(3, "1000", 4 [pid 5236] exit_group(0 [pid 5239] <... write resumed>) = 4 [pid 5236] <... exit_group resumed>) = ? [pid 5239] close(3) = 0 [pid 5238] <... write resumed>) = 524288 [pid 5237] close(3 [pid 5236] +++ exited with 0 +++ [pid 5239] symlink("/dev/binderfs", "./binderfs" [pid 5237] <... close resumed>) = 0 [pid 5098] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5236, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5098] newfstatat(AT_FDCWD, "./21/file1", [pid 5097] restart_syscall(<... resuming interrupted clone ...> [pid 5239] <... symlink resumed>) = 0 [pid 5237] close(4 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] <... restart_syscall resumed>) = 0 [ 123.432721][ T5237] loop2: detected capacity change from 0 to 1024 [pid 5239] write(1, "executing program\n", 18 [pid 5237] <... close resumed>) = 0 [pid 5098] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5237] mkdir("./file1", 0777executing program ) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5239] <... write resumed>) = 18 [pid 5098] openat(AT_FDCWD, "./21/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5097] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 4 [pid 5237] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5239] memfd_create("syzkaller", 0 [pid 5098] newfstatat(4, "", [pid 5097] <... openat resumed>) = 3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5238] munmap(0x7f8438200000, 138412032 [pid 5098] getdents64(4, [pid 5097] newfstatat(3, "", [pid 5239] <... memfd_create resumed>) = 3 [pid 5238] <... munmap resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] close(4 [pid 5097] getdents64(3, [pid 5239] <... mmap resumed>) = 0x7f8438200000 [pid 5103] close(3 [pid 5098] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5239] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5238] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5103] <... close resumed>) = 0 [pid 5098] rmdir("./21/file1" [pid 5097] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5238] <... openat resumed>) = 4 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... rmdir resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] ioctl(4, LOOP_SET_FD, 3 [pid 5097] newfstatat(AT_FDCWD, "./22/binderfs", [pid 5098] getdents64(3, [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] unlink("./22/binderfs" [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5098] close(3 [pid 5097] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5240 attached [pid 5239] <... write resumed>) = 524288 [pid 5237] <... mount resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5240 [pid 5098] <... close resumed>) = 0 [pid 5238] <... ioctl resumed>) = 0 [pid 5238] close(3) = 0 [pid 5238] close(4 [ 123.529671][ T5238] loop3: detected capacity change from 0 to 1024 [pid 5098] rmdir("./21" [pid 5240] set_robust_list(0x55556fbaa660, 24 [pid 5239] munmap(0x7f8438200000, 138412032 [pid 5238] <... close resumed>) = 0 [pid 5237] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5098] <... rmdir resumed>) = 0 [pid 5238] mkdir("./file1", 0777) = 0 [pid 5237] <... openat resumed>) = 3 [pid 5238] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5239] <... munmap resumed>) = 0 [pid 5237] chdir("./file1" [pid 5240] <... set_robust_list resumed>) = 0 [pid 5098] mkdir("./22", 0777 [pid 5240] chdir("./21") = 0 [pid 5237] <... chdir resumed>) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5240] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5239] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5238] <... mount resumed>) = 0 [pid 5237] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5240] <... prctl resumed>) = 0 [pid 5239] <... openat resumed>) = 4 [pid 5237] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5098] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = 0 [pid 5238] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5237] truncate("./file1", 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5239] ioctl(4, LOOP_SET_FD, 3 [pid 5240] setpgid(0, 0 [pid 5238] <... openat resumed>) = 3 [pid 5238] chdir("./file1") = 0 [pid 5238] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5238] truncate("./file1", 0) = 0 [pid 5238] memfd_create("syzkaller", 0) = 4 [pid 5238] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5240] <... setpgid resumed>) = 0 [pid 5238] <... mmap resumed>) = 0x7f8438200000 [pid 5240] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5240] <... openat resumed>) = 3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5238] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] newfstatat(AT_FDCWD, "./22/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5240] write(3, "1000", 4 [pid 5097] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5240] <... write resumed>) = 4 [pid 5097] openat(AT_FDCWD, "./22/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5240] close(3 [pid 5097] <... openat resumed>) = 4 [pid 5240] <... close resumed>) = 0 [pid 5240] symlink("/dev/binderfs", "./binderfs" [pid 5097] newfstatat(4, "", [pid 5240] <... symlink resumed>) = 0 [pid 5237] <... truncate resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5240] write(1, "executing program\n", 18 [pid 5237] memfd_create("syzkaller", 0executing program ) = 4 [pid 5240] <... write resumed>) = 18 [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5240] memfd_create("syzkaller", 0 [pid 5239] <... ioctl resumed>) = 0 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5239] close(3 [pid 5237] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] close(4 [pid 5239] <... close resumed>) = 0 [pid 5237] <... mmap resumed>) = 0x7f8438200000 [pid 5238] <... write resumed>) = 524288 [pid 5097] <... close resumed>) = 0 [pid 5238] munmap(0x7f8438200000, 138412032 [pid 5097] rmdir("./22/file1" [pid 5238] <... munmap resumed>) = 0 [ 123.613098][ T5239] loop4: detected capacity change from 0 to 1024 [pid 5238] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5240] <... memfd_create resumed>) = 3 [pid 5239] close(4 [pid 5237] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] <... ioctl resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5240] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5239] <... close resumed>) = 0 [pid 5097] getdents64(3, [pid 5239] mkdir("./file1", 0777 [pid 5240] <... mmap resumed>) = 0x7f8438200000 [pid 5238] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5238] close(4 [pid 5098] close(3) = 0 [pid 5240] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] close(3 [pid 5239] <... mkdir resumed>) = 0 [pid 5239] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./22"./strace-static-x86_64: Process 5241 attached ) = 0 [pid 5241] set_robust_list(0x55556fbaa660, 24 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5241 [pid 5097] mkdir("./23", 0777 [pid 5241] <... set_robust_list resumed>) = 0 [pid 5241] chdir("./22" [pid 5237] <... write resumed>) = 524288 [pid 5097] <... mkdir resumed>) = 0 [pid 5241] <... chdir resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5241] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5238] <... close resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5241] <... prctl resumed>) = 0 [pid 5241] setpgid(0, 0 [pid 5238] exit_group(0 [pid 5241] <... setpgid resumed>) = 0 [pid 5241] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5241] write(3, "1000", 4 [pid 5238] <... exit_group resumed>) = ? [pid 5241] <... write resumed>) = 4 [pid 5238] +++ exited with 0 +++ [pid 5241] close(3 [pid 5237] munmap(0x7f8438200000, 138412032 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5238, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5241] <... close resumed>) = 0 [pid 5241] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5237] <... munmap resumed>) = 0 [pid 5241] write(1, "executing program\n", 18executing program [pid 5240] <... write resumed>) = 524288 [pid 5237] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] umount2("./20", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5241] <... write resumed>) = 18 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5241] memfd_create("syzkaller", 0 [pid 5240] munmap(0x7f8438200000, 138412032 [pid 5239] <... mount resumed>) = 0 [pid 5237] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5241] <... memfd_create resumed>) = 3 [pid 5240] <... munmap resumed>) = 0 [pid 5239] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5237] close(4 [pid 5100] <... openat resumed>) = 3 [pid 5241] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5239] <... openat resumed>) = 3 [pid 5100] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5239] chdir("./file1" [pid 5240] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5239] <... chdir resumed>) = 0 [pid 5237] <... close resumed>) = 0 [pid 5100] getdents64(3, [pid 5239] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5241] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5240] <... openat resumed>) = 4 [pid 5239] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5240] ioctl(4, LOOP_SET_FD, 3 [pid 5239] truncate("./file1", 0 [pid 5100] umount2("./20/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5241] <... write resumed>) = 524288 [pid 5100] unlink("./20/binderfs") = 0 [pid 5100] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5239] <... truncate resumed>) = 0 [pid 5237] exit_group(0 [pid 5241] munmap(0x7f8438200000, 138412032 [pid 5240] <... ioctl resumed>) = 0 [pid 5239] memfd_create("syzkaller", 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5239] <... memfd_create resumed>) = 4 [pid 5240] close(3 [pid 5239] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] close(3 [pid 5240] <... close resumed>) = 0 [pid 5241] <... munmap resumed>) = 0 [pid 5240] close(4 [pid 5239] <... mmap resumed>) = 0x7f8438200000 [pid 5237] <... exit_group resumed>) = ? [pid 5097] <... close resumed>) = 0 [pid 5241] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5240] <... close resumed>) = 0 [pid 5239] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... umount2 resumed>) = 0 [ 123.776768][ T5240] loop5: detected capacity change from 0 to 1024 [pid 5240] mkdir("./file1", 0777 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5241] <... openat resumed>) = 4 [pid 5241] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 5242 attached [pid 5240] <... mkdir resumed>) = 0 [pid 5100] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5242 [pid 5242] set_robust_list(0x55556fbaa660, 24 [pid 5237] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5237, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] <... set_robust_list resumed>) = 0 [pid 5242] chdir("./23" [pid 5240] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] newfstatat(AT_FDCWD, "./20/file1", [pid 5242] <... chdir resumed>) = 0 [pid 5099] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5099] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5241] <... ioctl resumed>) = 0 [pid 5099] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] setpgid(0, 0) = 0 [pid 5099] getdents64(3, [pid 5241] close(3 [pid 5242] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5241] <... close resumed>) = 0 [pid 5241] close(4 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5241] <... close resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] <... openat resumed>) = 3 [pid 5241] mkdir("./file1", 0777 [pid 5240] <... mount resumed>) = 0 [pid 5100] umount2("./20/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] write(3, "1000", 4 [pid 5241] <... mkdir resumed>) = 0 [pid 5240] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5239] <... write resumed>) = 524288 [pid 5099] newfstatat(AT_FDCWD, "./22/binderfs", [pid 5242] <... write resumed>) = 4 [pid 5240] <... openat resumed>) = 3 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] close(3 [pid 5241] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5240] chdir("./file1" [pid 5100] openat(AT_FDCWD, "./20/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] <... close resumed>) = 0 [pid 5240] <... chdir resumed>) = 0 executing program [pid 5100] <... openat resumed>) = 4 [pid 5242] symlink("/dev/binderfs", "./binderfs" [pid 5240] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5239] munmap(0x7f8438200000, 138412032 [pid 5099] unlink("./22/binderfs" [pid 5240] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5240] truncate("./file1", 0 [pid 5242] <... symlink resumed>) = 0 [pid 5099] <... unlink resumed>) = 0 [pid 5242] write(1, "executing program\n", 18 [pid 5239] <... munmap resumed>) = 0 [pid 5100] newfstatat(4, "", [ 123.834842][ T5241] loop1: detected capacity change from 0 to 1024 [pid 5099] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] <... write resumed>) = 18 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5242] memfd_create("syzkaller", 0 [pid 5239] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5241] <... mount resumed>) = 0 [pid 5241] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5240] <... truncate resumed>) = 0 [pid 5241] <... openat resumed>) = 3 [pid 5240] memfd_create("syzkaller", 0) = 4 [pid 5240] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5242] <... memfd_create resumed>) = 3 [pid 5241] chdir("./file1" [pid 5240] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5239] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] getdents64(4, [pid 5242] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5241] <... chdir resumed>) = 0 [pid 5239] close(4 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5242] <... mmap resumed>) = 0x7f8438200000 [pid 5241] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5100] getdents64(4, [pid 5242] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5241] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] close(4) = 0 [pid 5100] rmdir("./20/file1") = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./20") = 0 [pid 5242] <... write resumed>) = 524288 [pid 5241] truncate("./file1", 0 [pid 5100] mkdir("./21", 0777 [pid 5099] <... umount2 resumed>) = 0 [pid 5100] <... mkdir resumed>) = 0 [pid 5239] <... close resumed>) = 0 [pid 5239] exit_group(0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5239] <... exit_group resumed>) = ? [pid 5100] <... openat resumed>) = 3 [pid 5239] +++ exited with 0 +++ [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5239, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=6 /* 0.06 s */} --- [pid 5099] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5242] munmap(0x7f8438200000, 138412032 [pid 5099] newfstatat(AT_FDCWD, "./22/file1", [pid 5101] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5241] <... truncate resumed>) = 0 [pid 5240] <... write resumed>) = 524288 [pid 5241] memfd_create("syzkaller", 0 [pid 5240] munmap(0x7f8438200000, 138412032 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5242] <... munmap resumed>) = 0 [pid 5241] <... memfd_create resumed>) = 4 [pid 5240] <... munmap resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5241] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... openat resumed>) = 3 [pid 5241] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5242] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] newfstatat(3, "", [pid 5099] openat(AT_FDCWD, "./22/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5242] <... openat resumed>) = 4 [pid 5242] ioctl(4, LOOP_SET_FD, 3 [pid 5241] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5240] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... openat resumed>) = 4 [pid 5101] getdents64(3, [pid 5099] newfstatat(4, "", [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] getdents64(4, [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5099] getdents64(4, [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] unlink("./21/binderfs" [pid 5099] close(4 [pid 5101] <... unlink resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5101] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] rmdir("./22/file1" [pid 5240] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... umount2 resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5240] close(4 [pid 5101] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5100] <... ioctl resumed>) = 0 [pid 5099] getdents64(3, [pid 5242] <... ioctl resumed>) = 0 [pid 5241] <... write resumed>) = 524288 [pid 5240] <... close resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] close(3 [pid 5101] newfstatat(AT_FDCWD, "./21/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 123.995719][ T5242] loop0: detected capacity change from 0 to 1024 [pid 5240] exit_group(0 [pid 5101] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5242] close(3 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5242] <... close resumed>) = 0 [pid 5241] munmap(0x7f8438200000, 138412032 [pid 5240] <... exit_group resumed>) = ? [pid 5101] openat(AT_FDCWD, "./21/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] close(3 [pid 5242] close(4 [pid 5101] <... openat resumed>) = 4 [pid 5101] newfstatat(4, "", [pid 5242] <... close resumed>) = 0 [pid 5240] +++ exited with 0 +++ [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... close resumed>) = 0 [pid 5242] mkdir("./file1", 0777 [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5240, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- ./strace-static-x86_64: Process 5243 attached [pid 5101] getdents64(4, [pid 5099] rmdir("./22" [pid 5242] <... mkdir resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5243 [pid 5099] <... rmdir resumed>) = 0 [pid 5243] set_robust_list(0x55556fbaa660, 24 [pid 5101] getdents64(4, [pid 5243] <... set_robust_list resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5243] chdir("./21" [pid 5242] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5241] <... munmap resumed>) = 0 [pid 5103] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] close(4 [pid 5099] mkdir("./23", 0777 [pid 5243] <... chdir resumed>) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] <... close resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] rmdir("./21/file1" [pid 5243] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5241] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5103] <... openat resumed>) = 3 [pid 5101] <... rmdir resumed>) = 0 [pid 5243] <... prctl resumed>) = 0 [pid 5103] newfstatat(3, "", [pid 5099] <... mkdir resumed>) = 0 [pid 5243] setpgid(0, 0 [pid 5241] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5243] <... setpgid resumed>) = 0 [pid 5241] close(4 [pid 5101] getdents64(3, [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5243] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] <... openat resumed>) = 3 [pid 5243] <... openat resumed>) = 3 [pid 5101] close(3 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5101] <... close resumed>) = 0 [pid 5243] write(3, "1000", 4 [pid 5241] <... close resumed>) = 0 [pid 5103] getdents64(3, [pid 5101] rmdir("./21" [pid 5243] <... write resumed>) = 4 [pid 5242] <... mount resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] <... rmdir resumed>) = 0 [pid 5242] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5243] close(3 [pid 5242] <... openat resumed>) = 3 [pid 5103] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5243] <... close resumed>) = 0 [pid 5242] chdir("./file1" [pid 5241] exit_group(0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] mkdir("./22", 0777 [pid 5243] symlink("/dev/binderfs", "./binderfs" [pid 5242] <... chdir resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5242] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5241] <... exit_group resumed>) = ? [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5243] <... symlink resumed>) = 0 [pid 5242] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... mkdir resumed>) = 0 [pid 5103] unlink("./21/binderfs" [pid 5242] truncate("./file1", 0executing program [pid 5103] <... unlink resumed>) = 0 [pid 5243] write(1, "executing program\n", 18 [pid 5103] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5241] +++ exited with 0 +++ [pid 5242] <... truncate resumed>) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5241, si_uid=0, si_status=0, si_utime=0, si_stime=6 /* 0.06 s */} --- [pid 5242] memfd_create("syzkaller", 0 [pid 5243] <... write resumed>) = 18 [pid 5242] <... memfd_create resumed>) = 4 [pid 5101] <... openat resumed>) = 3 [pid 5099] <... ioctl resumed>) = 0 [pid 5242] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5243] memfd_create("syzkaller", 0 [pid 5242] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... umount2 resumed>) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5099] close(3 [pid 5243] <... memfd_create resumed>) = 3 [pid 5099] <... close resumed>) = 0 [pid 5243] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5242] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5098] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5243] <... mmap resumed>) = 0x7f8438200000 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] unlink("./22/binderfs" [pid 5103] newfstatat(AT_FDCWD, "./21/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5103] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5244 attached [pid 5243] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] openat(AT_FDCWD, "./21/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5244] set_robust_list(0x55556fbaa660, 24 [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5244 [pid 5244] <... set_robust_list resumed>) = 0 [pid 5244] chdir("./23" [pid 5242] <... write resumed>) = 524288 [pid 5103] <... openat resumed>) = 4 [pid 5244] <... chdir resumed>) = 0 [pid 5242] munmap(0x7f8438200000, 138412032 [pid 5103] newfstatat(4, "", [pid 5098] <... umount2 resumed>) = 0 [pid 5244] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5242] <... munmap resumed>) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5242] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] getdents64(4, [pid 5242] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5242] close(4 [pid 5103] getdents64(4, [pid 5244] <... prctl resumed>) = 0 [pid 5243] <... write resumed>) = 524288 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(3 [pid 5244] setpgid(0, 0 [pid 5103] close(4 [pid 5244] <... setpgid resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./21/file1" [pid 5244] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... rmdir resumed>) = 0 [pid 5244] <... openat resumed>) = 3 [pid 5243] munmap(0x7f8438200000, 138412032 [pid 5242] <... close resumed>) = 0 [pid 5103] getdents64(3, [pid 5101] <... close resumed>) = 0 [pid 5098] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5244] write(3, "1000", 4 [pid 5243] <... munmap resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5244] <... write resumed>) = 4 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5098] newfstatat(AT_FDCWD, "./22/file1", [pid 5244] close(3 [pid 5103] close(3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5244] <... close resumed>) = 0 [pid 5103] <... close resumed>) = 0 [pid 5098] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5244] symlink("/dev/binderfs", "./binderfs" [pid 5103] rmdir("./21" [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5244] <... symlink resumed>) = 0 [pid 5243] openat(AT_FDCWD, "/dev/loop3", O_RDWRexecuting program [pid 5103] <... rmdir resumed>) = 0 ./strace-static-x86_64: Process 5245 attached [pid 5244] write(1, "executing program\n", 18 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5245 [pid 5098] openat(AT_FDCWD, "./22/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5244] <... write resumed>) = 18 [pid 5243] <... openat resumed>) = 4 [pid 5103] mkdir("./22", 0777 [pid 5098] <... openat resumed>) = 4 [pid 5244] memfd_create("syzkaller", 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5098] newfstatat(4, "", [pid 5245] set_robust_list(0x55556fbaa660, 24 [pid 5244] <... memfd_create resumed>) = 3 [pid 5243] ioctl(4, LOOP_SET_FD, 3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5245] <... set_robust_list resumed>) = 0 [pid 5244] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] getdents64(4, [pid 5245] chdir("./22" [pid 5244] <... mmap resumed>) = 0x7f8438200000 [pid 5242] exit_group(0 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5242] <... exit_group resumed>) = ? [pid 5103] <... openat resumed>) = 3 [pid 5098] getdents64(4, [pid 5244] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5242] +++ exited with 0 +++ [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5245] <... chdir resumed>) = 0 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5242, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5098] close(4) = 0 [pid 5098] rmdir("./22/file1") = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5245] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5245] setpgid(0, 0) = 0 [pid 5098] close(3 [pid 5097] <... openat resumed>) = 3 [pid 5245] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5098] <... close resumed>) = 0 [pid 5097] newfstatat(3, "", [pid 5098] rmdir("./22" [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5245] <... openat resumed>) = 3 [pid 5098] <... rmdir resumed>) = 0 [pid 5097] getdents64(3, [pid 5245] write(3, "1000", 4 [pid 5098] mkdir("./23", 0777 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... mkdir resumed>) = 0 [pid 5097] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5245] <... write resumed>) = 4 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5245] close(3 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5245] <... close resumed>) = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5097] unlink("./23/binderfs" [pid 5245] symlink("/dev/binderfs", "./binderfs" [pid 5098] <... openat resumed>) = 3 [pid 5097] <... unlink resumed>) = 0 [pid 5245] <... symlink resumed>) = 0 [pid 5244] <... write resumed>) = 524288 [pid 5243] <... ioctl resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5097] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5245] write(1, "executing program\n", 18) = 18 executing program [pid 5245] memfd_create("syzkaller", 0 [pid 5243] close(3 [pid 5097] <... umount2 resumed>) = 0 [pid 5243] <... close resumed>) = 0 [pid 5243] close(4) = 0 [pid 5243] mkdir("./file1", 0777 [pid 5245] <... memfd_create resumed>) = 3 [pid 5243] <... mkdir resumed>) = 0 [pid 5245] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5244] munmap(0x7f8438200000, 138412032 [pid 5245] <... mmap resumed>) = 0x7f8438200000 [pid 5244] <... munmap resumed>) = 0 [pid 5244] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5243] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [ 124.229841][ T5243] loop3: detected capacity change from 0 to 1024 [pid 5244] ioctl(4, LOOP_SET_FD, 3 [pid 5245] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./23/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] openat(AT_FDCWD, "./23/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5097] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5097] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5245] <... write resumed>) = 524288 [pid 5243] <... mount resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5097] close(4 [pid 5244] <... ioctl resumed>) = 0 [pid 5103] close(3 [pid 5244] close(3 [pid 5243] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... close resumed>) = 0 [pid 5243] <... openat resumed>) = 3 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... close resumed>) = 0 [pid 5097] rmdir("./23/file1" [pid 5244] <... close resumed>) = 0 [pid 5244] close(4) = 0 [pid 5243] chdir("./file1" [pid 5244] mkdir("./file1", 0777 [pid 5243] <... chdir resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 [pid 5097] <... rmdir resumed>) = 0 [pid 5244] <... mkdir resumed>) = 0 [pid 5243] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5243] truncate("./file1", 0 [pid 5098] close(3 [pid 5244] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5098] <... close resumed>) = 0 [ 124.287649][ T5244] loop2: detected capacity change from 0 to 1024 [pid 5097] getdents64(3, [pid 5245] munmap(0x7f8438200000, 138412032 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5097] close(3 [pid 5245] <... munmap resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5246 [pid 5097] <... close resumed>) = 0 ./strace-static-x86_64: Process 5246 attached [pid 5243] <... truncate resumed>) = 0 [pid 5097] rmdir("./23" [pid 5246] set_robust_list(0x55556fbaa660, 24 [pid 5243] memfd_create("syzkaller", 0 [pid 5246] <... set_robust_list resumed>) = 0 [pid 5243] <... memfd_create resumed>) = 4 [pid 5246] chdir("./22") = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5247 [pid 5243] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 5247 attached [pid 5246] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5245] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5243] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... rmdir resumed>) = 0 [pid 5247] set_robust_list(0x55556fbaa660, 24 [pid 5246] <... prctl resumed>) = 0 [pid 5244] <... mount resumed>) = 0 [pid 5247] <... set_robust_list resumed>) = 0 [pid 5246] setpgid(0, 0 [pid 5244] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5247] chdir("./23" [pid 5246] <... setpgid resumed>) = 0 [pid 5246] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5245] <... openat resumed>) = 4 [pid 5247] <... chdir resumed>) = 0 [pid 5246] <... openat resumed>) = 3 [pid 5244] <... openat resumed>) = 3 [pid 5097] mkdir("./24", 0777 [pid 5244] chdir("./file1" [pid 5247] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5244] <... chdir resumed>) = 0 [pid 5246] write(3, "1000", 4executing program [pid 5247] <... prctl resumed>) = 0 [pid 5246] <... write resumed>) = 4 [pid 5245] ioctl(4, LOOP_SET_FD, 3 [pid 5244] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5097] <... mkdir resumed>) = 0 [pid 5244] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5247] setpgid(0, 0 [pid 5246] close(3) = 0 [pid 5244] truncate("./file1", 0 [pid 5247] <... setpgid resumed>) = 0 [pid 5246] symlink("/dev/binderfs", "./binderfs" [pid 5247] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5246] <... symlink resumed>) = 0 [pid 5247] <... openat resumed>) = 3 [pid 5246] write(1, "executing program\n", 18) = 18 [pid 5246] memfd_create("syzkaller", 0 [pid 5243] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5245] <... ioctl resumed>) = 0 [pid 5244] <... truncate resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5244] memfd_create("syzkaller", 0) = 4 [pid 5244] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5247] write(3, "1000", 4 [pid 5246] <... memfd_create resumed>) = 3 [pid 5244] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5247] <... write resumed>) = 4 [pid 5246] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5247] close(3 [pid 5246] <... mmap resumed>) = 0x7f8438200000 [pid 5247] <... close resumed>) = 0 [pid 5247] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5247] write(1, "executing program\n", 18) = 18 [pid 5247] memfd_create("syzkaller", 0) = 3 [pid 5247] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5246] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5243] <... write resumed>) = 524288 [pid 5245] close(3 [pid 5243] munmap(0x7f8438200000, 138412032 [pid 5245] <... close resumed>) = 0 [pid 5243] <... munmap resumed>) = 0 [pid 5245] close(4 [pid 5243] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5245] <... close resumed>) = 0 [pid 5247] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5245] mkdir("./file1", 0777 [pid 5243] <... openat resumed>) = -1 EBUSY (Device or resource busy) [ 124.382669][ T5245] loop4: detected capacity change from 0 to 1024 [pid 5245] <... mkdir resumed>) = 0 [pid 5243] close(4) = 0 [pid 5245] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5246] <... write resumed>) = 524288 [pid 5244] <... write resumed>) = 524288 [pid 5246] munmap(0x7f8438200000, 138412032 [pid 5244] munmap(0x7f8438200000, 138412032) = 0 [pid 5097] <... ioctl resumed>) = 0 [pid 5246] <... munmap resumed>) = 0 [pid 5244] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5247] <... write resumed>) = 524288 [pid 5244] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5246] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5244] close(4 [pid 5243] exit_group(0 [pid 5246] ioctl(4, LOOP_SET_FD, 3 [pid 5097] close(3 [pid 5246] <... ioctl resumed>) = 0 [pid 5243] <... exit_group resumed>) = ? [pid 5097] <... close resumed>) = 0 [pid 5247] munmap(0x7f8438200000, 138412032) = 0 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5247] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5247] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 5248 attached [pid 5245] <... mount resumed>) = 0 [pid 5244] <... close resumed>) = 0 [pid 5243] +++ exited with 0 +++ [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5243, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5248 [pid 5248] set_robust_list(0x55556fbaa660, 24 [pid 5245] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5100] umount2("./21", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5100] openat(AT_FDCWD, "./21", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5100] newfstatat(3, "", [pid 5246] close(3 [pid 5245] <... openat resumed>) = 3 [pid 5244] exit_group(0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5246] <... close resumed>) = 0 [pid 5244] <... exit_group resumed>) = ? [pid 5248] <... set_robust_list resumed>) = 0 [pid 5246] close(4 [pid 5244] +++ exited with 0 +++ [pid 5100] getdents64(3, [pid 5246] <... close resumed>) = 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5244, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5246] mkdir("./file1", 0777 [pid 5100] umount2("./21/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5248] chdir("./24" [pid 5247] <... ioctl resumed>) = 0 [pid 5246] <... mkdir resumed>) = 0 [pid 5245] chdir("./file1" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5246] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5100] newfstatat(AT_FDCWD, "./21/binderfs", [pid 5247] close(3 [pid 5100] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5247] <... close resumed>) = 0 [pid 5100] unlink("./21/binderfs" [pid 5247] close(4 [pid 5100] <... unlink resumed>) = 0 [pid 5247] <... close resumed>) = 0 [pid 5100] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5247] mkdir("./file1", 0777 [pid 5248] <... chdir resumed>) = 0 [pid 5245] <... chdir resumed>) = 0 [ 124.484840][ T5246] loop5: detected capacity change from 0 to 1024 [ 124.508166][ T5247] loop1: detected capacity change from 0 to 1024 [pid 5248] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5247] <... mkdir resumed>) = 0 [pid 5246] <... mount resumed>) = 0 [pid 5245] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5248] <... prctl resumed>) = 0 [pid 5246] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5248] setpgid(0, 0 [pid 5247] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5246] <... openat resumed>) = 3 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5248] <... setpgid resumed>) = 0 [pid 5246] chdir("./file1" [pid 5245] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5100] <... umount2 resumed>) = 0 [pid 5099] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5248] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5246] <... chdir resumed>) = 0 [pid 5245] truncate("./file1", 0 [pid 5099] <... openat resumed>) = 3 [pid 5248] <... openat resumed>) = 3 [pid 5246] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] newfstatat(3, "", [pid 5248] write(3, "1000", 4 [pid 5246] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5246] truncate("./file1", 0 [pid 5248] <... write resumed>) = 4 [pid 5099] getdents64(3, [pid 5248] close(3) = 0 [pid 5100] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5248] symlink("/dev/binderfs", "./binderfs" [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5245] <... truncate resumed>) = 0 [pid 5248] <... symlink resumed>) = 0 executing program [pid 5100] newfstatat(AT_FDCWD, "./21/file1", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5248] write(1, "executing program\n", 18 [pid 5247] <... mount resumed>) = 0 [pid 5246] <... truncate resumed>) = 0 [pid 5245] memfd_create("syzkaller", 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5248] <... write resumed>) = 18 [pid 5247] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5246] memfd_create("syzkaller", 0 [pid 5100] umount2("./21/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5248] memfd_create("syzkaller", 0 [pid 5247] <... openat resumed>) = 3 [pid 5246] <... memfd_create resumed>) = 4 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5248] <... memfd_create resumed>) = 3 [pid 5245] <... memfd_create resumed>) = 4 [pid 5100] openat(AT_FDCWD, "./21/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5248] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5247] chdir("./file1" [pid 5246] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5245] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... openat resumed>) = 4 [pid 5099] unlink("./23/binderfs" [pid 5248] <... mmap resumed>) = 0x7f8438200000 [pid 5247] <... chdir resumed>) = 0 [pid 5245] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... unlink resumed>) = 0 [pid 5100] newfstatat(4, "", [pid 5247] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5246] <... mmap resumed>) = 0x7f8438200000 [pid 5100] getdents64(4, [pid 5248] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5246] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5099] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5247] truncate("./file1", 0 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4) = 0 [pid 5100] rmdir("./21/file1") = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5100] rmdir("./21" [pid 5247] <... truncate resumed>) = 0 [pid 5246] <... write resumed>) = 524288 [pid 5245] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... rmdir resumed>) = 0 [pid 5247] memfd_create("syzkaller", 0) = 4 [pid 5247] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5247] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] mkdir("./22", 0777) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5246] munmap(0x7f8438200000, 138412032 [pid 5248] <... write resumed>) = 524288 [pid 5099] <... umount2 resumed>) = 0 [pid 5245] <... write resumed>) = 524288 [pid 5246] <... munmap resumed>) = 0 [pid 5099] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5246] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5246] close(4 [pid 5248] munmap(0x7f8438200000, 138412032 [pid 5099] newfstatat(AT_FDCWD, "./23/file1", [pid 5247] <... write resumed>) = 524288 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5247] munmap(0x7f8438200000, 138412032 [pid 5248] <... munmap resumed>) = 0 [pid 5245] munmap(0x7f8438200000, 138412032 [pid 5099] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5247] <... munmap resumed>) = 0 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] openat(AT_FDCWD, "./23/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5248] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5245] <... munmap resumed>) = 0 [pid 5248] <... openat resumed>) = 4 [pid 5247] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5245] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5099] <... openat resumed>) = 4 [pid 5248] ioctl(4, LOOP_SET_FD, 3 [pid 5099] newfstatat(4, "", [pid 5247] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5245] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5248] <... ioctl resumed>) = 0 [pid 5247] close(4 [pid 5246] <... close resumed>) = 0 [pid 5245] close(4 [pid 5099] getdents64(4, [pid 5247] <... close resumed>) = 0 [pid 5245] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5248] close(3 [pid 5099] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4) = 0 [pid 5248] <... close resumed>) = 0 [pid 5246] exit_group(0 [pid 5099] rmdir("./23/file1" [pid 5100] <... ioctl resumed>) = 0 [pid 5248] close(4 [pid 5246] <... exit_group resumed>) = ? [pid 5245] exit_group(0 [pid 5100] close(3 [pid 5099] <... rmdir resumed>) = 0 [pid 5100] <... close resumed>) = 0 [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5247] exit_group(0 [pid 5246] +++ exited with 0 +++ [pid 5248] <... close resumed>) = 0 [pid 5245] <... exit_group resumed>) = ? [pid 5099] getdents64(3, [pid 5247] <... exit_group resumed>) = ? [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5249 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5247] +++ exited with 0 +++ [pid 5245] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5246, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5099] close(3 [pid 5103] restart_syscall(<... resuming interrupted clone ...> [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5245, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5099] <... close resumed>) = 0 [pid 5103] <... restart_syscall resumed>) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5247, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5099] rmdir("./23" [pid 5098] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5249 attached ) = -1 EINVAL (Invalid argument) [pid 5249] set_robust_list(0x55556fbaa660, 24 [pid 5103] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... rmdir resumed>) = 0 [pid 5098] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5249] <... set_robust_list resumed>) = 0 [ 124.696948][ T5248] loop0: detected capacity change from 0 to 1024 [pid 5248] mkdir("./file1", 0777 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] mkdir("./24", 0777 [pid 5098] <... openat resumed>) = 3 [pid 5249] chdir("./22" [pid 5248] <... mkdir resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... mkdir resumed>) = 0 [pid 5098] newfstatat(3, "", [pid 5249] <... chdir resumed>) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5249] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] newfstatat(3, "", [pid 5101] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] getdents64(3, [pid 5249] <... prctl resumed>) = 0 [pid 5101] <... openat resumed>) = 3 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5249] setpgid(0, 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5103] getdents64(3, [pid 5098] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5249] <... setpgid resumed>) = 0 [pid 5248] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5249] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] <... openat resumed>) = 3 [pid 5098] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5249] <... openat resumed>) = 3 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(3, "", [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] newfstatat(AT_FDCWD, "./22/binderfs", [pid 5098] unlink("./23/binderfs" [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] unlink("./22/binderfs" [pid 5098] <... unlink resumed>) = 0 [pid 5103] <... unlink resumed>) = 0 [pid 5103] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5249] write(3, "1000", 4) = 4 [pid 5101] getdents64(3, [pid 5098] <... umount2 resumed>) = 0 [pid 5249] close(3) = 0 [pid 5249] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5101] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) executing program [pid 5249] write(1, "executing program\n", 18 [pid 5101] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5249] <... write resumed>) = 18 [pid 5248] <... mount resumed>) = 0 [pid 5101] unlink("./22/binderfs" [pid 5098] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5249] memfd_create("syzkaller", 0 [pid 5248] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... unlink resumed>) = 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5249] <... memfd_create resumed>) = 3 [pid 5248] <... openat resumed>) = 3 [pid 5103] <... umount2 resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./23/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5249] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5249] <... mmap resumed>) = 0x7f8438200000 [pid 5098] openat(AT_FDCWD, "./23/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5249] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5248] chdir("./file1" [pid 5103] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... openat resumed>) = 4 [pid 5098] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] close(4) = 0 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] rmdir("./23/file1") = 0 [pid 5103] newfstatat(AT_FDCWD, "./22/file1", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./22/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5098] getdents64(3, [pid 5248] <... chdir resumed>) = 0 [pid 5103] newfstatat(4, "", [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] close(3) = 0 [pid 5103] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] rmdir("./23" [pid 5248] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] getdents64(4, [pid 5098] <... rmdir resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] mkdir("./24", 0777 [pid 5248] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] close(4 [pid 5098] <... mkdir resumed>) = 0 [pid 5248] truncate("./file1", 0 [pid 5103] <... close resumed>) = 0 [pid 5103] rmdir("./22/file1") = 0 [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5101] <... umount2 resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5103] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5103] close(3) = 0 [pid 5103] rmdir("./22") = 0 [pid 5099] <... ioctl resumed>) = 0 [pid 5248] <... truncate resumed>) = 0 [pid 5101] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5099] close(3 [pid 5103] mkdir("./23", 0777 [pid 5248] memfd_create("syzkaller", 0 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... close resumed>) = 0 [pid 5248] <... memfd_create resumed>) = 4 [pid 5101] newfstatat(AT_FDCWD, "./22/file1", [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... openat resumed>) = 3 [pid 5249] <... write resumed>) = 524288 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5101] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5248] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5249] munmap(0x7f8438200000, 138412032) = 0 [pid 5248] <... mmap resumed>) = 0x7f8438200000 [pid 5249] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 ./strace-static-x86_64: Process 5250 attached [pid 5248] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5101] openat(AT_FDCWD, "./22/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5250 [pid 5249] ioctl(4, LOOP_SET_FD, 3 [pid 5101] <... openat resumed>) = 4 [pid 5101] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5250] set_robust_list(0x55556fbaa660, 24 [pid 5101] getdents64(4, [pid 5250] <... set_robust_list resumed>) = 0 [pid 5248] <... write resumed>) = 524288 [pid 5098] <... ioctl resumed>) = 0 [pid 5250] chdir("./24" [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] close(3 [pid 5250] <... chdir resumed>) = 0 [pid 5248] munmap(0x7f8438200000, 138412032 [pid 5103] <... ioctl resumed>) = 0 [pid 5101] getdents64(4, [pid 5098] <... close resumed>) = 0 [pid 5250] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5248] <... munmap resumed>) = 0 [pid 5101] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5250] <... prctl resumed>) = 0 [pid 5248] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5101] close(4 [pid 5250] setpgid(0, 0 [pid 5249] <... ioctl resumed>) = 0 [pid 5248] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... close resumed>) = 0 [pid 5249] close(3 [pid 5101] rmdir("./22/file1"./strace-static-x86_64: Process 5251 attached [pid 5249] <... close resumed>) = 0 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5251 [pid 5249] close(4) = 0 [pid 5249] mkdir("./file1", 0777) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5251] set_robust_list(0x55556fbaa660, 24 [pid 5248] close(4 [pid 5249] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5250] <... setpgid resumed>) = 0 [pid 5103] close(3 [pid 5250] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] <... close resumed>) = 0 [ 124.899286][ T5249] loop3: detected capacity change from 0 to 1024 [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5251] <... set_robust_list resumed>) = 0 [pid 5250] <... openat resumed>) = 3 [pid 5101] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] close(3 [pid 5251] chdir("./24" [pid 5101] <... close resumed>) = 0 [pid 5250] write(3, "1000", 4 [pid 5101] rmdir("./22" [pid 5251] <... chdir resumed>) = 0 [pid 5101] <... rmdir resumed>) = 0 [pid 5251] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5250] <... write resumed>) = 4 [pid 5101] mkdir("./23", 0777 [pid 5251] <... prctl resumed>) = 0 [pid 5250] close(3 [pid 5101] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5252 attached [pid 5250] <... close resumed>) = 0 [pid 5248] <... close resumed>) = 0 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5252 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5252] set_robust_list(0x55556fbaa660, 24 [pid 5251] setpgid(0, 0) = 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5250] symlink("/dev/binderfs", "./binderfs" [pid 5252] <... set_robust_list resumed>) = 0 [pid 5251] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5252] chdir("./23" [pid 5250] <... symlink resumed>) = 0 executing program [pid 5250] write(1, "executing program\n", 18) = 18 [pid 5252] <... chdir resumed>) = 0 [pid 5251] <... openat resumed>) = 3 [pid 5249] <... mount resumed>) = 0 [pid 5248] exit_group(0 [pid 5252] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5249] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5251] write(3, "1000", 4 [pid 5250] memfd_create("syzkaller", 0 [pid 5248] <... exit_group resumed>) = ? [pid 5249] <... openat resumed>) = 3 [pid 5249] chdir("./file1") = 0 [pid 5251] <... write resumed>) = 4 [pid 5250] <... memfd_create resumed>) = 3 [pid 5252] <... prctl resumed>) = 0 [pid 5251] close(3 [pid 5250] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5249] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5249] truncate("./file1", 0 [pid 5252] setpgid(0, 0) = 0 [pid 5251] <... close resumed>) = 0 [pid 5252] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5251] symlink("/dev/binderfs", "./binderfs" [pid 5250] <... mmap resumed>) = 0x7f8438200000 [pid 5252] <... openat resumed>) = 3 [pid 5251] <... symlink resumed>) = 0 [pid 5249] <... truncate resumed>) = 0 [pid 5249] memfd_create("syzkaller", 0) = 4 [pid 5249] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5251] write(1, "executing program\n", 18executing program [pid 5252] write(3, "1000", 4 [pid 5251] <... write resumed>) = 18 [pid 5250] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5248] +++ exited with 0 +++ [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5248, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5251] memfd_create("syzkaller", 0 [pid 5252] <... write resumed>) = 4 [pid 5251] <... memfd_create resumed>) = 3 [pid 5097] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5252] close(3 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5252] <... close resumed>) = 0 [pid 5097] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5252] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5097] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5251] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5251] <... mmap resumed>) = 0x7f8438200000 [pid 5097] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5097] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5249] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5252] write(1, "executing program\n", 18) = 18 [pid 5252] memfd_create("syzkaller", 0) = 3 [pid 5252] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] <... ioctl resumed>) = 0 [pid 5252] <... mmap resumed>) = 0x7f8438200000 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5252] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] unlink("./24/binderfs") = 0 [pid 5251] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5251] <... write resumed>) = 524288 [pid 5250] <... write resumed>) = 524288 [pid 5101] close(3 [pid 5249] <... write resumed>) = 524288 [pid 5251] munmap(0x7f8438200000, 138412032 [pid 5250] munmap(0x7f8438200000, 138412032 [pid 5249] munmap(0x7f8438200000, 138412032 [pid 5101] <... close resumed>) = 0 [pid 5097] <... umount2 resumed>) = 0 [pid 5097] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5252] <... write resumed>) = 524288 [pid 5250] <... munmap resumed>) = 0 [pid 5249] <... munmap resumed>) = 0 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5252] munmap(0x7f8438200000, 138412032 [pid 5097] newfstatat(AT_FDCWD, "./24/file1", [pid 5252] <... munmap resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5097] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5249] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5252] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5250] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5249] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5097] openat(AT_FDCWD, "./24/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY./strace-static-x86_64: Process 5253 attached [pid 5252] <... openat resumed>) = 4 [pid 5250] <... openat resumed>) = 4 [pid 5249] close(4 [pid 5253] set_robust_list(0x55556fbaa660, 24 [pid 5252] ioctl(4, LOOP_SET_FD, 3 [pid 5251] <... munmap resumed>) = 0 [pid 5250] ioctl(4, LOOP_SET_FD, 3 [pid 5249] <... close resumed>) = 0 [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5253 [pid 5097] <... openat resumed>) = 4 [pid 5253] <... set_robust_list resumed>) = 0 [pid 5252] <... ioctl resumed>) = 0 [pid 5097] newfstatat(4, "", [pid 5251] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5253] chdir("./23" [pid 5251] <... openat resumed>) = 4 [pid 5250] <... ioctl resumed>) = 0 [pid 5249] exit_group(0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5251] ioctl(4, LOOP_SET_FD, 3 [pid 5097] getdents64(4, [pid 5253] <... chdir resumed>) = 0 [pid 5251] <... ioctl resumed>) = 0 [pid 5250] close(3 [pid 5249] <... exit_group resumed>) = ? [pid 5252] close(3 [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5253] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5253] setpgid(0, 0) = 0 [pid 5253] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5253] write(3, "1000", 4 [pid 5249] +++ exited with 0 +++ [pid 5253] <... write resumed>) = 4 [pid 5252] <... close resumed>) = 0 [pid 5250] <... close resumed>) = 0 [pid 5097] getdents64(4, [pid 5251] close(3 [pid 5253] close(3 [pid 5252] close(4 [pid 5251] <... close resumed>) = 0 [pid 5250] close(4 [pid 5100] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5249, si_uid=0, si_status=0, si_utime=0, si_stime=7 /* 0.07 s */} --- [pid 5097] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5253] <... close resumed>) = 0 [pid 5252] <... close resumed>) = 0 [pid 5251] close(4 [pid 5100] umount2("./22", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5253] symlink("/dev/binderfs", "./binderfs" [pid 5252] mkdir("./file1", 0777 [pid 5251] <... close resumed>) = 0 [pid 5250] <... close resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] close(4 [pid 5253] <... symlink resumed>) = 0 [pid 5252] <... mkdir resumed>) = 0 [pid 5251] mkdir("./file1", 0777 [pid 5250] mkdir("./file1", 0777 [pid 5100] openat(AT_FDCWD, "./22", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORYexecuting program [pid 5097] <... close resumed>) = 0 [pid 5253] write(1, "executing program\n", 18 [pid 5252] mount("/dev/loop5", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5251] <... mkdir resumed>) = 0 [pid 5250] <... mkdir resumed>) = 0 [pid 5100] <... openat resumed>) = 3 [pid 5097] rmdir("./24/file1" [pid 5253] <... write resumed>) = 18 [pid 5251] mount("/dev/loop1", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5250] mount("/dev/loop2", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5097] <... rmdir resumed>) = 0 [pid 5100] newfstatat(3, "", [pid 5097] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5253] memfd_create("syzkaller", 0 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5097] close(3 [pid 5253] <... memfd_create resumed>) = 3 [pid 5100] getdents64(3, [pid 5097] <... close resumed>) = 0 [ 125.113010][ T5252] loop5: detected capacity change from 0 to 1024 [ 125.113093][ T5250] loop2: detected capacity change from 0 to 1024 [ 125.130413][ T5251] loop1: detected capacity change from 0 to 1024 [pid 5253] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5097] rmdir("./24" [pid 5253] <... mmap resumed>) = 0x7f8438200000 [pid 5100] umount2("./22/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... rmdir resumed>) = 0 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5097] mkdir("./25", 0777 [pid 5100] newfstatat(AT_FDCWD, "./22/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5100] unlink("./22/binderfs" [pid 5097] <... mkdir resumed>) = 0 [pid 5100] <... unlink resumed>) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5100] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... openat resumed>) = 3 [pid 5253] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] ioctl(3, LOOP_CLR_FD [pid 5250] <... mount resumed>) = 0 [pid 5250] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5251] <... mount resumed>) = 0 [pid 5250] <... openat resumed>) = 3 [pid 5250] chdir("./file1" [pid 5252] <... mount resumed>) = 0 [pid 5251] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5250] <... chdir resumed>) = 0 [pid 5250] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5100] <... umount2 resumed>) = 0 [pid 5250] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5252] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5251] <... openat resumed>) = 3 [pid 5252] <... openat resumed>) = 3 [pid 5251] chdir("./file1" [pid 5252] chdir("./file1" [pid 5251] <... chdir resumed>) = 0 [pid 5252] <... chdir resumed>) = 0 [pid 5251] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5252] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5251] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5253] <... write resumed>) = 524288 [pid 5252] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5251] truncate("./file1", 0 [pid 5250] truncate("./file1", 0 [pid 5253] munmap(0x7f8438200000, 138412032 [pid 5252] truncate("./file1", 0 [pid 5100] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5253] <... munmap resumed>) = 0 [pid 5250] <... truncate resumed>) = 0 [pid 5100] newfstatat(AT_FDCWD, "./22/file1", [pid 5250] memfd_create("syzkaller", 0 [pid 5253] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5251] <... truncate resumed>) = 0 [pid 5250] <... memfd_create resumed>) = 4 [pid 5100] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5253] <... openat resumed>) = 4 [pid 5251] memfd_create("syzkaller", 0 [pid 5252] <... truncate resumed>) = 0 [pid 5253] ioctl(4, LOOP_SET_FD, 3 [pid 5251] <... memfd_create resumed>) = 4 [pid 5252] memfd_create("syzkaller", 0 [pid 5250] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] umount2("./22/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5097] <... ioctl resumed>) = 0 [pid 5252] <... memfd_create resumed>) = 4 [pid 5251] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5250] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5250] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] openat(AT_FDCWD, "./22/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5252] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5100] <... openat resumed>) = 4 [pid 5100] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5100] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5100] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5100] close(4 [pid 5252] <... mmap resumed>) = 0x7f8438200000 [pid 5100] <... close resumed>) = 0 [pid 5100] rmdir("./22/file1" [pid 5251] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5100] <... rmdir resumed>) = 0 [pid 5100] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5100] close(3) = 0 [pid 5253] <... ioctl resumed>) = 0 [pid 5252] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5097] close(3 [pid 5253] close(3) = 0 [pid 5097] <... close resumed>) = 0 [pid 5100] rmdir("./22") = 0 [pid 5251] <... write resumed>) = 524288 [pid 5097] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5253] close(4) = 0 [pid 5253] mkdir("./file1", 0777 [pid 5100] mkdir("./23", 0777) = 0 [pid 5100] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [ 125.250621][ T5253] loop4: detected capacity change from 0 to 1024 [pid 5100] ioctl(3, LOOP_CLR_FD [pid 5253] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 5254 attached [pid 5254] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5253] mount("/dev/loop4", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5252] <... write resumed>) = 524288 [pid 5251] munmap(0x7f8438200000, 138412032 [pid 5250] <... write resumed>) = 524288 [pid 5097] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5254 [pid 5251] <... munmap resumed>) = 0 [pid 5254] chdir("./25" [pid 5250] munmap(0x7f8438200000, 138412032 [pid 5254] <... chdir resumed>) = 0 [pid 5250] <... munmap resumed>) = 0 [pid 5254] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5254] setpgid(0, 0) = 0 [pid 5251] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5254] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5250] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5250] close(4 [pid 5251] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5254] <... openat resumed>) = 3 [pid 5254] write(3, "1000", 4) = 4 [pid 5254] close(3 [pid 5251] close(4 [pid 5254] <... close resumed>) = 0 [pid 5254] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5254] write(1, "executing program\n", 18) = 18 [pid 5254] memfd_create("syzkaller", 0) = 3 [pid 5254] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8438200000 [pid 5253] <... mount resumed>) = 0 [pid 5251] <... close resumed>) = 0 [pid 5250] <... close resumed>) = 0 [pid 5253] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5252] munmap(0x7f8438200000, 138412032 [pid 5251] exit_group(0 [pid 5254] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5253] <... openat resumed>) = 3 [pid 5252] <... munmap resumed>) = 0 [pid 5251] <... exit_group resumed>) = ? [pid 5253] chdir("./file1") = 0 [pid 5250] exit_group(0 [pid 5253] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5250] <... exit_group resumed>) = ? [pid 5253] truncate("./file1", 0) = 0 [pid 5250] +++ exited with 0 +++ [pid 5253] memfd_create("syzkaller", 0) = 4 [pid 5252] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5251] +++ exited with 0 +++ [pid 5099] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5250, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5253] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5252] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5252] close(4 [pid 5100] <... ioctl resumed>) = 0 [pid 5098] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5251, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5253] <... mmap resumed>) = 0x7f8438200000 [pid 5098] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5099] umount2("./24", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] openat(AT_FDCWD, "./24", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5098] <... openat resumed>) = 3 [pid 5099] <... openat resumed>) = 3 [pid 5098] newfstatat(3, "", [pid 5099] newfstatat(3, "", [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] getdents64(3, 0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5253] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5099] getdents64(3, [pid 5252] <... close resumed>) = 0 [pid 5100] close(3 [pid 5098] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5254] <... write resumed>) = 524288 [pid 5100] <... close resumed>) = 0 [pid 5099] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5100] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5099] umount2("./24/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] newfstatat(AT_FDCWD, "./24/binderfs", [pid 5098] unlink("./24/binderfs" [pid 5099] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5098] <... unlink resumed>) = 0 [pid 5099] unlink("./24/binderfs" [pid 5098] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5252] exit_group(0 [pid 5099] <... unlink resumed>) = 0 [pid 5252] <... exit_group resumed>) = ? [pid 5099] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 5255 attached [pid 5100] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5255 [pid 5255] set_robust_list(0x55556fbaa660, 24 [pid 5254] munmap(0x7f8438200000, 138412032 [pid 5255] <... set_robust_list resumed>) = 0 [pid 5255] chdir("./23" [pid 5254] <... munmap resumed>) = 0 [pid 5252] +++ exited with 0 +++ [pid 5103] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5252, si_uid=0, si_status=0, si_utime=0, si_stime=5 /* 0.05 s */} --- [pid 5255] <... chdir resumed>) = 0 [pid 5103] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5255] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5255] <... prctl resumed>) = 0 [pid 5103] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5255] setpgid(0, 0 [pid 5254] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5103] <... openat resumed>) = 3 [pid 5103] newfstatat(3, "", [pid 5098] <... umount2 resumed>) = 0 [pid 5255] <... setpgid resumed>) = 0 [pid 5254] <... openat resumed>) = 4 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5255] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5103] getdents64(3, [pid 5255] <... openat resumed>) = 3 [pid 5254] ioctl(4, LOOP_SET_FD, 3 [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5254] <... ioctl resumed>) = 0 [pid 5103] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5255] write(3, "1000", 4 [pid 5253] <... write resumed>) = 524288 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... umount2 resumed>) = 0 [pid 5098] newfstatat(AT_FDCWD, "./24/file1", [pid 5253] munmap(0x7f8438200000, 138412032 [pid 5103] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5255] <... write resumed>) = 4 [pid 5099] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5255] close(3 [pid 5103] unlink("./23/binderfs" [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5255] <... close resumed>) = 0 [pid 5099] newfstatat(AT_FDCWD, "./24/file1", [pid 5255] symlink("/dev/binderfs", "./binderfs" [pid 5103] <... unlink resumed>) = 0 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5253] <... munmap resumed>) = 0 [pid 5103] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5253] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5255] <... symlink resumed>) = 0 [pid 5253] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5099] umount2("./24/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5098] openat(AT_FDCWD, "./24/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5253] close(4executing program [pid 5255] write(1, "executing program\n", 18 [pid 5099] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5255] <... write resumed>) = 18 [pid 5099] openat(AT_FDCWD, "./24/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5255] memfd_create("syzkaller", 0 [pid 5099] <... openat resumed>) = 4 [pid 5098] <... openat resumed>) = 4 [pid 5099] newfstatat(4, "", [pid 5098] newfstatat(4, "", [pid 5255] <... memfd_create resumed>) = 3 [pid 5099] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5255] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5099] getdents64(4, [pid 5255] <... mmap resumed>) = 0x7f8438200000 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5255] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5254] close(3 [pid 5103] <... umount2 resumed>) = 0 [pid 5099] getdents64(4, [pid 5098] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5099] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5099] close(4 [pid 5098] getdents64(4, [pid 5099] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5098] getdents64(4, [pid 5254] <... close resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5254] close(4 [pid 5103] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(4 [pid 5254] <... close resumed>) = 0 [pid 5099] rmdir("./24/file1" [pid 5098] <... close resumed>) = 0 [pid 5099] <... rmdir resumed>) = 0 [pid 5098] rmdir("./24/file1" [pid 5099] getdents64(3, 0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5099] close(3) = 0 [pid 5099] rmdir("./24" [ 125.473851][ T5254] loop0: detected capacity change from 0 to 1024 [pid 5254] mkdir("./file1", 0777 [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5099] <... rmdir resumed>) = 0 [pid 5098] <... rmdir resumed>) = 0 [pid 5254] <... mkdir resumed>) = 0 [pid 5253] <... close resumed>) = 0 [pid 5103] newfstatat(AT_FDCWD, "./23/file1", [pid 5099] mkdir("./25", 0777 [pid 5098] getdents64(3, [pid 5253] exit_group(0 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5099] <... mkdir resumed>) = 0 [pid 5098] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5254] mount("/dev/loop0", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5253] <... exit_group resumed>) = ? [pid 5103] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5098] close(3 [pid 5099] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5098] <... close resumed>) = 0 [pid 5098] rmdir("./24" [pid 5103] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5103] openat(AT_FDCWD, "./23/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5099] <... openat resumed>) = 3 [pid 5098] <... rmdir resumed>) = 0 [pid 5099] ioctl(3, LOOP_CLR_FD [pid 5103] <... openat resumed>) = 4 [pid 5098] mkdir("./25", 0777 [pid 5103] newfstatat(4, "", [pid 5255] <... write resumed>) = 524288 [pid 5103] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5098] <... mkdir resumed>) = 0 [pid 5103] getdents64(4, [pid 5255] munmap(0x7f8438200000, 138412032) = 0 [pid 5254] <... mount resumed>) = 0 [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5103] getdents64(4, [pid 5254] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5103] <... getdents64 resumed>0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5253] +++ exited with 0 +++ [pid 5098] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5254] <... openat resumed>) = 3 [pid 5103] close(4 [pid 5101] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5253, si_uid=0, si_status=0, si_utime=0, si_stime=11 /* 0.11 s */} --- [pid 5098] <... openat resumed>) = 3 [pid 5255] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5254] chdir("./file1" [pid 5103] <... close resumed>) = 0 [pid 5098] ioctl(3, LOOP_CLR_FD [pid 5255] <... openat resumed>) = 4 [pid 5254] <... chdir resumed>) = 0 [pid 5103] rmdir("./23/file1" [pid 5255] ioctl(4, LOOP_SET_FD, 3 [pid 5254] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5255] <... ioctl resumed>) = 0 [pid 5254] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5103] <... rmdir resumed>) = 0 [pid 5254] truncate("./file1", 0 [pid 5103] getdents64(3, [pid 5101] umount2("./23", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5103] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5101] openat(AT_FDCWD, "./23", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5254] <... truncate resumed>) = 0 [pid 5103] close(3 [pid 5101] <... openat resumed>) = 3 [pid 5254] memfd_create("syzkaller", 0 [pid 5103] <... close resumed>) = 0 [pid 5254] <... memfd_create resumed>) = 4 [pid 5103] rmdir("./23" [pid 5101] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(3, [pid 5103] <... rmdir resumed>) = 0 [pid 5254] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5103] mkdir("./24", 0777 [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5103] <... mkdir resumed>) = 0 [pid 5101] umount2("./23/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5254] <... mmap resumed>) = 0x7f8438200000 [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5254] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5103] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5099] <... ioctl resumed>) = 0 [pid 5101] newfstatat(AT_FDCWD, "./23/binderfs", [pid 5103] <... openat resumed>) = 3 [pid 5103] ioctl(3, LOOP_CLR_FD [pid 5101] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5101] unlink("./23/binderfs") = 0 [pid 5101] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5255] close(3) = 0 [pid 5255] close(4) = 0 [pid 5255] mkdir("./file1", 0777 [pid 5099] close(3 [pid 5255] <... mkdir resumed>) = 0 [pid 5099] <... close resumed>) = 0 [pid 5099] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5255] mount("/dev/loop3", "./file1", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "" [pid 5099] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5256 [ 125.573422][ T5255] loop3: detected capacity change from 0 to 1024 [pid 5101] <... umount2 resumed>) = 0 [pid 5098] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5256 attached [pid 5255] <... mount resumed>) = 0 [pid 5254] <... write resumed>) = 524288 [pid 5101] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5101] newfstatat(AT_FDCWD, "./23/file1", [pid 5255] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY [pid 5101] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5255] <... openat resumed>) = 3 [pid 5101] umount2("./23/file1", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5255] chdir("./file1" [pid 5101] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5255] <... chdir resumed>) = 0 [pid 5101] openat(AT_FDCWD, "./23/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5101] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5101] getdents64(4, 0x55556fbb3730 /* 2 entries */, 32768) = 48 [pid 5101] getdents64(4, 0x55556fbb3730 /* 0 entries */, 32768) = 0 [pid 5101] close(4) = 0 [pid 5101] rmdir("./23/file1" [pid 5255] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5101] <... rmdir resumed>) = 0 [pid 5256] set_robust_list(0x55556fbaa660, 24 [pid 5255] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5255] truncate("./file1", 0 [pid 5256] <... set_robust_list resumed>) = 0 [pid 5103] <... ioctl resumed>) = 0 [pid 5101] getdents64(3, [pid 5256] chdir("./25" [pid 5101] <... getdents64 resumed>0x55556fbab6f0 /* 0 entries */, 32768) = 0 [pid 5256] <... chdir resumed>) = 0 [pid 5254] munmap(0x7f8438200000, 138412032 [pid 5101] close(3) = 0 [pid 5101] rmdir("./23") = 0 [pid 5101] mkdir("./24", 0777) = 0 [pid 5256] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5254] <... munmap resumed>) = 0 [pid 5098] close(3) = 0 [pid 5256] <... prctl resumed>) = 0 [pid 5254] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5098] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5256] setpgid(0, 0) = 0 [pid 5255] <... truncate resumed>) = 0 [pid 5256] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5255] memfd_create("syzkaller", 0 [pid 5101] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5255] <... memfd_create resumed>) = 4 [pid 5254] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5101] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5257 attached [pid 5257] set_robust_list(0x55556fbaa660, 24 [pid 5256] <... openat resumed>) = 3 [pid 5254] close(4 [pid 5103] close(3 [pid 5098] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5257 [pid 5256] write(3, "1000", 4) = 4 [pid 5257] <... set_robust_list resumed>) = 0 [pid 5255] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5101] ioctl(3, LOOP_CLR_FD [pid 5257] chdir("./25" [pid 5256] close(3 [pid 5255] <... mmap resumed>) = 0x7f8438200000 [pid 5103] <... close resumed>) = 0 [pid 5255] write(4, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5256] <... close resumed>) = 0 [pid 5257] <... chdir resumed>) = 0 [pid 5257] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5256] symlink("/dev/binderfs", "./binderfs" [pid 5103] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5254] <... close resumed>) = 0 [pid 5257] setpgid(0, 0) = 0 [pid 5257] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5256] <... symlink resumed>) = 0 [pid 5254] exit_group(0) = ? [pid 5257] <... openat resumed>) = 3 [pid 5257] write(3, "1000", 4) = 4 [pid 5257] close(3./strace-static-x86_64: Process 5258 attached ) = 0 [pid 5254] +++ exited with 0 +++ executing program [pid 5258] set_robust_list(0x55556fbaa660, 24 [pid 5256] write(1, "executing program\n", 18 [pid 5255] <... write resumed>) = 524288 [pid 5103] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5258 [pid 5097] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5254, si_uid=0, si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} --- [pid 5258] <... set_robust_list resumed>) = 0 [pid 5256] <... write resumed>) = 18 [pid 5258] chdir("./24" [pid 5257] symlink("/dev/binderfs", "./binderfs" [pid 5256] memfd_create("syzkaller", 0 [pid 5258] <... chdir resumed>) = 0 [pid 5258] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5257] <... symlink resumed>) = 0 [pid 5256] <... memfd_create resumed>) = 3 [pid 5258] <... prctl resumed>) = 0 [pid 5256] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5097] umount2("./25", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5258] setpgid(0, 0) = 0 [pid 5257] write(1, "executing program\n", 18executing program [pid 5256] <... mmap resumed>) = 0x7f8438200000 [pid 5255] munmap(0x7f8438200000, 138412032 [pid 5101] <... ioctl resumed>) = 0 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5258] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5097] openat(AT_FDCWD, "./25", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5258] <... openat resumed>) = 3 [pid 5257] <... write resumed>) = 18 [pid 5255] <... munmap resumed>) = 0 [pid 5097] <... openat resumed>) = 3 [pid 5257] memfd_create("syzkaller", 0 [pid 5255] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5257] <... memfd_create resumed>) = 3 [pid 5255] <... openat resumed>) = -1 EBUSY (Device or resource busy) [pid 5257] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5255] close(4 [pid 5257] <... mmap resumed>) = 0x7f8438200000 [pid 5097] newfstatat(3, "", [pid 5258] write(3, "1000", 4 [pid 5257] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5258] <... write resumed>) = 4 [pid 5097] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5258] close(3) = 0 [pid 5101] close(3 [pid 5097] getdents64(3, [pid 5258] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5101] <... close resumed>) = 0 [pid 5097] <... getdents64 resumed>0x55556fbab6f0 /* 4 entries */, 32768) = 112 [pid 5258] write(1, "executing program\n", 18 [pid 5097] umount2("./25/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5258] <... write resumed>) = 18 [pid 5097] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5258] memfd_create("syzkaller", 0 [pid 5256] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 524288 [pid 5101] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5097] newfstatat(AT_FDCWD, "./25/binderfs", ./strace-static-x86_64: Process 5259 attached [pid 5258] <... memfd_create resumed>) = 3 [pid 5255] <... close resumed>) = 0 [pid 5097] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5259] set_robust_list(0x55556fbaa660, 24) = 0 [pid 5259] chdir("./24" [pid 5101] <... clone resumed>, child_tidptr=0x55556fbaa650) = 5259 [pid 5259] <... chdir resumed>) = 0 [pid 5257] <... write resumed>) = 524288 [pid 5259] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5258] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5256] <... write resumed>) = 524288 [pid 5255] exit_group(0 [pid 5097] unlink("./25/binderfs" [pid 5259] <... prctl resumed>) = 0 [pid 5258] <... mmap resumed>) = 0x7f8438200000 [pid 5257] munmap(0x7f8438200000, 138412032 [pid 5256] munmap(0x7f8438200000, 138412032 [pid 5255] <... exit_group resumed>) = ? [pid 5259] setpgid(0, 0 [pid 5256] <... munmap resumed>) = 0 [pid 5259] <... setpgid resumed>) = 0 [pid 5097] <... unlink resumed>) = 0 [pid 5259] openat(AT